alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
desktops xmonad: cleanup broken code
author
lassulus
date
2 years ago
(Mar 19, 2024, 9:54 AM CET)
commit
7ac8f0ca
7ac8f0ca4fa6f1e3fdc1df360d21775956045df4
parent
0e1efb41
0e1efb41c3c3333078bffb7bb18b6d0e01dcebc2
-8
1 changed file
Expand all
Collapse all
Unified
Split
2configs
desktops
xmonad
default.nix
-8
2configs/desktops/xmonad/default.nix
View file
Reviewed
···
52
52
import XMonad.Layout.StateFull
53
53
import XMonad.ManageHook (composeAll)
54
54
import XMonad.Prompt (autoComplete, font, height, searchPredicate, XPConfig)
55
55
-
import XMonad.Prompt.Window (windowPromptGoto, windowPromptBringCopy)
56
55
import XMonad.Util.EZConfig (additionalKeysP)
57
56
import XMonad.Util.NamedWindows (getName)
58
57
import XMonad.Util.Run (safeSpawn)
···
128
127
''}" [] Nothing)
129
128
130
129
, ("M4-S-p", forkFile "${self.packages.${pkgs.system}.otpmenu}/bin/otpmenu" [] Nothing)
131
131
-
, ("M4-z", forkFile "${pkgs.unimenu}/bin/unimenu" [] Nothing)
132
130
133
131
, ("M4-S-q", restart "xmonad" True)
134
132
···
158
156
, ("M4-b", spawn "/run/current-system/sw/bin/klem")
159
157
160
158
, ("M4-c", defaultCommands >>= runCommand)
161
161
-
-- , ("M4-v", spawn "${pkgs.pager}/bin/pager view")
162
162
-
-- , ("M4-S-v", spawn "${pkgs.pager}/bin/pager shift")
163
159
, ("M4-v", withWorkspace autoXPConfig (windows . W.greedyView))
164
160
, ("M4-S-v", withWorkspace autoXPConfig (windows . W.shift))
165
161
, ("M4-C-v", withWorkspace autoXPConfig (windows . copy))
166
162
167
163
, ("M4-m", withFocused minimizeWindow)
168
164
, ("M4-S-m", withLastMinimized maximizeWindow)
169
169
-
170
170
-
, ("M4-q", windowPromptGoto infixAutoXPConfig)
171
171
-
, ("M4-C-q", windowPromptBringCopy infixAutoXPConfig)
172
165
173
166
, ("M4-S-q", return ())
174
167
···
188
181
189
182
, ("M4-<F1>", spawn "/run/current-system/sw/bin/gamepad_mouse_toggle")
190
183
, ("M4-<F2>", windows copyToAll)
191
191
-
, ("M4-<F4>", spawn "${pkgs.nm-dmenu}/bin/nm-dmenu")
192
184
, ("M4-<F5>", spawn "${pkgs.acpilight}/bin/xbacklight -set 1")
193
185
, ("M4-<F6>", spawn "${pkgs.acpilight}/bin/xbacklight -set 10")
194
186
, ("M4-<F7>", spawn "${pkgs.acpilight}/bin/xbacklight -set 33")