forked from colonelpanic/dotfiles
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]
|
[Unit]
|
||||||
Description=Dunst
|
Description=Dunst
|
||||||
|
Requires=taffybar.service
|
||||||
After=taffybar.service
|
After=taffybar.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=KeePassX
|
Description=KeePassX
|
||||||
|
Requires=taffybar.service
|
||||||
After=taffybar.service
|
After=taffybar.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=NM Applet
|
Description=NM Applet
|
||||||
|
Requires=taffybar.service
|
||||||
After=taffybar.service
|
After=taffybar.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Pulse Audio System Tray
|
Description=Pulse Audio System Tray
|
||||||
|
Requires=taffybar.service
|
||||||
After=taffybar.service
|
After=taffybar.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=ScreenCloud
|
Description=ScreenCloud
|
||||||
|
Requires=taffybar.service
|
||||||
After=taffybar.service
|
After=taffybar.service
|
||||||
|
|
||||||
[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]
|
[Unit]
|
||||||
Description=udiskie
|
Description=udiskie
|
||||||
|
Requires=taffybar.service
|
||||||
After=taffybar.service
|
After=taffybar.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -65,9 +65,7 @@ virtualClasses = [(hangoutsSelector, "Hangouts")]
|
|||||||
|
|
||||||
-- Startup
|
-- Startup
|
||||||
|
|
||||||
myStartup = do
|
myStartup = spawn "systemctl --user start wm.target"
|
||||||
spawn "taffybar"
|
|
||||||
spawn "systemctl --user start wm.target"
|
|
||||||
|
|
||||||
-- Manage
|
-- Manage
|
||||||
|
|
||||||
@ -206,7 +204,8 @@ addKeys conf@XConfig {modMask = modm} =
|
|||||||
, ((modm .|. shiftMask, xK_p), spawn "rofi -show run")
|
, ((modm .|. shiftMask, xK_p), spawn "rofi -show run")
|
||||||
, ((modm, xK_g), actionMenu myWindowBringerConfig greedyFocusWindow)
|
, ((modm, xK_g), actionMenu myWindowBringerConfig greedyFocusWindow)
|
||||||
, ((modm, xK_b), bringMenuConfig myWindowBringerConfig)
|
, ((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_v), spawn "copyq paste")
|
||||||
, ((modm, xK_s), swapNextScreen)
|
, ((modm, xK_s), swapNextScreen)
|
||||||
, ((modm .|. controlMask, xK_space), sendMessage $ JumpToLayout "Full")
|
, ((modm .|. controlMask, xK_space), sendMessage $ JumpToLayout "Full")
|
||||||
|
Loading…
Reference in New Issue
Block a user