i3 changes from theba.

This commit is contained in:
Gabriel Ebner 2015-06-03 14:09:39 +02:00
parent df4ecdd275
commit 63945b8173
1 changed files with 15 additions and 1 deletions

View File

@ -122,6 +122,11 @@ bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9 bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10 bindsym $mod+Shift+0 move container to workspace 10
bindsym $mod+Mod1+Left move workspace to output left
bindsym $mod+Mod1+Right move workspace to output right
bindsym $mod+Mod1+h move workspace to output left
bindsym $mod+Mod1+l move workspace to output right
# reload the configuration file # reload the configuration file
bindsym $mod+Shift+c reload bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
@ -129,6 +134,10 @@ bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session) # exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# brightness control
bindsym XF86MonBrightnessDown exec xbacklight -steps 1 -time 0 -dec 5
bindsym XF86MonBrightnessUp exec xbacklight -steps 1 -time 0 -inc 5
# resize window (you can also use the mouse for that) # resize window (you can also use the mouse for that)
mode "resize" { mode "resize" {
# These bindings trigger as soon as you enter the resize mode # These bindings trigger as soon as you enter the resize mode
@ -162,9 +171,14 @@ bar {
font pango:monospace 9 font pango:monospace 9
} }
exec --no-startup-id feh --bg-fill ~/Pictures/20140915-133957-DSC_7414.jpg exec_always --no-startup-id feh --bg-fill ~/Pictures/20140915-133957-DSC_7414.jpg
exec --no-startup-id nm-applet exec --no-startup-id nm-applet
exec --no-startup-id pa-applet exec --no-startup-id pa-applet
bindsym $mod+Ctrl+l exec --no-startup-id ~/etc/lock.sh bindsym $mod+Ctrl+l exec --no-startup-id ~/etc/lock.sh
exec --no-startup-id xautolock -time 5 -locker ~/etc/lock.sh exec --no-startup-id xautolock -time 5 -locker ~/etc/lock.sh
workspace 1 output eDP1
workspace 9 output DP2 # VGA
assign [window_role="presenter"] 1
assign [window_role="presentation"] 9