idk some tweaks

This commit is contained in:
Chris Cochrun 2023-05-04 15:27:27 -05:00
parent 645a205924
commit f4447c25e1
7 changed files with 36 additions and 6 deletions

View file

@ -357,7 +357,7 @@ colors:
# - (Linux/BSD) user login shell
# - (Windows) powershell
shell:
program: nu
program: fish
# args:
# - --login

View file

@ -2,7 +2,7 @@
### Display ###
# Which monitor should the notifications be displayed on.
monitor = 0
monitor = 2
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer

View file

@ -231,6 +231,15 @@ tooltip label {
margin: 0px 15px 0px 3px;
}
.disk_label {
color: $base09;
}
.icondisk {
font-size: 18;
color: $base09;
margin: 0px 15px 0px 3px;
}
.separ {
color: $base03;

View file

@ -16,6 +16,7 @@
(defpoll ESSID_WLAN :interval "1m" "scripts/wifi --ESSID")
(defpoll WLAN_ICON :interval "1m" "scripts/wifi --ICON")
(defpoll HOST :interval "1h" "hostname")
(defpoll DISK :interval "1m" "disk")
(deflisten volume_percent :interval "0.5s" "tail -F /tmp/vol")
(deflisten workspace "scripts/workspace")
(deflisten appname "scripts/appname")
@ -175,11 +176,27 @@
:text "${round(EWW_BATTERY['BAT1'].capacity, 0)}%"
:class "bat_label")))
(defwidget disk []
(box
:class "disk_module"
:vexpand "false"
:hexpand "false"
:spacing 0
(button
:onclick "scripts/pop system"
:class "icondisk"
:tooltip "${DISK}"
"󰋊")
(label
:text "${DISK}"
:class "disk_label")))
(defwidget bright []
(box
:class "bright_module"
:vexpand "false"
:hexpand "false"
:visible {HOST == "kaladin" ? "false" : "true"}
(button
:class "iconbright"
;; :onclick "scripts/pop audio"
@ -267,7 +284,7 @@
:space-evenly "false"
:orientation "h"
(button
:onclick "exec nextcloud"
:onclick "nextcloud"
(label
:text ""))))
@ -314,6 +331,7 @@
:halign "end"
:class "right_modules"
(sep)
(disk)
(cpu)
(mem)
(volume)

View file

@ -121,7 +121,7 @@ with lib;
picom-jonaburg
pamixer
playerctl
# jellyfin-mpv-shim
jellyfin-mpv-shim
pfetch
macchina
gimp

View file

@ -2,4 +2,4 @@
disk_usage=$(df -h | rg /dev/nvme0n1p2 | awk '{print $4}' | head -n 1)
echo "󰋊 $disk_usage "
echo "$disk_usage "

View file

@ -107,6 +107,9 @@
}
# misc:disable_autoreload = true
misc {
focus_on_activate = true
}
# example window rules
# for windows named/classed as abc and xyz
@ -185,7 +188,7 @@
bind = SUPERSHIFT,9,movetoworkspace,9
bind = SUPERSHIFT,0,movetoworkspace,10
bind = SUPER,o,movewindow,mon: next
bind = SUPER,o,movewindow,mon:l
bind = SUPER,y,togglespecialworkspace
bind = SUPER,i,movewindow,left
bind = SUPERSHIFT,p,pin