Merge branch 'main' of ssh://gitlab.inkletblot.com:10622/inkletblot/config
This commit is contained in:
commit
556bad0e3f
@ -14,7 +14,7 @@ Config {
|
|||||||
-- layout
|
-- layout
|
||||||
, sepChar = "%" -- delineator between plugin names and straight text
|
, sepChar = "%" -- delineator between plugin names and straight text
|
||||||
, alignSep = "}{" -- separator between left-right alignment
|
, alignSep = "}{" -- separator between left-right alignment
|
||||||
, template = " <action=`xdotool key super+a`><icon=haskell_20.xpm/></action> <fc=#bd93f9>%cpu% %memory%</fc> <action=`nm-connection-editor`>%network%</action> <action=`toggle-sink-mute`>%volume%</action> <fc=#6272a4>|</fc> %UnsafeStdinReader% }{ %keyboard% <fc=#6272a4>|</fc> %date% <fc=#6272a4>|</fc> %YPAD% <fc=#6272a4>|</fc> %updates% %trayerpad%"
|
, template = " <action=`xdotool key super+a`><icon=haskell_20.xpm/></action> <fc=#bd93f9>%cpu% %memory%</fc> <action=`nm-connection-editor`>%network%</action> <action=`toggle-sink-mute`>%volume%</action> <fc=#6272a4>|</fc> %UnsafeStdinReader% }{ %keyboard% <fc=#6272a4>|</fc> %date% <fc=#6272a4>|</fc> %weather% <fc=#6272a4>|</fc> %updates% %trayerpad%"
|
||||||
|
|
||||||
-- general behavior
|
-- general behavior
|
||||||
, lowerOnStart = True -- send to bottom of window stack on start
|
, lowerOnStart = True -- send to bottom of window stack on start
|
||||||
@ -38,15 +38,38 @@ Config {
|
|||||||
-- The --template option controls how the plugin is displayed. Text
|
-- The --template option controls how the plugin is displayed. Text
|
||||||
-- color can be set by enclosing in <fc></fc> tags. For more details
|
-- color can be set by enclosing in <fc></fc> tags. For more details
|
||||||
-- see http://projects.haskell.org/xmobar/#system-monitor-plugins.
|
-- see http://projects.haskell.org/xmobar/#system-monitor-plugins.
|
||||||
, commands =
|
, commands =
|
||||||
|
-- cpu activity monitor
|
||||||
|
[ Run Cpu [ "--template" , "cpu <total>%"
|
||||||
|
, "--Low" , "30" -- units: %
|
||||||
|
, "--High" , "60" -- units: %
|
||||||
|
, "--low" , "#50fa7b"
|
||||||
|
, "--normal" , "#ffb86c"
|
||||||
|
, "--high" , "#ff5555"
|
||||||
|
] 10
|
||||||
|
|
||||||
|
-- memory usage monitor
|
||||||
|
-- , Run Memory [ "--template" ,"mem: <usedratio>% (<used>Mb)"
|
||||||
|
, Run Memory [ "--template" ,"mem <usedratio>%"
|
||||||
|
, "--Low" , "20" -- units: %
|
||||||
|
, "--High" , "70" -- units: %
|
||||||
|
, "--low" , "#50fa7b"
|
||||||
|
, "--normal" , "#ffb86c"
|
||||||
|
, "--high" , "#ff5555"
|
||||||
|
] 10
|
||||||
|
|
||||||
|
-- time and date indicator
|
||||||
|
-- (%F = y-m-d date, %a = day of week, %T = h:m:s time)
|
||||||
|
, Run Date "<fc=#268bd2><fn=1>\xf073 </fn> %a %Y-%m-%d</fc> <fc=#6272a4>|</fc> <fc=#2AA198><fn=1>\xf017 </fn>%H:%M:%S</fc>" "date" 10
|
||||||
|
|
||||||
-- weather monitor
|
-- weather monitor
|
||||||
[ Run Weather "YPAD" ["--template" , "<station>: <tempC><fn=1>\x00b0</fn>C"
|
-- Run Weather "YPAD" ["--template" , "<station>: <tempC><fn=1>\x00b0</fn>C"
|
||||||
, "--Low" , "10"
|
-- , "--Low" , "10"
|
||||||
, "--High" , "25"
|
-- , "--High" , "25"
|
||||||
, "--normal" , "#50fa7b"
|
-- , "--normal" , "#50fa7b"
|
||||||
, "--high" , "#ff5555"
|
-- , "--high" , "#ff5555"
|
||||||
, "--low" , "lightblue"
|
-- , "--low" , "lightblue"
|
||||||
] 36000
|
-- ] 36000
|
||||||
|
|
||||||
-- network activity monitor
|
-- network activity monitor
|
||||||
-- , Run Network "enp33s0" [ "--template" , "eth: <icon=net_up_20.xpm/><tx>kB/s <icon=net_down_20.xpm/><rx>kB/s"
|
-- , Run Network "enp33s0" [ "--template" , "eth: <icon=net_up_20.xpm/><tx>kB/s <icon=net_down_20.xpm/><rx>kB/s"
|
||||||
@ -72,29 +95,6 @@ Config {
|
|||||||
-- , "--normal" , "#ffb86c"
|
-- , "--normal" , "#ffb86c"
|
||||||
-- , "--high" , "#ff5555"
|
-- , "--high" , "#ff5555"
|
||||||
-- ] 10
|
-- ] 10
|
||||||
|
|
||||||
-- cpu activity monitor
|
|
||||||
, Run Cpu [ "--template" , "cpu <total>%"
|
|
||||||
, "--Low" , "30" -- units: %
|
|
||||||
, "--High" , "60" -- units: %
|
|
||||||
, "--low" , "#50fa7b"
|
|
||||||
, "--normal" , "#ffb86c"
|
|
||||||
, "--high" , "#ff5555"
|
|
||||||
] 10
|
|
||||||
|
|
||||||
-- memory usage monitor
|
|
||||||
-- , Run Memory [ "--template" ,"mem: <usedratio>% (<used>Mb)"
|
|
||||||
, Run Memory [ "--template" ,"mem <usedratio>%"
|
|
||||||
, "--Low" , "20" -- units: %
|
|
||||||
, "--High" , "70" -- units: %
|
|
||||||
, "--low" , "#50fa7b"
|
|
||||||
, "--normal" , "#ffb86c"
|
|
||||||
, "--high" , "#ff5555"
|
|
||||||
] 10
|
|
||||||
|
|
||||||
-- time and date indicator
|
|
||||||
-- (%F = y-m-d date, %a = day of week, %T = h:m:s time)
|
|
||||||
, Run Date "<fc=#268bd2><fn=1>\xf073 </fn>%a %_d %b %Y</fc> <fc=#6272a4>|</fc> <fc=#2AA198><fn=1>\xf017 </fn>%H:%M:%S</fc>" "date" 10
|
|
||||||
|
|
||||||
-- keyboard layout indicator
|
-- keyboard layout indicator
|
||||||
-- , Run Kbd [ ("us(dvorak)" , "DV")
|
-- , Run Kbd [ ("us(dvorak)" , "DV")
|
||||||
@ -131,6 +131,9 @@ Config {
|
|||||||
-- Script that pulls volume related data and builds string to dislpay
|
-- Script that pulls volume related data and builds string to dislpay
|
||||||
, Run Com "xmobar-status-vol" [] "volume" 5
|
, Run Com "xmobar-status-vol" [] "volume" 5
|
||||||
|
|
||||||
|
-- Script that pulls weather related data and builds string to display
|
||||||
|
, Run Com "xmobar-status-weather" ["YPAD"] "weather" 300
|
||||||
|
|
||||||
-- Prints out the left side items such as workspaces, layout, etc.
|
-- Prints out the left side items such as workspaces, layout, etc.
|
||||||
, Run UnsafeStdinReader
|
, Run UnsafeStdinReader
|
||||||
|
|
||||||
|
|||||||
@ -519,6 +519,7 @@ myManageHook = composeAll
|
|||||||
, className =? "guake" --> doIgnore
|
, className =? "guake" --> doIgnore
|
||||||
, className =? "barrier" --> doFloat
|
, className =? "barrier" --> doFloat
|
||||||
, className =? "net-runelite-client-RuneLite" --> doFloat
|
, className =? "net-runelite-client-RuneLite" --> doFloat
|
||||||
|
, className =? "processing-app-Base" --> doFloat
|
||||||
, className =? "Yad" --> doCenterFloat
|
, className =? "Yad" --> doCenterFloat
|
||||||
, className =? "net-runelite-launcher-Launcher" --> doIgnore
|
, className =? "net-runelite-launcher-Launcher" --> doIgnore
|
||||||
, className =? "steam_app_221380" --> doIgnore
|
, className =? "steam_app_221380" --> doIgnore
|
||||||
@ -570,6 +571,7 @@ myStartupHook = do
|
|||||||
spawnOnce "/usr/lib/kdeconnectd &"
|
spawnOnce "/usr/lib/kdeconnectd &"
|
||||||
spawnOnce "kdeconnect-indicator &"
|
spawnOnce "kdeconnect-indicator &"
|
||||||
spawnOnce "dunst &" -- notification daemon
|
spawnOnce "dunst &" -- notification daemon
|
||||||
|
spawnOnce "nm-applet"
|
||||||
|
|
||||||
-- Startup Applications
|
-- Startup Applications
|
||||||
spawnOnce "nextcloud &"
|
spawnOnce "nextcloud &"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user