WHAT IS LOVEnvim
This commit is contained in:
parent
1fad7ba274
commit
ef6e9aa6d2
|
@ -12,7 +12,7 @@ Config {
|
||||||
-- layout
|
-- layout
|
||||||
, sepChar = "%" -- delineator between plugin names and straight text
|
, sepChar = "%" -- delineator between plugin names and straight text
|
||||||
, alignSep = "}{" -- separator between left-right alignment
|
, alignSep = "}{" -- separator between left-right alignment
|
||||||
, template = "%StdinReader% | %battery% | %multicpu% | %memory% | %dynnetwork% }{ %date% | %kbd% "
|
, template = "%StdinReader% | %battery% | %multicpu% | %memory% | %dynnetwork% }{ %date% | %kbd% _XMONAD_TRAYPAD%"
|
||||||
|
|
||||||
-- general behavior
|
-- general behavior
|
||||||
, lowerOnStart = True -- send to bottom of window stack on start
|
, lowerOnStart = True -- send to bottom of window stack on start
|
||||||
|
@ -79,6 +79,7 @@ Config {
|
||||||
, "--normal" , "darkorange"
|
, "--normal" , "darkorange"
|
||||||
, "--high" , "darkred"
|
, "--high" , "darkred"
|
||||||
] 10
|
] 10
|
||||||
|
, Run XPropertyLog "_XMONAD_TRAYPAD",
|
||||||
|
|
||||||
-- battery monitor
|
-- battery monitor
|
||||||
, Run Battery [ "--template" , "Batt: <acstatus>"
|
, Run Battery [ "--template" , "Batt: <acstatus>"
|
||||||
|
|
|
@ -22,6 +22,7 @@ import XMonad.Hooks.ManageDocks -- manage dock thingy xmobar hHAUISHFOAUISHDFUOI
|
||||||
import XMonad.Hooks.DynamicLog -- supposed to be for xmobar
|
import XMonad.Hooks.DynamicLog -- supposed to be for xmobar
|
||||||
import XMonad.Util.SpawnOnce -- for startup items
|
import XMonad.Util.SpawnOnce -- for startup items
|
||||||
import XMonad.Util.Run -- for xmobar startup
|
import XMonad.Util.Run -- for xmobar startup
|
||||||
|
import XMonad.Util.Hacks -- tray
|
||||||
|
|
||||||
import qualified XMonad.StackSet as W
|
import qualified XMonad.StackSet as W
|
||||||
import qualified Data.Map as M
|
import qualified Data.Map as M
|
||||||
|
@ -135,7 +136,7 @@ myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
|
||||||
, ((modm .|. shiftMask, xK_q ), io exitSuccess)
|
, ((modm .|. shiftMask, xK_q ), io exitSuccess)
|
||||||
|
|
||||||
-- Restart xmonad
|
-- Restart xmonad
|
||||||
, ((modm , xK_q ), spawn "xmonad --recompile; killall xmobar; xmonad --restart")
|
, ((modm , xK_q ), spawn "xmonad --recompile; killall stalonetray; killall xmobar; xmonad --restart")
|
||||||
|
|
||||||
-- Run xmessage with a summary of the default keybindings (useful for beginners)
|
-- Run xmessage with a summary of the default keybindings (useful for beginners)
|
||||||
, ((modm .|. shiftMask, xK_slash ), xmessage help)
|
, ((modm .|. shiftMask, xK_slash ), xmessage help)
|
||||||
|
@ -268,7 +269,10 @@ main = do
|
||||||
|
|
||||||
logHook = myLogHook h,
|
logHook = myLogHook h,
|
||||||
|
|
||||||
manageHook = manageDocks <+> manageHook def
|
manageHook = manageDocks <+> manageHook def,
|
||||||
|
|
||||||
|
handleEventHook = handleEventHook def
|
||||||
|
<> Hacks.trayerPaddingXmobarEventHook
|
||||||
}
|
}
|
||||||
|
|
||||||
-- A structure containing your configuration settings, overriding
|
-- A structure containing your configuration settings, overriding
|
||||||
|
|
|
@ -68,7 +68,7 @@ in
|
||||||
# bar
|
# bar
|
||||||
xmobar
|
xmobar
|
||||||
# tray
|
# tray
|
||||||
stalonetray
|
trayer
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.sako = { pkgs , ...}: {
|
home-manager.users.sako = { pkgs , ...}: {
|
||||||
|
|
Loading…
Reference in a new issue