diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-05-21 22:57:31 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-05-21 22:57:31 +0200 |
commit | 66df2b324ab48c4257d5bf32df47c0cc0feec1ff (patch) | |
tree | 5d69526a3c4b590bb69d63b9158cbe28a1f7cea5 /root | |
parent | c: touchpad disable, mod+v paste, iris video card (diff) | |
download | n-66df2b324ab48c4257d5bf32df47c0cc0feec1ff.tar n-66df2b324ab48c4257d5bf32df47c0cc0feec1ff.tar.gz n-66df2b324ab48c4257d5bf32df47c0cc0feec1ff.tar.bz2 n-66df2b324ab48c4257d5bf32df47c0cc0feec1ff.tar.lz n-66df2b324ab48c4257d5bf32df47c0cc0feec1ff.tar.xz n-66df2b324ab48c4257d5bf32df47c0cc0feec1ff.tar.zst n-66df2b324ab48c4257d5bf32df47c0cc0feec1ff.zip |
Diffstat (limited to 'root')
-rw-r--r-- | root/.bash_aliases | 4 | ||||
-rw-r--r-- | root/.config/i3/config | 4 | ||||
-rwxr-xr-x | root/.xprofile | 3 |
3 files changed, 9 insertions, 2 deletions
diff --git a/root/.bash_aliases b/root/.bash_aliases index 7ce1390..eefa6c3 100644 --- a/root/.bash_aliases +++ b/root/.bash_aliases @@ -43,3 +43,7 @@ export EDITOR=/usr/bin/vim ulimit -c unlimited # core dumps alias pi="python3 -m pip install --user --break-system-packages" alias pu="python3 -m pip uninstall --break-system-packages" +if [ `id -u` -eq 0 ] +then + alias binwalk="binwalk --run-as=root" +fi diff --git a/root/.config/i3/config b/root/.config/i3/config index fe2951f..23bdba2 100644 --- a/root/.config/i3/config +++ b/root/.config/i3/config @@ -184,7 +184,7 @@ bindsym $mod+c [title="cargova"] focus bindsym --release $mod+v exec --no-startup-id xdotool key "Shift+Insert" bindsym $mod+b [title="rowser"] focus bindsym $mod+n [title="/projects"] focus -bindsym $mod+m [title="laws"] focus +bindsym $mod+m exec --no-startup-id echo 'k=$(((`xinput list-props 13 | grep Enabled | cut -f3`+1)%2)) && xinput set-prop 13 "Device Enabled" $k && echo $k > /sys/class/leds/input4\:\:capslock/brightness' | sh # barve border background text indicator child_border client.focused #ee3333 #000000 #ffffff #33ee33 #ee3333 @@ -192,3 +192,5 @@ client.focused #ee3333 #000000 #ffffff #33ee33 #ee3333 # marke bindsym $mod+dstroke mark sex bindsym $mod+p [con_mark="sex"] focus + +# bindcode --release 66 exec --no-startup-id "xdotool key Escape" diff --git a/root/.xprofile b/root/.xprofile index 1e03031..f6002fb 100755 --- a/root/.xprofile +++ b/root/.xprofile @@ -6,4 +6,5 @@ xkbcomp -I/root/xkb ~/xkb/map $DISPLAY xmodmap ~/.Xmodmap xrdb ~/.Xresources pulseaudio & -[ `hostname` = c ] && xinput set-prop 13 "Device Enabled" 0 +# [ `hostname` = c ] && ~/projects/r/prog/miška/a.out /dev/input/event3 'k=$(((`xinput list-props 13 | grep Enabled | cut -f3`+1)%2)); xinput set-prop 13 "Device Enabled" $k && echo $k > /sys/class/leds/input4\:\:capslock/brightness' & +# disown |