From 7c74bebbbee8eab7662bb4ef8dd049a74c971fef Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 29 Oct 2017 19:04:57 -0700 Subject: [PATCH] [taffybar] Add package specific imports --- dotfiles/config/taffybar/taffybar | 2 +- dotfiles/config/taffybar/taffybar.css | 8 -------- dotfiles/config/taffybar/taffybar.hs | 9 +++++---- 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/dotfiles/config/taffybar/taffybar b/dotfiles/config/taffybar/taffybar index eedefa10..22b9668f 160000 --- a/dotfiles/config/taffybar/taffybar +++ b/dotfiles/config/taffybar/taffybar @@ -1 +1 @@ -Subproject commit eedefa10c8bf35a1f31602b49f3cb6456035693c +Subproject commit 22b9668f8cedac1c0a5e0cd971a53f0fa19fae53 diff --git a/dotfiles/config/taffybar/taffybar.css b/dotfiles/config/taffybar/taffybar.css index 85f04985..feeb943b 100644 --- a/dotfiles/config/taffybar/taffybar.css +++ b/dotfiles/config/taffybar/taffybar.css @@ -28,10 +28,6 @@ border-radius: 5px; } -@keyframes spin { - to { -gtk-icon-transform: rotate(1turn); } -} - .IconContainer.Active { transition: background-color .5s; background-color: @active-window-color; @@ -40,10 +36,6 @@ .IconContainer.Urgent { transition: background-color .5s; background-color: @urgent-window-color; - animation-name: spin; - animation-duration: 1s; - animation-timing-function: linear; - animation-iteration-count: infinite; } .IconContainer.Minimized .IconImage { diff --git a/dotfiles/config/taffybar/taffybar.hs b/dotfiles/config/taffybar/taffybar.hs index 7ee106fe..48827021 100644 --- a/dotfiles/config/taffybar/taffybar.hs +++ b/dotfiles/config/taffybar/taffybar.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE PackageImports #-} module Main where import qualified Control.Concurrent.MVar as MV @@ -8,9 +9,9 @@ import Data.List import Data.List.Split import qualified Data.Map as M import Data.Maybe -import qualified Graphics.UI.Gtk as Gtk -import qualified Graphics.UI.Gtk.Abstract.Widget as W -import qualified Graphics.UI.Gtk.Layout.Table as T +import qualified "gtk3" Graphics.UI.Gtk as Gtk +import qualified "gtk3" Graphics.UI.Gtk.Abstract.Widget as W +import qualified "gtk3" Graphics.UI.Gtk.Layout.Table as T import System.Directory import System.Environment import System.FilePath.Posix @@ -211,7 +212,7 @@ main = do , showWorkspaceFn = hideEmpty , updateRateLimitMicroseconds = 100000 , updateOnWMIconChange = True - , debugMode = True + , debugMode = False , labelSetter = workspaceNamesLabelSetter } netMonitor = netMonitorMultiNew 1.5 interfaceNames