summaryrefslogtreecommitdiffstats
path: root/root/.config
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-07-26 01:12:47 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2023-07-26 01:12:47 +0200
commit54395d75904f4dba505e847a745c0dd89c930189 (patch)
treef2e580ae6388164a5d33030b5f9302a21ff992f7 /root/.config
parentMerge branch 'master' of ssh://ni/var/lib/git/sijanec/n (diff)
downloadn-54395d75904f4dba505e847a745c0dd89c930189.tar
n-54395d75904f4dba505e847a745c0dd89c930189.tar.gz
n-54395d75904f4dba505e847a745c0dd89c930189.tar.bz2
n-54395d75904f4dba505e847a745c0dd89c930189.tar.lz
n-54395d75904f4dba505e847a745c0dd89c930189.tar.xz
n-54395d75904f4dba505e847a745c0dd89c930189.tar.zst
n-54395d75904f4dba505e847a745c0dd89c930189.zip
Diffstat (limited to '')
-rw-r--r--root/.config/i3/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/root/.config/i3/config b/root/.config/i3/config
index c070958..1841736 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 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
+bindsym $mod+m exec --no-startup-id echo 'p=`xinput | grep SYNA | cut -f2 | cut -d= -f2 | head -n2 | tail -n1` && k=$(((`xinput list-props $p | grep Enabled | cut -f3`+1)%2)) && xinput set-prop $p "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