added i3 keybinding to disable screen sleep, changed location of mpd
state file.
This commit is contained in:
		
							parent
							
								
									bf3e6d39ad
								
							
						
					
					
						commit
						a1944bc79a
					
				
					 2 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -143,7 +143,7 @@ font pango:DejaVu Sans Mono 8
 | 
			
		|||
		bindsym $mod+Shift+0 move container to workspace $ws10
 | 
			
		||||
 | 
			
		||||
	# reload the configuration file
 | 
			
		||||
	bindsym $mod+Shift+c reload
 | 
			
		||||
	bindsym $mod+Shift+n reload
 | 
			
		||||
	# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
 | 
			
		||||
	bindsym $mod+Shift+r restart
 | 
			
		||||
	# exit i3 (logs you out of your X session)
 | 
			
		||||
| 
						 | 
				
			
			@ -182,6 +182,10 @@ font pango:DejaVu Sans Mono 8
 | 
			
		|||
		bindsym $mod+x exec --no-startup-id "~/dotfiles/scripts/screen_off $lock_command_nof"
 | 
			
		||||
		bindsym $mod+shift+x exec --no-startup-id "$lock_command"; exec "systemctl suspend"
 | 
			
		||||
 | 
			
		||||
	# disable screen going to sleep with mod+c, enable screen going to sleep with mod+shift+c
 | 
			
		||||
		bindsym $mod+c exec "xset s off -dpms; notify-send 'screen blanking off'"
 | 
			
		||||
		bindsym $mod+shift+c exec "xset +dpms; notify-send 'screen blanking on'"
 | 
			
		||||
 | 
			
		||||
	#screenshot everything with mod+s, current window with mod+shift+s
 | 
			
		||||
		bindsym $mod+s exec --no-startup-id "maim ~/Pictures/$(date +%s).png"
 | 
			
		||||
		bindsym $mod+shift+s exec --no-startup-id "maim -i $(xdotool getactivewindow) ~/Pictures/$(date +%s).png"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue