auto respawner for slock, simple and universal
This commit is contained in:
		
							parent
							
								
									c8f8e68252
								
							
						
					
					
						commit
						21cd79a751
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								rc.lua
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								rc.lua
									
										
									
									
									
								
							| 
						 | 
					@ -347,7 +347,7 @@ globalkeys = awful.util.table.join(
 | 
				
			||||||
    -- Glbal commands
 | 
					    -- Glbal commands
 | 
				
			||||||
    awful.key({ modkey,           }, 'x',     function () awful.util.spawn(terminal) end),
 | 
					    awful.key({ modkey,           }, 'x',     function () awful.util.spawn(terminal) end),
 | 
				
			||||||
    awful.key({ modkey,           }, 'q',     function () awful.util.spawn('/home/von/.local/bin/ticket_watch') end),
 | 
					    awful.key({ modkey,           }, 'q',     function () awful.util.spawn('/home/von/.local/bin/ticket_watch') end),
 | 
				
			||||||
    awful.key({ modkey,           }, 'z',     function () awful.util.spawn('slock') end),
 | 
					    awful.key({ modkey,           }, 'z',     function () awful.util.spawn('bash -c "until slock; do :; done"') end),
 | 
				
			||||||
    awful.key({ modkey,           }, 'F6',    function () awful.util.spawn('/home/von/touchpad_hotkey.sh') end),
 | 
					    awful.key({ modkey,           }, 'F6',    function () awful.util.spawn('/home/von/touchpad_hotkey.sh') end),
 | 
				
			||||||
    awful.key({                   }, 'Print', function () awful.util.spawn('xfce4-screenshooter -ws /home/von/screenshots') end),
 | 
					    awful.key({                   }, 'Print', function () awful.util.spawn('xfce4-screenshooter -ws /home/von/screenshots') end),
 | 
				
			||||||
    awful.key({ modkey,           }, 'Print', function () awful.util.spawn('xfce4-screenshooter -fs /home/von/screenshots') end)
 | 
					    awful.key({ modkey,           }, 'Print', function () awful.util.spawn('xfce4-screenshooter -fs /home/von/screenshots') end)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue