mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: update to 24.11
Reviewed-on: https://codeberg.org/leana8959/.files/pulls/1 Co-authored-by: Léana 江 <leana.jiang+git@icloud.com> Co-committed-by: Léana 江 <leana.jiang+git@icloud.com>
This commit is contained in:
parent
57ed96f0ea
commit
f6a89cba08
60 changed files with 696 additions and 752 deletions
|
|
@ -133,8 +133,8 @@ myUnmaps =
|
|||
|
||||
myKeymaps =
|
||||
[ -- Display
|
||||
((0, xF86XK_MonBrightnessDown ), spawn "light -U 5" )
|
||||
, ((0, xF86XK_MonBrightnessUp ), spawn "light -A 5" )
|
||||
((0, xF86XK_MonBrightnessDown), spawn "light -U 5" )
|
||||
, ((0, xF86XK_MonBrightnessUp ), spawn "light -A 5" )
|
||||
, ((controlMask, xF86XK_MonBrightnessDown), spawn "xbrightness DP-2-2 -0.1")
|
||||
, ((controlMask, xF86XK_MonBrightnessUp ), spawn "xbrightness DP-2-2 +0.1")
|
||||
|
||||
|
|
@ -160,8 +160,8 @@ myKeymaps =
|
|||
, ((superMask .|. shiftMask, xK_period), sendMessage Expand)
|
||||
|
||||
-- Increment / decrement the number of windows in the master area
|
||||
, ((superMask ,xK_comma ), sendMessage (IncMasterN -1))
|
||||
, ((superMask ,xK_period), sendMessage (IncMasterN 1))
|
||||
, ((superMask, xK_comma ), sendMessage (IncMasterN -1))
|
||||
, ((superMask, xK_period), sendMessage (IncMasterN 1))
|
||||
|
||||
-- sink
|
||||
, ((superMask .|. shiftMask, xK_s), withFocused $ windows . W.sink)
|
||||
|
|
@ -185,10 +185,12 @@ myKeymaps =
|
|||
, ((controlMask .|. altMask, xK_p), namedScratchpadAction myScratchpads "pass" )
|
||||
, ((controlMask .|. altMask, xK_r), namedScratchpadAction myScratchpads "ranger")
|
||||
, ((superMask, xK_o), spawn launchDmenu )
|
||||
, ((superMask, xK_l), spawn lock )
|
||||
]
|
||||
where
|
||||
launchFirefox = "if type firefox; then firefox; else firefox-esr; fi"
|
||||
launchDmenu = "dmenu_run -i -fn \"Iosevka Extended-17\" -nb \"#36363a\" -nf \"#e2e2e4\" -sb \"#f7f7f8\" -sf \"#36363a\" -l 10"
|
||||
lock = "xscreensaver-command -lock"
|
||||
|
||||
yeetingBindings =
|
||||
gotoWorkspace
|
||||
|
|
@ -246,8 +248,8 @@ myStartupHook = do
|
|||
spawn "feh --no-fehbg --bg-fill ~/.wallpaper &" -- wallpaper
|
||||
|
||||
xmobarOf :: ScreenId -> IO StatusBarConfig
|
||||
xmobarOf 0 = pure $ statusBarProp "xmobar -x 0 ~/.config/xmobar/xmobarrc" (pure myPrettyPrinter)
|
||||
xmobarOf 1 = pure $ statusBarProp "xmobar -x 1 ~/.config/xmobar/xmobarrc" (pure myPrettyPrinter)
|
||||
xmobarOf 0 = pure $ statusBarProp "xmobar -x 0" (pure myPrettyPrinter)
|
||||
xmobarOf 1 = pure $ statusBarProp "xmobar -x 1" (pure myPrettyPrinter)
|
||||
xmobarOf _ = mempty
|
||||
|
||||
-- Note: `xmonad --restart` will make Firefox's fullscreen work duck the xmobar stop working
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue