aboutsummaryrefslogtreecommitdiff
path: root/Common/i3
diff options
context:
space:
mode:
authorjakob.stendahl <jakob.stendahl@infomedia.dk>2023-01-11 12:20:00 +0100
committerjakob.stendahl <jakob.stendahl@infomedia.dk>2023-01-11 12:20:00 +0100
commit763df8e9d428422d7db6fe157dd8f14656aba6e2 (patch)
tree987e8f41252a4caf67802598d172ebfcc8de0a4c /Common/i3
parent2c9ca86b6a834e1be66678eee78246f8339b3e73 (diff)
downloaddotfiles-763df8e9d428422d7db6fe157dd8f14656aba6e2.tar.gz
dotfiles-763df8e9d428422d7db6fe157dd8f14656aba6e2.zip
Add some convenience functions
Diffstat (limited to 'Common/i3')
-rw-r--r--Common/i3/config/i3/config8
1 files changed, 7 insertions, 1 deletions
diff --git a/Common/i3/config/i3/config b/Common/i3/config/i3/config
index 552c5dc..1b04fc2 100644
--- a/Common/i3/config/i3/config
+++ b/Common/i3/config/i3/config
@@ -115,7 +115,7 @@ bindsym $super+Shift+r restart
#bindsym $super+l exec i3lock -f -c 63bfb6 #-i /home/jakob/.lockscreen.png
bindsym $super+l exec dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock
bindsym $super+Shift+e exec "i3-nagbar -t warning -m 'Really, exit?' -b 'Yes' 'i3-msg exit'"
-bindsym $super+p exec --no-startup-id ~/.config/rofi/bin/applet_powermenu
+bindsym $super+p exec --no-startup-id /home/jakob/.config/rofi/bin/applet_powermenu
# resize window (you can also use the mouse for that)
mode "resize" {
@@ -188,3 +188,9 @@ bindsym XF86MonBrightnessDown exec --no-startup-id "/home/jakob/bin/brightness-p
bindsym XF86Display exec --no-startup-id "arandr"
bindsym Print exec --no-startup-id "gnome-screenshot --interactive"
bindsym XF86Favorites exec --no-startup-id "kill -s USR1 $(pidof deadd-notification-center)"
+
+# Keybinds for switching keyboard layout
+#bindsym $super+Shift+F1 exec setxkbmap -layout no; notify-send.py "Keyboard layout NO"
+#bindsym $super+Shift+F2 exec setxkbmap -layout gb; notify-send.py "Keyboard layout EN"
+bindsym $super+Shift+F1 exec "/home/jakob/bin/kblayout.sh no"
+bindsym $super+Shift+F2 exec "/home/jakob/bin/kblayout.sh us"