summaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
Diffstat (limited to 'root')
-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