| 
									
										
										
										
											2017-01-26 13:48:55 +01:00
										 |  |  | set $mod Mod4 | 
					
						
							|  |  |  | floating_modifier $mod | 
					
						
							| 
									
										
										
										
											2017-06-10 00:18:13 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | # keyboard layout | 
					
						
							| 
									
										
										
										
											2017-01-26 13:48:55 +01:00
										 |  |  | exec setxkbmap de -option ctrl:nocaps | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-10 00:18:13 +02:00
										 |  |  | # background | 
					
						
							|  |  |  | exec --no-startup-id xsetroot -solid "#2F343F" | 
					
						
							| 
									
										
										
										
											2017-01-26 13:48:55 +01:00
										 |  |  | #exec --no-startup-id hsetroot -center ~/.wallpaper | 
					
						
							| 
									
										
										
										
											2017-06-10 00:18:13 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | # startup programs | 
					
						
							| 
									
										
										
										
											2017-01-26 13:48:55 +01:00
										 |  |  | exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 | 
					
						
							|  |  |  | exec --no-startup-id nm-applet | 
					
						
							| 
									
										
										
										
											2017-10-10 12:10:43 +02:00
										 |  |  | exec --no-startup-id gnome-keyring-daemon --start --components secrets | 
					
						
							| 
									
										
										
										
											2017-12-19 11:54:17 +01:00
										 |  |  | exec --no-startup-id feedreader --headless | 
					
						
							| 
									
										
										
										
											2017-01-26 13:48:55 +01:00
										 |  |  | exec --no-startup-id ~/.local/bin/xmon default | 
					
						
							|  |  |  | exec --no-startup-id ~/.local/bin/lockscreen -d | 
					
						
							|  |  |  | exec --no-startup-id albert | 
					
						
							|  |  |  | exec --no-startup-id owncloud | 
					
						
							|  |  |  | exec --no-startup-id seafile-applet | 
					
						
							|  |  |  | exec --no-startup-id telegram-desktop -startintray | 
					
						
							|  |  |  | exec --no-startup-id redshift-gtk | 
					
						
							|  |  |  | exec --no-startup-id rhythmbox | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-10 00:18:13 +02:00
										 |  |  | # font | 
					
						
							| 
									
										
										
										
											2017-01-26 13:48:55 +01:00
										 |  |  | font pango:Fira Sans Mono 12 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-10 00:17:31 +02:00
										 |  |  | # make some windows floating | 
					
						
							|  |  |  | for_window [class="Firefox" window_role="About"] floating enable | 
					
						
							| 
									
										
										
										
											2017-11-06 16:18:27 +01:00
										 |  |  | for_window [class="Nightly" window_role="About"] floating enable | 
					
						
							| 
									
										
										
										
											2017-07-14 23:08:37 +02:00
										 |  |  | for_window [title="^pdfpc - present"] move to output right, fullscreen | 
					
						
							| 
									
										
										
										
											2017-06-10 00:17:31 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | # Stick windows to workspaces | 
					
						
							| 
									
										
										
										
											2017-02-21 22:04:13 +01:00
										 |  |  | assign [class="Feedreader"] 8 | 
					
						
							|  |  |  | for_window [class="Feedreader"] move workspace 8 | 
					
						
							| 
									
										
										
										
											2017-01-26 13:48:55 +01:00
										 |  |  | assign [class="Evolution"] 9 | 
					
						
							|  |  |  | for_window [class="Evolution"] move workspace 9 | 
					
						
							| 
									
										
										
										
											2017-05-29 22:34:29 +02:00
										 |  |  | assign [class="Thunderbird"] 9 | 
					
						
							|  |  |  | for_window [class="Thunderbird"] move workspace 9 | 
					
						
							| 
									
										
										
										
											2017-01-26 13:48:55 +01:00
										 |  |  | assign [class="Rhythmbox"] 10 | 
					
						
							|  |  |  | for_window [class="Rhythmbox"] move workspace 10 | 
					
						
							| 
									
										
										
										
											2017-06-10 00:17:31 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-01-26 13:48:55 +01:00
										 |  |  | hide_edge_borders both | 
					
						
							|  |  |  | focus_follows_mouse no | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # to switch workspace-tabs | 
					
						
							|  |  |  | bindsym $mod+Tab workspace next | 
					
						
							|  |  |  | bindsym Shift+$mod+Tab workspace prev | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | bindsym $mod+m exec keepassx2 | 
					
						
							|  |  |  | bindsym $mod+e exec subl3 | 
					
						
							|  |  |  | bindsym $mod+w exec firefox | 
					
						
							| 
									
										
										
										
											2017-06-20 23:05:33 +02:00
										 |  |  | bindsym $mod+u exec feedreader | 
					
						
							| 
									
										
										
										
											2017-01-26 13:48:55 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-29 22:33:45 +02:00
										 |  |  | # to prevent gnome-help | 
					
						
							|  |  |  | bindsym F1 exec : | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-01-26 13:48:55 +01:00
										 |  |  | # ESP8266 | 
					
						
							| 
									
										
										
										
											2017-06-10 00:18:13 +02:00
										 |  |  | bindsym $mod+F1 exec curl http://esp8266/socket0Toggle | 
					
						
							|  |  |  | bindsym $mod+Shift+F1 exec curl http://esp8266/socket0Off | 
					
						
							| 
									
										
										
										
											2017-11-14 13:29:38 +01:00
										 |  |  | bindsym $mod+F2 exec curl http://esp8266/socket1Toggle | 
					
						
							|  |  |  | bindsym $mod+Shift+F2 exec curl http://esp8266/socket1Off | 
					
						
							| 
									
										
										
										
											2017-01-26 13:48:55 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | # Screenshot | 
					
						
							|  |  |  | bindsym Print exec "scrot ~/Downloads/Screenshot%Y-%m-%d-%H:%M:%S.png -z" | 
					
						
							| 
									
										
										
										
											2017-05-11 00:08:09 +02:00
										 |  |  | bindsym Scroll_Lock exec ~/.local/bin/lockscreen -fl | 
					
						
							| 
									
										
										
										
											2017-01-26 13:48:55 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | # forward an backward at arrow-keys | 
					
						
							|  |  |  | bindsym --release XF86Back exec --no-startup-id xdotool key --clearmodifiers Ctrl+Page_Up | 
					
						
							|  |  |  | bindsym --release XF86Forward exec --no-startup-id xdotool key --clearmodifiers Ctrl+Page_Down | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Sreen brightness controls | 
					
						
							|  |  |  | #increase screen brightness | 
					
						
							|  |  |  | bindsym XF86MonBrightnessUp exec xbacklight -inc 10 | 
					
						
							|  |  |  | #decrease screen brightness | 
					
						
							|  |  |  | bindsym XF86MonBrightnessDown exec xbacklight -dec 10 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Touchpad controls | 
					
						
							|  |  |  | #bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Pulse Audio controls | 
					
						
							|  |  |  | bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume | 
					
						
							|  |  |  | bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume | 
					
						
							|  |  |  | bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Media player controls | 
					
						
							|  |  |  | bindsym XF86AudioPlay exec dbus-send --type=method_call --dest=org.mpris.MediaPlayer2.rhythmbox /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause | 
					
						
							|  |  |  | bindsym XF86AudioPause exec dbus-send --type=method_call --dest=org.mpris.MediaPlayer2.rhythmbox /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause | 
					
						
							|  |  |  | bindsym XF86AudioNext exec dbus-send --type=method_call --dest=org.mpris.MediaPlayer2.rhythmbox /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next | 
					
						
							|  |  |  | bindsym XF86AudioPrev exec dbus-send --type=method_call --dest=org.mpris.MediaPlayer2.rhythmbox /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Microphone | 
					
						
							|  |  |  | bindsym XF86AudioMicMute exec pulseaudio-ctl mute-input #toggle | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-10 00:18:13 +02:00
										 |  |  | #firefox bughelper | 
					
						
							| 
									
										
										
										
											2017-01-26 13:48:55 +01:00
										 |  |  | bindsym $mod+^ floating toggle; floating toggle; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # main commands | 
					
						
							|  |  |  | bindsym $mod+Shift+c reload | 
					
						
							|  |  |  | bindsym $mod+Shift+r restart | 
					
						
							|  |  |  | bindsym $mod+Shift+e exit | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # start a terminal | 
					
						
							|  |  |  | bindsym $mod+Return exec i3-sensible-terminal | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # screensaver | 
					
						
							|  |  |  | bindsym $mod+z exec ~/.local/bin/lockscreen -fl | 
					
						
							|  |  |  | bindsym $mod+y exec ~/.local/bin/lockscreen -fl | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # start dmenu (a program launcher) | 
					
						
							|  |  |  | bindsym $mod+x exec --no-startup-id i3-dmenu-desktop --entry-type=command | 
					
						
							|  |  |  | bindsym $mod+d exec --no-startup-id albert && albert show | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # kill focused window | 
					
						
							|  |  |  | bindsym $mod+Shift+q kill | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # enter fullscreen mode for the focused container | 
					
						
							|  |  |  | bindsym $mod+f fullscreen toggle | 
					
						
							|  |  |  | bindsym $mod+g fullscreen global | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # change layouts | 
					
						
							|  |  |  | bindsym $mod+b split h | 
					
						
							|  |  |  | bindsym $mod+v split v | 
					
						
							|  |  |  | bindsym $mod+c layout toggle split | 
					
						
							|  |  |  | #bindsym $mod+z layout stacking | 
					
						
							|  |  |  | #bindsym $mod+t layout tabbed | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # toggle tiling / floating | 
					
						
							|  |  |  | bindsym $mod+Shift+space floating toggle | 
					
						
							|  |  |  | #bindsym $mod+space focus mode_toggle | 
					
						
							| 
									
										
										
										
											2017-05-11 00:08:09 +02:00
										 |  |  | bindsym $mod+space exec setxkbmap de -option ctrl:nocaps | 
					
						
							| 
									
										
										
										
											2017-01-26 13:48:55 +01:00
										 |  |  | # focus the child container | 
					
						
							|  |  |  | bindsym $mod+s focus child | 
					
						
							|  |  |  | # focus the parent container | 
					
						
							|  |  |  | bindsym $mod+a focus parent | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | bindsym Mod1+Left move workspace to output left | 
					
						
							|  |  |  | bindsym Mod1+Right move workspace to output right | 
					
						
							|  |  |  | bindsym Mod1+Up move workspace to output up | 
					
						
							|  |  |  | bindsym Mod1+Down move workspace to output down | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # switch to workspace | 
					
						
							|  |  |  | bindsym $mod+1 workspace 1 | 
					
						
							|  |  |  | bindsym $mod+2 workspace 2 | 
					
						
							|  |  |  | bindsym $mod+3 workspace 3 | 
					
						
							|  |  |  | bindsym $mod+4 workspace 4 | 
					
						
							|  |  |  | bindsym $mod+5 workspace 5 | 
					
						
							|  |  |  | bindsym $mod+6 workspace 6 | 
					
						
							|  |  |  | bindsym $mod+7 workspace 7 | 
					
						
							|  |  |  | bindsym $mod+8 workspace 8 | 
					
						
							|  |  |  | bindsym $mod+9 workspace 9 | 
					
						
							|  |  |  | bindsym $mod+0 workspace 10 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # move focused container to workspace | 
					
						
							|  |  |  | bindsym $mod+Shift+1 move container to workspace 1 | 
					
						
							|  |  |  | bindsym $mod+Shift+2 move container to workspace 2 | 
					
						
							|  |  |  | bindsym $mod+Shift+3 move container to workspace 3 | 
					
						
							|  |  |  | bindsym $mod+Shift+4 move container to workspace 4 | 
					
						
							|  |  |  | bindsym $mod+Shift+5 move container to workspace 5 | 
					
						
							|  |  |  | bindsym $mod+Shift+6 move container to workspace 6 | 
					
						
							|  |  |  | bindsym $mod+Shift+7 move container to workspace 7 | 
					
						
							|  |  |  | bindsym $mod+Shift+8 move container to workspace 8 | 
					
						
							|  |  |  | bindsym $mod+Shift+9 move container to workspace 9 | 
					
						
							|  |  |  | bindsym $mod+Shift+0 move container to workspace 10 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # move windows to workspace and switch to it | 
					
						
							|  |  |  | bindsym Ctrl+1 move container to workspace 1; workspace 1 | 
					
						
							|  |  |  | bindsym Ctrl+2 move container to workspace 2; workspace 2 | 
					
						
							|  |  |  | bindsym Ctrl+3 move container to workspace 3; workspace 3 | 
					
						
							|  |  |  | bindsym Ctrl+4 move container to workspace 4; workspace 4 | 
					
						
							|  |  |  | bindsym Ctrl+5 move container to workspace 5; workspace 5 | 
					
						
							|  |  |  | bindsym Ctrl+6 move container to workspace 6; workspace 6 | 
					
						
							|  |  |  | bindsym Ctrl+7 move container to workspace 7; workspace 7 | 
					
						
							|  |  |  | bindsym Ctrl+8 move container to workspace 8; workspace 8 | 
					
						
							|  |  |  | bindsym Ctrl+9 move container to workspace 9; workspace 9 | 
					
						
							|  |  |  | # for settings the zoom-level back to default in firefox | 
					
						
							|  |  |  | #bindsym Ctrl+0 move container to workspace 10; workspace 10 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | bindsym $mod+n exec i3-input -F 'rename workspace to "%s"' -P 'New name: ' | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #FOCUS | 
					
						
							|  |  |  | bindsym $mod+h      focus left | 
					
						
							|  |  |  | bindsym $mod+j      focus down | 
					
						
							|  |  |  | bindsym $mod+k      focus up | 
					
						
							|  |  |  | bindsym $mod+l      focus right | 
					
						
							|  |  |  | bindsym $mod+Left   focus left | 
					
						
							|  |  |  | bindsym $mod+Down   focus down | 
					
						
							|  |  |  | bindsym $mod+Up     focus up | 
					
						
							|  |  |  | bindsym $mod+Right  focus right | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # move focused window | 
					
						
							|  |  |  | 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+Left  move left | 
					
						
							|  |  |  | bindsym $mod+Shift+Down  move down | 
					
						
							|  |  |  | bindsym $mod+Shift+Up    move up | 
					
						
							|  |  |  | bindsym $mod+Shift+Right move right | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # resize window (you can also use the mouse for that) | 
					
						
							|  |  |  | mode "resize" { | 
					
						
							|  |  |  | 	bindsym h resize shrink width  10 px or 10 ppt | 
					
						
							|  |  |  | 	bindsym j resize shrink height 10 px or 10 ppt | 
					
						
							|  |  |  | 	bindsym k resize grow   height 10 px or 10 ppt | 
					
						
							|  |  |  | 	bindsym l resize grow   width  10 px or 10 ppt | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	bindsym Left  resize shrink width  10 px or 10 ppt | 
					
						
							|  |  |  | 	bindsym Up    resize grow   height 10 px or 10 ppt | 
					
						
							|  |  |  | 	bindsym Down  resize shrink height 10 px or 10 ppt | 
					
						
							|  |  |  | 	bindsym Right resize grow   width  10 px or 10 ppt | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	bindsym Return mode "default" | 
					
						
							|  |  |  | 	bindsym Escape mode "default" | 
					
						
							|  |  |  | 	bindsym $mod+r mode "default" | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | bindsym $mod+r mode "resize" | 
					
						
							| 
									
										
										
										
											2017-06-10 00:18:13 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | # colors | 
					
						
							|  |  |  | set $bg-color               #2F343F | 
					
						
							|  |  |  | set $inactive-bg-color      #2F343F | 
					
						
							|  |  |  | set $text-color             #F3F4F5 | 
					
						
							|  |  |  | set $inactive-text-color    #676E7D | 
					
						
							|  |  |  | set $urgent-bg-color        #E53935 | 
					
						
							|  |  |  | set $indicator-color        #00FF00 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | set $workspace-color        #5294E2 | 
					
						
							|  |  |  | set $inactive-workspace     #2F343F | 
					
						
							|  |  |  | set $seperator-color        #666666 | 
					
						
							|  |  |  | set $ws-text-color          #FFFFFF | 
					
						
							|  |  |  | set $ws-inactive-text-color #D3DAE3 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # window colors | 
					
						
							|  |  |  | client.focused          $bg-color           $bg-color          $text-color          $indicator-color | 
					
						
							|  |  |  | client.unfocused        $inactive-bg-color  $inactive-bg-color $inactive-text-color $indicator-color | 
					
						
							|  |  |  | client.focused_inactive $inactive-bg-color  $inactive-bg-color $inactive-text-color $indicator-color | 
					
						
							|  |  |  | client.urgent           $urgent-bg-color    $urgent-bg-color   $text-color          $indicator-color | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | bar { | 
					
						
							|  |  |  |     status_command i3status | 
					
						
							|  |  |  |     position top | 
					
						
							|  |  |  |     workspace_buttons   yes | 
					
						
							|  |  |  |     colors { | 
					
						
							|  |  |  |         background          $bg-color | 
					
						
							|  |  |  |         statusline          $ws-inactive-text-color | 
					
						
							|  |  |  |         separator           $seperator-color | 
					
						
							|  |  |  |         focused_workspace   $workspace-color    $workspace-color    $ws-text-color | 
					
						
							|  |  |  |         active_workspace    $inactive-workspace $inactive-workspace $ws-inactive-text-color | 
					
						
							|  |  |  |         inactive_workspace  $inactive-workspace $inactive-workspace $ws-inactive-text-color | 
					
						
							|  |  |  |         urgent_workspace    $urgent-bg-color    $urgent-bg-color    $ws-text-color | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | } |