Move XMonad calculator command to '.bin/calc'
							parent
							
								
									c88c54b9ca
								
							
						
					
					
						commit
						5d2cb51aee
					
				| 
						 | 
					@ -0,0 +1,3 @@
 | 
				
			||||||
 | 
					#!/usr/env/bin bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ipython -i /home/h/.bin/calc.py
 | 
				
			||||||
| 
						 | 
					@ -216,7 +216,6 @@ myKeys =
 | 
				
			||||||
    ("M-S-<XF86MonBrightnessUp>", resetTemp),   --
 | 
					    ("M-S-<XF86MonBrightnessUp>", resetTemp),   --
 | 
				
			||||||
    ("M-S-<XF86MonBrightnessDown>", resetTemp), --
 | 
					    ("M-S-<XF86MonBrightnessDown>", resetTemp), --
 | 
				
			||||||
    ("M-S-b", fullscreenBrowser),
 | 
					    ("M-S-b", fullscreenBrowser),
 | 
				
			||||||
    ("<XF86Calculator>", spawnCalculator),
 | 
					 | 
				
			||||||
    ("<XF86PowerOff>", spawn "systemctl suspend"), --TODO: Only enable this on laptop
 | 
					    ("<XF86PowerOff>", spawn "systemctl suspend"), --TODO: Only enable this on laptop
 | 
				
			||||||
    ("M-c", windows copyToAll),
 | 
					    ("M-c", windows copyToAll),
 | 
				
			||||||
    ("M-S-c", killAllOtherCopies),
 | 
					    ("M-S-c", killAllOtherCopies),
 | 
				
			||||||
| 
						 | 
					@ -261,12 +260,12 @@ fullscreenBrowser :: X ()
 | 
				
			||||||
fullscreenBrowser = spawn "firefox --fullscreen"
 | 
					fullscreenBrowser = spawn "firefox --fullscreen"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
spawnWindowSwitcher = spawn "rofi -show window -show-icons"
 | 
					spawnWindowSwitcher = spawn "rofi -show window -show-icons"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
spawnWifiMenu = spawn "rofi -show wifi -modi \"wifi:iwdrofimenu\""
 | 
					spawnWifiMenu = spawn "rofi -show wifi -modi \"wifi:iwdrofimenu\""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
spawnLauncher, spawnClipManager, spawnCalculator :: X ()
 | 
					spawnLauncher, spawnClipManager :: X ()
 | 
				
			||||||
spawnLauncher = spawn "rofi -show drun -show-icons"
 | 
					spawnLauncher = spawn "rofi -show drun -show-icons"
 | 
				
			||||||
spawnClipManager = spawn "rofi -modi 'clipboard:greenclip print' -show clipboard -run-command '{cmd}'"
 | 
					spawnClipManager = spawn "rofi -modi 'clipboard:greenclip print' -show clipboard -run-command '{cmd}'"
 | 
				
			||||||
spawnCalculator = spawn "alacritty --class 'Calculator' -e ipython -i /home/h/.bin/calc.py"
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
printScreen :: X ()
 | 
					printScreen :: X ()
 | 
				
			||||||
printScreen = spawn "flameshot gui"
 | 
					printScreen = spawn "flameshot gui"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue