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 # - (Linux/BSD) user login shell
# - (Windows) powershell # - (Windows) powershell
shell: shell:
program: nu program: fish
# args: # args:
# - --login # - --login

View file

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

View file

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

View file

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

View file

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

View file

@ -2,4 +2,4 @@
disk_usage=$(df -h | rg /dev/nvme0n1p2 | awk '{print $4}' | head -n 1) 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:disable_autoreload = true
misc {
focus_on_activate = true
}
# example window rules # example window rules
# for windows named/classed as abc and xyz # for windows named/classed as abc and xyz
@ -185,7 +188,7 @@
bind = SUPERSHIFT,9,movetoworkspace,9 bind = SUPERSHIFT,9,movetoworkspace,9
bind = SUPERSHIFT,0,movetoworkspace,10 bind = SUPERSHIFT,0,movetoworkspace,10
bind = SUPER,o,movewindow,mon: next bind = SUPER,o,movewindow,mon:l
bind = SUPER,y,togglespecialworkspace bind = SUPER,y,togglespecialworkspace
bind = SUPER,i,movewindow,left bind = SUPER,i,movewindow,left
bind = SUPERSHIFT,p,pin bind = SUPERSHIFT,p,pin