mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 09:12:28 +00:00
xmobar: add stalonetray
This commit is contained in:
@@ -43,6 +43,7 @@
|
|||||||
nodejs-14_x
|
nodejs-14_x
|
||||||
openvpn
|
openvpn
|
||||||
packer
|
packer
|
||||||
|
pfetch
|
||||||
pinentry-curses
|
pinentry-curses
|
||||||
postman
|
postman
|
||||||
python38
|
python38
|
||||||
@@ -53,8 +54,8 @@
|
|||||||
shfmt
|
shfmt
|
||||||
spotify
|
spotify
|
||||||
starship
|
starship
|
||||||
terraform_0_13
|
|
||||||
terraform-ls
|
terraform-ls
|
||||||
|
terraform_0_13
|
||||||
tflint
|
tflint
|
||||||
tmux
|
tmux
|
||||||
tree
|
tree
|
||||||
@@ -79,13 +80,14 @@
|
|||||||
|
|
||||||
# desktop environments
|
# desktop environments
|
||||||
bspwm
|
bspwm
|
||||||
polybar
|
|
||||||
sxhkd
|
|
||||||
pavucontrol
|
|
||||||
xmonad-with-packages
|
|
||||||
haskellPackages.xmobar
|
haskellPackages.xmobar
|
||||||
haskellPackages.xmonad-extras
|
|
||||||
haskellPackages.xmonad-contrib
|
haskellPackages.xmonad-contrib
|
||||||
|
haskellPackages.xmonad-extras
|
||||||
|
pavucontrol
|
||||||
|
polybar
|
||||||
|
stalonetray
|
||||||
|
sxhkd
|
||||||
|
xmonad-with-packages
|
||||||
|
|
||||||
## aws
|
## aws
|
||||||
awscli2
|
awscli2
|
||||||
@@ -165,6 +167,7 @@
|
|||||||
eval "$(_RFD_COMPLETE=source_zsh rfd)"
|
eval "$(_RFD_COMPLETE=source_zsh rfd)"
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
setopt noincappendhistory
|
setopt noincappendhistory
|
||||||
|
pfetch
|
||||||
'';
|
'';
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
|
@@ -11,7 +11,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 = "%UnsafeStdinReader% | %battery% | %multicpu% | %coretemp% | %memory% | %dynnetwork% }{ %date% "
|
, template = "%UnsafeStdinReader% | %date% | %battery% | %multicpu% | %memory% | %dynnetwork% "
|
||||||
|
|
||||||
-- general behavior
|
-- general behavior
|
||||||
, lowerOnStart = True -- send to bottom of window stack on start
|
, lowerOnStart = True -- send to bottom of window stack on start
|
||||||
@@ -47,7 +47,7 @@ Config {
|
|||||||
] 10
|
] 10
|
||||||
|
|
||||||
-- cpu activity monitor
|
-- cpu activity monitor
|
||||||
, Run MultiCpu [ "--template" , "Cpu: <total0>%|<total1>%"
|
, Run MultiCpu [ "--template" , "Cpu: <total>%"
|
||||||
, "--Low" , "50" -- units: %
|
, "--Low" , "50" -- units: %
|
||||||
, "--High" , "85" -- units: %
|
, "--High" , "85" -- units: %
|
||||||
, "--low" , "darkgreen"
|
, "--low" , "darkgreen"
|
||||||
@@ -55,15 +55,6 @@ Config {
|
|||||||
, "--high" , "darkred"
|
, "--high" , "darkred"
|
||||||
] 10
|
] 10
|
||||||
|
|
||||||
-- cpu core temperature monitor
|
|
||||||
, Run CoreTemp [ "--template" , "Temp: <core0>°C|<core1>°C"
|
|
||||||
, "--Low" , "70" -- units: °C
|
|
||||||
, "--High" , "80" -- units: °C
|
|
||||||
, "--low" , "darkgreen"
|
|
||||||
, "--normal" , "darkorange"
|
|
||||||
, "--high" , "darkred"
|
|
||||||
] 50
|
|
||||||
|
|
||||||
-- memory usage monitor
|
-- memory usage monitor
|
||||||
, Run Memory [ "--template" ,"Mem: <usedratio>%"
|
, Run Memory [ "--template" ,"Mem: <usedratio>%"
|
||||||
, "--Low" , "20" -- units: %
|
, "--Low" , "20" -- units: %
|
||||||
|
16
.stalonetrayrc
Normal file
16
.stalonetrayrc
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
decorations none
|
||||||
|
transparent false
|
||||||
|
dockapp_mode none
|
||||||
|
geometry 5x1-0+0
|
||||||
|
max_geometry 5x1-325-10
|
||||||
|
background "#000000"
|
||||||
|
kludges force_icons_size
|
||||||
|
grow_gravity NE
|
||||||
|
icon_gravity NE
|
||||||
|
icon_size 12
|
||||||
|
sticky true
|
||||||
|
#window_strut none
|
||||||
|
window_type dock
|
||||||
|
window_layer bottom
|
||||||
|
#no_shrink false
|
||||||
|
skip_taskbar true
|
@@ -310,8 +310,9 @@ myLogHook h = dynamicLogWithPP $ xmobarPP
|
|||||||
myStartupHook = do
|
myStartupHook = do
|
||||||
spawnOnce "dunst &"
|
spawnOnce "dunst &"
|
||||||
spawnOnce "feh --bg-fill ~/Pictures/Wallpapers/laughingman.jpg"
|
spawnOnce "feh --bg-fill ~/Pictures/Wallpapers/laughingman.jpg"
|
||||||
spawnOnce "picom --config ~/.config/compton.conf -b"
|
|
||||||
spawnOnce "if xinput list | grep -qi 'mouse'; then xmodmap -e 'pointer = 3 2 1 ';fi" -- flip mouse buttons
|
spawnOnce "if xinput list | grep -qi 'mouse'; then xmodmap -e 'pointer = 3 2 1 ';fi" -- flip mouse buttons
|
||||||
|
spawnOnce "picom --config ~/.config/compton.conf -b"
|
||||||
|
spawnOnce "stalonetray &"
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
-- Now run xmonad with all the defaults we set up.
|
-- Now run xmonad with all the defaults we set up.
|
||||||
|
Reference in New Issue
Block a user