aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-30 15:38:50 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-30 15:38:50 +0100
commit43a6f43141f01486eb1afb02880a6880bb51892b (patch)
tree398102ffccc1dcc11a1d796c9e16d469596a55ca
parent6adc601fa5ce8ab450da10b1c32f989808725037 (diff)
improve keyboard shortcutsHEADmaster
-rwxr-xr-x.config/i3/autostart##template2
-rw-r--r--.config/xbindkeys/main##template2
-rwxr-xr-x.local/share/bin/xbindkeys2
3 files changed, 4 insertions, 2 deletions
diff --git a/.config/i3/autostart##template b/.config/i3/autostart##template
index b5322ef..6b7f908 100755
--- a/.config/i3/autostart##template
+++ b/.config/i3/autostart##template
@@ -10,7 +10,7 @@ xbanish &
dunst &
autocutsel -selection CLIPBOARD &
fcitx5 &
-xbindkeys --file "$XDG_CONFIG_HOME/xbindkeys/main" --nodaemon &
+xbindkeys --nodaemon &
{% if yadm.hostname == "thoncc" %}
xdimmer -t 45 -p 3 &
light-locker --no-late-locking &
diff --git a/.config/xbindkeys/main##template b/.config/xbindkeys/main##template
index 7215ac7..a1b5251 100644
--- a/.config/xbindkeys/main##template
+++ b/.config/xbindkeys/main##template
@@ -4,7 +4,7 @@
Mod4 + b
"rofi -show drun"
Mod4 + space
-"rofi -modes window -show window"
+"rofi -modes window -show window -kb-accept-entry '!Alt-Tab' -kb-row-down 'Alt+Tab' -kb-row-up 'Alt+ISO_Left_Tab'"
Alt + Tab
"st"
Mod4 + Return
diff --git a/.local/share/bin/xbindkeys b/.local/share/bin/xbindkeys
new file mode 100755
index 0000000..03a2c37
--- /dev/null
+++ b/.local/share/bin/xbindkeys
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/xbindkeys --file "$XDG_CONFIG_HOME/xbindkeys/main" "$@"