Skip to content

Commit

Permalink
Updating i3 config with better keyboard layout switching.
Browse files Browse the repository at this point in the history
  • Loading branch information
urosjarc committed Oct 13, 2024
1 parent d64cc69 commit 8859c95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/dotfiles/~_|_.i3_|_config
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ bindsym F7 exec xbacklight -inc 5 -time 0 # increase screen brightness
bindsym F5 exec xbacklight -dec 5 -time 0 # decrease screen brightness

# Exec on mod key
bindsym $mod+space exec setxkbmap -print | awk -F"+" '/xkb_symbols/ {print $2}' | grep -qE us && setxkbmap us && xmodmap ~/.Xmodmap || setxkbmap si && xmodmap ~/.Xmodmap
bindsym $mod+a exec --no-startup-id rofi -show drun -run-command "i3-msg exec '{cmd}'" -show-icons -theme docu
bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Shift+Return exec i3-sensible-terminal -e ranger
Expand Down

0 comments on commit 8859c95

Please sign in to comment.