Compare commits

...

5 Commits

Author SHA1 Message Date
8f8cf3b489 tweaked volume scale colors 2026-06-17 19:20:39 -05:00
76c7b98d65 removed center launcher and ip fetching 2026-06-14 19:57:31 -05:00
7315360f0a black and white theme 2026-06-13 15:22:22 -05:00
541bb9a60c added disk3 2026-06-07 15:58:52 -05:00
9122f56241 made big clock bigger 2026-06-07 15:58:13 -05:00
2 changed files with 57 additions and 45 deletions

View File

@@ -10,11 +10,11 @@ $scarlet: #ff0000;
window { window {
font-size: 20px; font-size: 20px;
border-radius: 10px; border-radius: 10px;
text-shadow: 1px 1px 3px black; color: black;
} }
.bar { .bar {
color: white; //font color: black; //font
padding: 0px; padding: 0px;
} }
@@ -22,14 +22,14 @@ window {
button { button {
padding: 0px 7px; //top-bottom, left-right padding: 0px 7px; //top-bottom, left-right
margin: 3px; margin: 2px;
border: 1px solid white; border: 1px solid black;
border-radius: 5px; border-radius: 5px;
background-color: $grey; background-color: white;
} }
button:hover { button:hover {
background-color: rgba(white, 0.5); background-color: rgba(black, 0.9);
border-color: black; border-color: black;
color: black; color: black;
} }
@@ -39,8 +39,9 @@ slider {
} }
scale trough { scale trough {
background-color: rgba(black, 0.7); background-color: white;
border-radius: 10px; border-radius: 10px;
border: 1px solid black;
min-height: 5px; min-height: 5px;
min-width: 50px; min-width: 50px;
margin-left: 5px; margin-left: 5px;
@@ -48,23 +49,23 @@ scale trough {
} }
scale trough highlight { scale trough highlight {
background-color: white; background-color: black;
color: black; color: black;
border-radius: 10px; border-radius: 10px;
} }
tooltip { tooltip {
background-color: rgba($grey, 0.9); background-color: rgba(white, 0.9);
font-size: 20px; font-size: 20px;
color: white; color: black;
padding: 3px; padding: 3px;
margin: 10px 20px; margin: 10px 20px;
border: 1px solid black;
border-radius: 5px; border-radius: 5px;
text-shadow: 1px 1px 3px black;
} }
calendar { calendar {
background-color: rgba($grey, 0.95); background-color: rgba(white, 0.95);
border-radius: 5px; border-radius: 5px;
} }
@@ -77,31 +78,32 @@ circular-progress {
//Classes //Classes
.island { .island {
border-radius: 10px; border: 2px solid black;
background-color: rgba($grey, 0.9); border-radius: 15px;
background-color: rgba(white, 0.8);
padding: 5px; padding: 5px;
margin: 2px; margin: 2px;
} }
.monitor { .monitor {
border: 2px solid black;
border-radius: 6px; border-radius: 6px;
background-color: rgba($grey, 0.9); background-color: rgba(white, 0.5);
padding: 5px; padding: 5px;
margin: 2px; margin: 2px;
box-shadow: 1px -1px 1px inset;
} }
.workspaces button{ .workspaces button{
padding: 0px 7px; //top-bottom, left-right padding: 0px 7px; //top-bottom, left-right
border: 1px solid white; border: 1px solid black;
border-radius: 5px; border-radius: 5px;
background-color: $grey; background-color: white;
} }
.workspaces button:hover { .workspaces button:hover {
background-color: rgba(white, 0.5); background-color: rgba(black, 0.9);
border-color: black; border-color: black;
color: black; color: white;
} }
.active_workspace{ .active_workspace{
@@ -109,7 +111,7 @@ circular-progress {
} }
.center { .center {
color: rgba(white, 0.9); color: rgba(black, 0.9);
} }
.center button{ .center button{
@@ -129,7 +131,7 @@ circular-progress {
} }
.clock { .clock {
font-size: 20px; font-size: 40px;
font-weight: bold; font-weight: bold;
} }
@@ -137,6 +139,12 @@ circular-progress {
margin: 10px; margin: 10px;
} }
.icon {
text-shadow: 0px 5px;
background-color: rgba($grey,0.7);
border-radius: 20px;
padding: 5px
}
.visualizer { .visualizer {
font-size: 10px; font-size: 10px;

View File

@@ -8,13 +8,13 @@
:geometry (geometry :geometry (geometry
:y "3px" :y "3px"
:width "99%" :width "99%"
:height "2%"
:anchor "bottom center") :anchor "bottom center")
(bar) (bar)
) )
(defpoll time :interval "1s" :initial `date +%H:%M:%S` `date +%H:%M:%S`) (defpoll time :interval "1s" :initial `date +%H:%M:%S` `date +%H:%M:%S`)
(defpoll date :interval "1m" "date +%m/%d/%y") (defpoll date :interval "1m" "date +%m/%d/%y")
(defpoll ip_addr :interval "1h" 'ip -j a show enp0s3')
(defpoll volume :interval "250ms" 'wpctl get-volume @DEFAULT_SINK@') ;;turn this into a script or smth (defpoll volume :interval "250ms" 'wpctl get-volume @DEFAULT_SINK@') ;;turn this into a script or smth
(defpoll active_workspaces :interval "250ms" "hyprctl workspaces -j") (defpoll active_workspaces :interval "250ms" "hyprctl workspaces -j")
(defpoll active_window :interval "500ms" 'hyprctl activewindow -j') (defpoll active_window :interval "500ms" 'hyprctl activewindow -j')
@@ -24,7 +24,6 @@
(defvar reveal_sound false) (defvar reveal_sound false)
(defvar reveal_sound_menu false) (defvar reveal_sound_menu false)
(defvar network_interface "enp5s0") ;;the interface to listen to (defvar network_interface "enp5s0") ;;the interface to listen to
(defvar reveal_apps 0)
(defvar browser "microsoft-edge-stable") (defvar browser "microsoft-edge-stable")
(defvar filemanager "dolphin") (defvar filemanager "dolphin")
@@ -35,9 +34,15 @@
;; DONE volume ;; DONE volume
;; make the sound icon do smth ;; make the sound icon do smth
;; power menu ;; power menu
;; remove app tray ;; DONE remove app tray
;; limit width of cava visualizer ;; limit width of cava visualizer
;; handle second monitor ;; DONE handle second monitor
;; remove cpu graph
;; add more temp sensors
;; make the cpu two colums somehow
;; fix widgets and whatnot not showing up
;; show ram percentage on hover
;; make the storage pie icon look better
(defwidget workspaces [] (defwidget workspaces []
(box (box
@@ -98,28 +103,14 @@
:class "monitor" :class "monitor"
:orientation "v" :orientation "v"
"${network_interface}" "${network_interface}"
(label :limit_width 25 :wrap true :text "ip: ${ip_addr[0].addr_info[0].local}")
(label :text "󰕒:${round(EWW_NET.enp5s0.NET_UP / 1000000 * 8, 1)} / 󰇚:${round(EWW_NET.enp5s0.NET_DOWN / 1000000 * 8, 1)} mbps") (label :text "󰕒:${round(EWW_NET.enp5s0.NET_UP / 1000000 * 8, 1)} / 󰇚:${round(EWW_NET.enp5s0.NET_DOWN / 1000000 * 8, 1)} mbps")
) )
) )
(defwidget center [] (defwidget center []
(eventbox (label :class "center island" :text "${active_window.title ?: splash}")
:class "center island" )
:onhover "eww update reveal_apps=1"
:onhoverlost "eww update reveal_apps=0"
(stack
:selected reveal_apps
:transition "slidedown"
:samesize true
(label :class "center island" :text "${active_window.title ?: splash}")
(box
:orientation "h"
:space-evenly true
(button :onclick {browser} "")
(button :onclick {filemanager} ""))
)))
(defwidget right [] (defwidget right []
@@ -130,9 +121,10 @@
:space-evenly false :space-evenly false
:halign "end" :halign "end"
(systray (systray
:class "icon"
:spacing 3 :spacing 3
:orientation "h" :orientation "h"
:space-evenly false :space-evenly true
:icon-size 25 :icon-size 25
:prepend-new false) :prepend-new false)
(sound) (sound)
@@ -271,14 +263,26 @@
(defwidget disk [] (defwidget disk []
(box (box
:class "monitor" :class "monitor"
:orientation "v"
:space-evenly false
(box
:orientation "h" :orientation "h"
:space-evenly false :space-evenly false
(label :text "/: ${round(EWW_DISK["/"].free/1000000000, 2)}/${round(EWW_DISK["/"].total/1000000000,2)} GB") (label :text "/: ${round(EWW_DISK["/"].free/1000000000, 2)}/${round(EWW_DISK["/"].total/1000000000,2)} GB")
(circular-progress (circular-progress
:value {round(EWW_DISK["/"].used_perc, 1)} :value {round(EWW_DISK["/"].used_perc, 1)}
:thickness 6) :thickness 6)
(label :text "${round(EWW_DISK["/"].used_perc, 1)}% used") (label :text "${round(EWW_DISK["/"].used_perc, 1)}% used"))
)) (box
:orientation "h"
:space-evenly false
(label :text "/disk3: ${round(EWW_DISK["/mnt/disk3"].free/1000000000, 2)}/${round(EWW_DISK["/mnt/disk3"].total/1000000000,2)} GB")
(circular-progress
:value {round(EWW_DISK["/mnt/disk3"].used_perc, 1)}
:thickness 6)
(label :text "${round(EWW_DISK["/mnt/disk3"].used_perc, 1)}% used"))
)
)
(deflisten cava "bash $HOME/.config/eww/scripts/cava.sh") (deflisten cava "bash $HOME/.config/eww/scripts/cava.sh")