Revert "[Linux] Taffybar now managed by xmonad instead of systemd"
This reverts commit 04ae4335f2
.
This commit is contained in:
parent
4561cfc6ed
commit
9afa4c8e63
@ -1,5 +1,6 @@
|
||||
[Unit]
|
||||
Description=Dunst
|
||||
Requires=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
|
@ -1,5 +1,6 @@
|
||||
[Unit]
|
||||
Description=KeePassX
|
||||
Requires=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
|
@ -1,5 +1,6 @@
|
||||
[Unit]
|
||||
Description=NM Applet
|
||||
Requires=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
|
@ -1,5 +1,6 @@
|
||||
[Unit]
|
||||
Description=Pulse Audio System Tray
|
||||
Requires=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
|
@ -1,5 +1,6 @@
|
||||
[Unit]
|
||||
Description=ScreenCloud
|
||||
Requires=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
|
10
dotfiles/config/systemd/user/taffybar.service
Normal file
10
dotfiles/config/systemd/user/taffybar.service
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=taffybar
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env taffybar
|
||||
ExecStop=/usr/bin/pkill taffybar
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@ -1,5 +1,6 @@
|
||||
[Unit]
|
||||
Description=udiskie
|
||||
Requires=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
|
@ -65,9 +65,7 @@ virtualClasses = [(hangoutsSelector, "Hangouts")]
|
||||
|
||||
-- Startup
|
||||
|
||||
myStartup = do
|
||||
spawn "taffybar"
|
||||
spawn "systemctl --user start wm.target"
|
||||
myStartup = spawn "systemctl --user start wm.target"
|
||||
|
||||
-- Manage
|
||||
|
||||
@ -206,7 +204,8 @@ addKeys conf@XConfig {modMask = modm} =
|
||||
, ((modm .|. shiftMask, xK_p), spawn "rofi -show run")
|
||||
, ((modm, xK_g), actionMenu myWindowBringerConfig greedyFocusWindow)
|
||||
, ((modm, xK_b), bringMenuConfig myWindowBringerConfig)
|
||||
, ((modm .|. controlMask, xK_t), spawn "restart.sh taffybar")
|
||||
, ((modm .|. controlMask, xK_t), spawn
|
||||
"systemctl --user restart taffybar.service")
|
||||
, ((modm, xK_v), spawn "copyq paste")
|
||||
, ((modm, xK_s), swapNextScreen)
|
||||
, ((modm .|. controlMask, xK_space), sendMessage $ JumpToLayout "Full")
|
||||
|
Loading…
Reference in New Issue
Block a user