forked from colonelpanic/dotfiles
[taffybar] Add package specific imports
This commit is contained in:
parent
ed8c25c8cb
commit
7c74bebbbe
@ -1 +1 @@
|
|||||||
Subproject commit eedefa10c8bf35a1f31602b49f3cb6456035693c
|
Subproject commit 22b9668f8cedac1c0a5e0cd971a53f0fa19fae53
|
@ -28,10 +28,6 @@
|
|||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes spin {
|
|
||||||
to { -gtk-icon-transform: rotate(1turn); }
|
|
||||||
}
|
|
||||||
|
|
||||||
.IconContainer.Active {
|
.IconContainer.Active {
|
||||||
transition: background-color .5s;
|
transition: background-color .5s;
|
||||||
background-color: @active-window-color;
|
background-color: @active-window-color;
|
||||||
@ -40,10 +36,6 @@
|
|||||||
.IconContainer.Urgent {
|
.IconContainer.Urgent {
|
||||||
transition: background-color .5s;
|
transition: background-color .5s;
|
||||||
background-color: @urgent-window-color;
|
background-color: @urgent-window-color;
|
||||||
animation-name: spin;
|
|
||||||
animation-duration: 1s;
|
|
||||||
animation-timing-function: linear;
|
|
||||||
animation-iteration-count: infinite;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.IconContainer.Minimized .IconImage {
|
.IconContainer.Minimized .IconImage {
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
{-# LANGUAGE PackageImports #-}
|
||||||
module Main where
|
module Main where
|
||||||
|
|
||||||
import qualified Control.Concurrent.MVar as MV
|
import qualified Control.Concurrent.MVar as MV
|
||||||
@ -8,9 +9,9 @@ import Data.List
|
|||||||
import Data.List.Split
|
import Data.List.Split
|
||||||
import qualified Data.Map as M
|
import qualified Data.Map as M
|
||||||
import Data.Maybe
|
import Data.Maybe
|
||||||
import qualified Graphics.UI.Gtk as Gtk
|
import qualified "gtk3" Graphics.UI.Gtk as Gtk
|
||||||
import qualified Graphics.UI.Gtk.Abstract.Widget as W
|
import qualified "gtk3" Graphics.UI.Gtk.Abstract.Widget as W
|
||||||
import qualified Graphics.UI.Gtk.Layout.Table as T
|
import qualified "gtk3" Graphics.UI.Gtk.Layout.Table as T
|
||||||
import System.Directory
|
import System.Directory
|
||||||
import System.Environment
|
import System.Environment
|
||||||
import System.FilePath.Posix
|
import System.FilePath.Posix
|
||||||
@ -211,7 +212,7 @@ main = do
|
|||||||
, showWorkspaceFn = hideEmpty
|
, showWorkspaceFn = hideEmpty
|
||||||
, updateRateLimitMicroseconds = 100000
|
, updateRateLimitMicroseconds = 100000
|
||||||
, updateOnWMIconChange = True
|
, updateOnWMIconChange = True
|
||||||
, debugMode = True
|
, debugMode = False
|
||||||
, labelSetter = workspaceNamesLabelSetter
|
, labelSetter = workspaceNamesLabelSetter
|
||||||
}
|
}
|
||||||
netMonitor = netMonitorMultiNew 1.5 interfaceNames
|
netMonitor = netMonitorMultiNew 1.5 interfaceNames
|
||||||
|
Loading…
Reference in New Issue
Block a user