diff options
Diffstat (limited to 'SystemdGraphicalSession/i3config')
-rw-r--r-- | SystemdGraphicalSession/i3config | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/SystemdGraphicalSession/i3config b/SystemdGraphicalSession/i3config new file mode 100644 index 0000000..447f9a5 --- /dev/null +++ b/SystemdGraphicalSession/i3config @@ -0,0 +1,72 @@ +set $mod Mod4 +font pango:monospace 18 +hide_edge_borders smart +floating_modifier $mod +bindsym $mod+Shift+q kill +bindsym $mod+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l focus right +bindsym $mod+Shift+h move left +bindsym $mod+Shift+j move down +bindsym $mod+Shift+k move up +bindsym $mod+Shift+l move right +bindsym $mod+Shift+f fullscreen toggle +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split +bindsym $mod+Shift+c reload +bindsym $mod+Shift+r restart +bindsym $mod+Shift+space floating toggle +set $refresh_i3status killall -SIGUSR1 i3status +set $ws1 "1" +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" +set $ws6 "6" +set $ws7 "7" +set $ws8 "8" +set $ws9 "9" +set $ws10 "10" +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 +bindsym $mod+6 workspace number $ws6 +bindsym $mod+7 workspace number $ws7 +bindsym $mod+8 workspace number $ws8 +bindsym $mod+9 workspace number $ws9 +bindsym $mod+0 workspace number $ws10 +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 +bindsym $mod+Shift+6 move container to workspace number $ws6 +bindsym $mod+Shift+7 move container to workspace number $ws7 +bindsym $mod+Shift+8 move container to workspace number $ws8 +bindsym $mod+Shift+9 move container to workspace number $ws9 +bindsym $mod+Shift+0 move container to workspace number $ws10 +bar { + status_command i3status + font pango:Icons 10 +} +bindsym $mod+x [urgent=latest] focus +set $Locker systemctl --user start i3lock +set $mode_system System (l) lock, (Shift+e) logout, (Shift+s) suspend, (Shift+h) hibernate, (Ctrl+Shift+r) reboot, (Ctrl+Shift+s) shutdown +mode "$mode_system" { + bindsym l exec --no-startup-id $Locker, mode "default" + bindsym Shift+e exec --no-startup-id systemctl --user stop graphical-session.target + bindsym Shift+s exec --no-startup-id $Locker && systemctl suspend, mode "default" + bindsym Shift+h exec --no-startup-id $Locker && systemctl hibernate, mode "default" + bindsym Control+Shift+r exec --no-startup-id systemctl reboot, mode "default" + bindsym Control+Shift+s exec --no-startup-id systemctl poweroff -i, mode "default" + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" +} + +bindsym Control+Mod1+Delete mode "$mode_system" |