lots of refactoring
This commit is contained in:
parent
a1191ff72a
commit
e6901ef554
21 changed files with 37 additions and 103 deletions
|
@ -35,34 +35,6 @@
|
|||
(literal
|
||||
:content workspace))
|
||||
|
||||
;; (defwidget workspaces []
|
||||
;; (box
|
||||
;; :class "works"
|
||||
;; :orientation "h"
|
||||
;; :spacing 5
|
||||
;; :space-evenly "false"
|
||||
;; :valign "center"
|
||||
;; (button
|
||||
;; :onclick "hyprctl dispatch workspace 1"
|
||||
;; :onrightclick "hyprctl dispatch workspace 1 && $HOME/.config/hypr/themes/neon/scripts/default_app"
|
||||
;; :class "0$o1$f1" "")
|
||||
;; (button
|
||||
;; :onclick "hyprctl dispatch workspace 2"
|
||||
;; :onrightclick "hyprctl dispatch workspace 2 && $HOME/.config/hypr/themes/neon/scripts/default_app"
|
||||
;; :class "0$o2$f2" "")
|
||||
;; (button
|
||||
;; :onclick "hyprctl dispatch workspace 3"
|
||||
;; :onrightclick "hyprctl dispatch workspace 3 && $HOME/.config/hypr/themes/neon/scripts/default_app"
|
||||
;; :class "0$o3$f3" "")
|
||||
;; (button
|
||||
;; :onclick "hyprctl dispatch workspace 4"
|
||||
;; :onrightclick "hyprctl dispatch workspace 4 && $HOME/.config/hypr/themes/neon/scripts/default_app"
|
||||
;; :class "0$o4$f4" "")
|
||||
;; (button
|
||||
;; :onclick "hyprctl dispatch workspace 5"
|
||||
;; :onrightclick "hyprctl dispatch workspace 5 && $HOME/.config/hypr/themes/neon/scripts/default_app"
|
||||
;; :class "0$o5$f5" "")))
|
||||
|
||||
(defwidget appnames []
|
||||
(eventbox
|
||||
:onhover "${EWW_CMD} update control_reveal=true"
|
||||
|
@ -93,52 +65,6 @@
|
|||
:class "app-button"
|
||||
:onclick "hyprctl dispatch killactive 1" ""))))))
|
||||
|
||||
;; (defwidget bright []
|
||||
;; (eventbox
|
||||
;; :onhover "${EWW_CMD} update br_reveal=true"
|
||||
;; :onhoverlost "${EWW_CMD} update br_reveal=false"
|
||||
;; :visible {HOST == "kaladin" ? "false" : "true"}
|
||||
;; (box
|
||||
;; :class "module"
|
||||
;; :space-evenly "false"
|
||||
;; :orientation "h"
|
||||
;; :spacing "3"
|
||||
;; (scale
|
||||
;; :class "brightbar"
|
||||
;; :value brightness_percent
|
||||
;; :orientation "h"
|
||||
;; :tooltip "${brightness_percent}%"
|
||||
;; :max 100
|
||||
;; :min 0
|
||||
;; :onchange "brightnessctl s {}%" )
|
||||
;; (label
|
||||
;; :text ""
|
||||
;; :class "bright_icon"
|
||||
;; :tooltip "brightness"))))
|
||||
|
||||
;; (defwidget volume []
|
||||
;; (eventbox
|
||||
;; :onhover "${EWW_CMD} update vol_reveal=true"
|
||||
;; :onhoverlost "${EWW_CMD} update vol_reveal=false"
|
||||
;; (box
|
||||
;; :class "module-2"
|
||||
;; :space-evenly "false"
|
||||
;; :orientation "h"
|
||||
;; :spacing "3"
|
||||
;; (scale
|
||||
;; :class "volbar"
|
||||
;; :value volume_percent
|
||||
;; :draw-value: true
|
||||
;; :orientation "h"
|
||||
;; :tooltip "${volume_percent}%"
|
||||
;; :max 150
|
||||
;; :min 0
|
||||
;; :onchange "pamixer --set-volume {}" )
|
||||
;; (button
|
||||
;; :onclick "scripts/pop audio"
|
||||
;; :class "volume_icon"
|
||||
;; "墳"))))
|
||||
|
||||
(defwidget wifi []
|
||||
(eventbox
|
||||
:onhover "${EWW_CMD} update wifi_rev=true"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue