[Linux] Taffybar now managed by xmonad instead of systemd

This commit is contained in:
Ivan Malison 2016-10-29 12:31:08 -07:00
parent d3a18433e2
commit 04ae4335f2
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
8 changed files with 4 additions and 19 deletions

View File

@ -1,6 +1,5 @@
[Unit] [Unit]
Description=Dunst Description=Dunst
Requires=taffybar.service
After=taffybar.service After=taffybar.service
[Service] [Service]

View File

@ -1,6 +1,5 @@
[Unit] [Unit]
Description=KeePassX Description=KeePassX
Requires=taffybar.service
After=taffybar.service After=taffybar.service
[Service] [Service]

View File

@ -1,6 +1,5 @@
[Unit] [Unit]
Description=NM Applet Description=NM Applet
Requires=taffybar.service
After=taffybar.service After=taffybar.service
[Service] [Service]

View File

@ -1,6 +1,5 @@
[Unit] [Unit]
Description=Pulse Audio System Tray Description=Pulse Audio System Tray
Requires=taffybar.service
After=taffybar.service After=taffybar.service
[Service] [Service]

View File

@ -1,6 +1,5 @@
[Unit] [Unit]
Description=ScreenCloud Description=ScreenCloud
Requires=taffybar.service
After=taffybar.service After=taffybar.service
[Service] [Service]

View File

@ -1,10 +0,0 @@
[Unit]
Description=taffybar
[Service]
Type=simple
ExecStart=/usr/bin/env taffybar
ExecStop=/usr/bin/pkill taffybar
[Install]
WantedBy=wm.target

View File

@ -1,6 +1,5 @@
[Unit] [Unit]
Description=udiskie Description=udiskie
Requires=taffybar.service
After=taffybar.service After=taffybar.service
[Service] [Service]

View File

@ -65,7 +65,9 @@ virtualClasses = [(hangoutsSelector, "Hangouts")]
-- Startup -- Startup
myStartup = spawn "systemctl --user start wm.target" myStartup = do
spawn "taffybar"
spawn "systemctl --user start wm.target"
-- Manage -- Manage
@ -204,8 +206,7 @@ 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 , ((modm .|. controlMask, xK_t), spawn "restart.sh taffybar")
"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")