Skip to content

Instantly share code, notes, and snippets.

@passkeykz
Created September 10, 2015 04:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save passkeykz/35c68128ad701e7ccb7d to your computer and use it in GitHub Desktop.
Save passkeykz/35c68128ad701e7ccb7d to your computer and use it in GitHub Desktop.
#sudo nano ~/.i3/config
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (p) shutdown
mode "$mode_system" {
bindsym l exec --no-startup-id i3lock -i ~/Downloads/Animals_Cats_Cat_in_the_glasses.png, mode "default"
bindsym e exec --no-startup-id i3-msg exit, mode "default"
bindsym s exec --no-startup-id systemctl suspend, mode "default"
bindsym h exec --no-startup-id systemctl hibernate, mode "default"
bindsym r exec --no-startup-id systemctl reboot, mode "default"
bindsym p exec --no-startup-id systemctl poweroff, mode "default"
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+Pause mode "$mode_system"
exec --no-startup-id sudo ethtool -s eno1 wol d
exec --no-startup-id setxkbmap -layout "us,ru" -variant "winkeys" -option "grp:caps_toggle,grp_led:caps"
exec --no-startup-id feh --bg-fill ~/Downloads/Animals_Cats_Cat_in_the_glasses.png
exec --no-startup-id litetran
exec --no-startup-id dropbox
workspace 1 output LVDS1
workspace 2 output LVDS1
workspace 3 output LVDS1
workspace 4 output LVDS1
workspace 5 output LVDS1
exec --no-startup-id i3-msg 'workspace 1; exec firefox'
exec --no-startup-id i3-msg 'workspace 2; exec terminator'
exec --no-startup-id i3-msg 'workspace 3; exec subl'
exec --no-startup-id i3-msg 'workspace 4; exec skype'
exec --no-startup-id i3-msg 'workspace 5; exec pidgin'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment