Minimize page

This commit is contained in:
Aidan Sharpe
2025-01-20 22:33:43 -05:00
parent a80a6a5162
commit a865d2e1a6
15 changed files with 194 additions and 207 deletions

Binary file not shown.

View File

@ -104,7 +104,6 @@ tooltip {
.active_workspace {
background: transparent;
padding: 0 8px 0px 14px;
border-radius: 7px;
margin-top: 3px;
margin-bottom: 3px;
@ -113,7 +112,6 @@ tooltip {
.inactive_workspace {
background: transparent;
padding: 0 8px 0px 14px;
margin-top: 3px;
margin-bottom: 3px;
border-radius: 7px;

Binary file not shown.

View File

@ -1,4 +1,4 @@
ACTIVE=$(hyprctl activeworkspace | grep -Po '(?<=ID )[[:digit:]]')
ACTIVE=$(hyprctl activeworkspace | grep -Po '(?<=ID )[[:digit:]]*')
if [ $ACTIVE -eq $1 ]
then

View File

@ -6,6 +6,7 @@
(include "widgets/system_info.yuck")
(include "widgets/desktop_button.yuck")
(include "widgets/weather.yuck")
(defpoll minimized :interval "0.1s" "bash scripts/workspace_class.sh 10")
(defwidget bar []
(box :orientation "h" :class "bar" :spacing "10" :space-evenly false
@ -19,6 +20,7 @@
(weather)
(systeminfo)
(date_time)
(button :class minimized :tooltip "Show Minimied" :onclick "hyprctl dispatch workspace 10" " ")
)
)
(box :class "right bar_section" :halign "end" :space-evenly false

View File

@ -11,7 +11,7 @@
( defwidget workspaces []
(eventbox
(box :space-evenly "false" :orientation "h" :spacing "0"
(box :space-evenly "false" :orientation "h" :spacing "22"
(button :class workspace_1 :onclick "hyprctl dispatch workspace 1" "₁")
(button :class workspace_2 :onclick "hyprctl dispatch workspace 2" "󰖟₂")
(button :class workspace_3 :onclick "hyprctl dispatch workspace 3" "󰭹₃")