Works with nushell
This commit is contained in:
		
							parent
							
								
									a8d855d2f7
								
							
						
					
					
						commit
						178d65bd38
					
				
							
								
								
									
										12
									
								
								rc.lua
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								rc.lua
									
									
									
									
									
								
							| @ -468,15 +468,11 @@ globalkeys = awful.util.table.join( | ||||
|         end, {description = "skip to the previous music", group="Fn Keys"}), | ||||
| 
 | ||||
|     awful.key({ }, "Print", function () | ||||
|             awful.spawn.easy_async_with_shell('flameshot gui', function() end) | ||||
|             awful.spawn.easy_async('flameshot gui', function() end) | ||||
|         end, {description = "capture the screen", group="Fn Keys"}), | ||||
| 
 | ||||
|     awful.key({"Shift"}, "Print", function () | ||||
|             awful.spawn.easy_async_with_shell('flameshot gui -d 1000', function() end) | ||||
|         end, {description = "capture the screen", group="Fn Keys"}), | ||||
| 
 | ||||
|     awful.key({"Ctrl"}, "Print", function () | ||||
|             awful.spawn.easy_async_with_shell('gnome-screenshot -f "`echo -n ' .. home .. '"/Images/Captures/Capture du " && date "+%Y-%m-%d %H-%M-%S"`.png"', function() end) | ||||
|             awful.spawn.easy_async('flameshot gui -d 1000', function() end) | ||||
|         end, {description = "capture the screen", group="Fn Keys"}), | ||||
| 
 | ||||
|     awful.key({modkey}, "a", function () | ||||
| @ -490,11 +486,11 @@ globalkeys = awful.util.table.join( | ||||
|     end, {description="Open social media", group="shortcuts"}), | ||||
| 
 | ||||
|     awful.key({modkey}, "l", function() | ||||
|         awful.spawn.easy_async_with_shell('sleep 1 && xset dpms force off && slock', function() end) | ||||
|         awful.spawn.easy_async_with_shell('sleep 1sec; xset dpms force off; slock', function() end) | ||||
|     end, { description="Locks the screen", group="screen control"}), | ||||
| 
 | ||||
|     awful.key({modkey, "Shift"}, "l", function() | ||||
|         awful.spawn.easy_async_with_shell('sleep 1 && xset dpms force off', function() end) | ||||
|         awful.spawn.easy_async_with_shell('sleep 1sec; xset dpms force off', function() end) | ||||
|     end, { description="Turns off the screen", group="screen control"}), | ||||
| 
 | ||||
|     awful.key({modkey, "Shift"}, "Tab", function() | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user