mirror of
				https://forge.katzen.cafe/schrottkatze/nix-configs.git
				synced 2025-10-31 09:37:57 +01:00 
			
		
		
		
	lmao
This commit is contained in:
		
					parent
					
						
							
								224c80c420
							
						
					
				
			
			
				commit
				
					
						1cd19687be
					
				
			
		
					 21 changed files with 315 additions and 68 deletions
				
			
		|  | @ -13,6 +13,7 @@ import System.Exit | |||
| 
 | ||||
| import XMonad.Hooks.StatusBar | ||||
| import XMonad.Hooks.StatusBar.PP | ||||
| import XMonad.Hooks.EwmhDesktops | ||||
| 
 | ||||
| import qualified XMonad.StackSet as W | ||||
| import qualified Data.Map        as M | ||||
|  | @ -76,23 +77,7 @@ myRemaps = KeymapTable [ ((0, xK_a), (0, xK_b)) ] | |||
| myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $ | ||||
|   [ ((modm, xK_Return), spawn $ XMonad.terminal conf) | ||||
|   , ((modm .|. shiftMask, xK_q), kill) | ||||
|   -- Rotate through the available layout algorithms | ||||
|   , ((modm,               xK_space ), sendMessage NextLayout) | ||||
|   -- rofiing | ||||
|   , ((modm, xK_d), spawn "rofi -show drun") | ||||
|   , ((modm .|. shiftMask, xK_e), spawn "rofi -show \"desktopctl\" -modes \"desktopctl:$(which desktopctl)\"") | ||||
|   , ((modm, xK_m), spawn "menu-qalc") | ||||
|   , ((modm, xK_i), spawn "rofimoji -f alchemical_symbols anatolian_hieroglyphs emojis braille_patterns box_drawing chess_symbols emoticons geometric_shapes gothic greek_extended math mathematical_alphanumeric_symbols mathematical_operators miscellaneous_symbols miscellaneous_mathematical_symbols-a miscellaneous_mathematical_symbols-b miscellaneous_symbols_and_arrows miscellaneous_symbols_and_pictographs miscellaneous_technical modi modifier_tone_letters musical_symbols nerd_font number_forms shorthand_format_controls specials variation_selectors vertical_forms -a copy") | ||||
|   -- screenshotting | ||||
|   -- TODO: Fix/rewrite window-screenshot.sh | ||||
|   , ((modm, xK_w), spawn "window-screenshot.sh") | ||||
|   , ((modm, xK_s), spawn "flameshot gui -c -p $HOME/Pictures/screenshots") | ||||
|   , ((modm, xK_a), spawn "flameshot screen -c -p $HOME/Pictures/screenshots") | ||||
|   , ((modm, xK_t), spawn "ocr-screenshot.sh") | ||||
| 
 | ||||
|   [ ((modm, xK_Return), spawn $ XMonad.terminal conf) | ||||
|   , ((modm .|. shiftMask, xK_q), kill) | ||||
|    -- Rotate through the available layout algorithms | ||||
|   --  -- Rotate through the available layout algorithms | ||||
|   , ((modm,               xK_space ), sendMessage NextLayout) | ||||
| 
 | ||||
| 	-- rofiing | ||||
|  | @ -105,7 +90,7 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $ | |||
| 
 | ||||
| 	-- screenshotting | ||||
| 	-- TODO: Fix/rewrite window-screenshot.sh | ||||
| 	, ((modm, xK_w), spawn "window-screenshot.sh") | ||||
| 	, ((modm, xK_w), spawn "window-screenshot.nu") | ||||
| 	, ((modm, xK_s), spawn "flameshot gui -c -p $HOME/Pictures/screenshots") | ||||
| 	, ((modm, xK_a), spawn "flameshot screen -c -p $HOME/Pictures/screenshots") | ||||
| 	, ((modm, xK_t), spawn "ocr-screenshot.sh") | ||||
|  | @ -306,7 +291,7 @@ myStartupHook = do | |||
| -- Run xmonad with the settings you specify. No need to modify this. | ||||
| -- | ||||
| mySB = statusBarProp "polybar" (pure xmobarPP)  | ||||
| main = xmonad $ withEasySB mySB defToggleStrutsKey defaults | ||||
| main = xmonad $ withEasySB mySB defToggleStrutsKey (ewmh defaults) | ||||
| 
 | ||||
| -- A structure containing your configuration settings, overriding | ||||
| -- fields in the default config. Any you don't override, will | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Schrottkatze
				Schrottkatze