Minimize page
This commit is contained in:
Binary file not shown.
@ -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.
@ -1,4 +1,4 @@
|
||||
ACTIVE=$(hyprctl activeworkspace | grep -Po '(?<=ID )[[:digit:]]')
|
||||
ACTIVE=$(hyprctl activeworkspace | grep -Po '(?<=ID )[[:digit:]]*')
|
||||
|
||||
if [ $ACTIVE -eq $1 ]
|
||||
then
|
||||
|
@ -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
|
||||
|
@ -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" "₃")
|
||||
|
Reference in New Issue
Block a user