[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]
Description=Dunst
Requires=taffybar.service
After=taffybar.service
[Service]

View File

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

View File

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

View File

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

View File

@ -1,6 +1,5 @@
[Unit]
Description=ScreenCloud
Requires=taffybar.service
After=taffybar.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]
Description=udiskie
Requires=taffybar.service
After=taffybar.service
[Service]

View File

@ -65,7 +65,9 @@ virtualClasses = [(hangoutsSelector, "Hangouts")]
-- Startup
myStartup = spawn "systemctl --user start wm.target"
myStartup = do
spawn "taffybar"
spawn "systemctl --user start wm.target"
-- Manage
@ -204,8 +206,7 @@ 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
"systemctl --user restart taffybar.service")
, ((modm .|. controlMask, xK_t), spawn "restart.sh taffybar")
, ((modm, xK_v), spawn "copyq paste")
, ((modm, xK_s), swapNextScreen)
, ((modm .|. controlMask, xK_space), sendMessage $ JumpToLayout "Full")