added WallRizz

main
The_miro 2026-03-24 13:46:34 +01:00
parent 644949a010
commit 36080f464a
5 changed files with 189 additions and 28 deletions

View File

@ -1,7 +1,7 @@
* { * {
all: unset; // Unsets everything so you can style everything from scratch all: unset; // Unsets everything so you can style everything from scratch
font-family: Agave Nerd Font Mono, sans-serif; font-family: Agave Nerd Font Mono, sans-serif;
font-size: 14pt; font-size: 27pt;
} }
tooltip { tooltip {
@ -9,7 +9,7 @@ tooltip {
border-width: 3px; border-width: 3px;
background: #1a1a1a; background: #1a1a1a;
color: #5018dd; color: #5018dd;
border-radius: 25px; border-radius: 35px;
} }

View File

@ -6,13 +6,13 @@
:geometry (geometry :x "0%" :geometry (geometry :x "0%"
:y "1%" :y "1%"
:width "99%" :width "99%"
:height "20px" :height "5%"
:anchor "top center") :anchor "top center")
:exclusive true :exclusive true
(bar :monitor_ monitor)) (bar :monitor_ monitor))
(defpoll battery :interval "2s" (defpoll battery :interval "2s"
"~/Dotfiles/desktopenvs/hyprland/scripts/batteryperc") "~/.config/scripts/batteryperc")
@ -26,21 +26,17 @@
(box :orientation "h" :space-evenly false :halign "start" (box :orientation "h" :space-evenly false :halign "start"
(osk) (osk)
(box :class "music" {"${battery}"}) (box :class "music" {"${battery}"})
(workspaceWidget :monitor monitor) (button :onclick "~/Dotfiles/desktopenvs/hyprland/scripts/drawer.sh" :class "music" {""})
(button :onclick "~/Dotfiles/desktopenvs/hyprland/scripts/drawer.sh" :class "music" {" ${activewindow}"}) (metric :label "󰓃 "
:value volume
:onchange "pactl set-sink-volume @DEFAULT_SINK@ {}%"
:onclick "killall pavucontrol || hyprctl dispatch exec \[tag +mixer\] pavucontrol")
) )
) )
(defwidget sidestuff [] (defwidget sidestuff []
(box :class "sidestuff" :orientation "h" :space-evenly false :halign "end" (box :class "sidestuff" :orientation "h" :space-evenly false :halign "end"
(metric :label "󰓃"
:value volume
:onchange "pactl set-sink-volume @DEFAULT_SINK@ {}%"
:onclick "killall pavucontrol || hyprctl dispatch exec \[tag +mixer\] pavucontrol")
(metric :label ""
:value {round((1 - (EWW_DISK["/"].free / EWW_DISK["/"].total)) * 100, 0)}
:onchange ""
:onclick "")
(clock) (clock)
(systray :class "music" :orientation "h" :spacing 2 :space-evenly true) (systray :class "music" :orientation "h" :spacing 2 :space-evenly true)
)) ))
@ -52,11 +48,17 @@
:orientation "h" :orientation "h"
:space-evenly false :space-evenly false
:halign "center" :halign "center"
:onclick "~/Dotfiles/desktopenvs/hyprland/scripts/screenrotationacw.sh" :onclick "hyprctl dispatch workspace -1"
{""}
)
(button :class "music"
:orientation "h"
:space-evenly false
:halign "center"
:onclick "~/.config/scripts/screenrotationacw.sh"
{"󱞧"} {"󱞧"}
) )
(button :class "music" (button :class "music"
:orientation "h" :orientation "h"
:space-evenly false :space-evenly false
@ -68,9 +70,18 @@
:orientation "h" :orientation "h"
:space-evenly false :space-evenly false
:halign "center" :halign "center"
:onclick "~/Dotfiles/desktopenvs/hyprland/scripts/screenrotationwcw.sh" :onclick "~/.config/scripts/screenrotationwcw.sh"
{"󱞫"} {"󱞫"}
) )
(button :class "music"
:orientation "h"
:space-evenly false
:halign "center"
:onclick "hyprctl dispatch workspace +1"
{""}
)
)) ))
(defwidget music [] (defwidget music []
@ -86,7 +97,7 @@
:orientation "h" :orientation "h"
:space-evenly false :space-evenly false
:halign "center" :halign "center"
:onclick "~/Dotfiles/desktopenvs/hyprland/scripts/onscreenkb.sh" :onclick "~/.config/scripts/onscreenkb.sh"
{" 󰌌"} {" 󰌌"}
) )
) )

View File

@ -0,0 +1,150 @@
(defwindow bar [monitor]
:monitor monitor
:class "ewwbar"
:windowtype "dock"
:geometry (geometry :x "0%"
:y "1%"
:width "99%"
:height "5%"
:anchor "top center")
:exclusive true
(bar :monitor_ monitor))
(defpoll battery :interval "2s"
"~/.config/scripts/batteryperc")
(defwidget bar [monitor_]
(centerbox :orientation "h"
(winsworks :monitor monitor_)
(screenrotate )
(sidestuff)))
(defwidget winsworks [monitor]
(box :orientation "h" :space-evenly false :halign "start"
(osk)
(box :class "music" {"${battery}"})
(workspaceWidget :monitor monitor)
(button :onclick "~/Dotfiles/desktopenvs/hyprland/scripts/drawer.sh" :class "music" {" ${activewindow}"})
)
)
(defwidget sidestuff []
(box :class "sidestuff" :orientation "h" :space-evenly false :halign "end"
(metric :label "󰓃 "
:value volume
:onchange "pactl set-sink-volume @DEFAULT_SINK@ {}%"
:onclick "hyprctl dispatch exec \[tag +mixer\] hyprpwcenter")
(metric :label " "
:value {round((1 - (EWW_DISK["/"].free / EWW_DISK["/"].total)) * 100, 0)}
:onchange ""
:onclick "")
(clock)
(systray :class "music" :orientation "h" :spacing 2 :space-evenly true)
))
(defwidget screenrotate []
(box :orientation "h" :space-evenly false :halign "center"
(button :class "music"
:orientation "h"
:space-evenly false
:halign "center"
:onclick "~/.config/scripts/screenrotationacw.sh"
{"󱞧"}
)
(button :class "music"
:orientation "h"
:space-evenly false
:halign "center"
:onclick "hyprctl dispatch killactive"
{""}
)
(button :class "music"
:orientation "h"
:space-evenly false
:halign "center"
:onclick "~/.config/scripts/screenrotationwcw.sh"
{"󱞫"}
)
))
(defwidget music []
(button :class "music"
:orientation "h"
:space-evenly false
:halign "center"
:onclick "~/Dotfiles/desktopenvs/hyprland/scripts/playpause.sh"
{music != "" ? " ${music}" : " None"}))
(defwidget osk []
(button :class "music"
:orientation "h"
:space-evenly false
:halign "center"
:onclick "~/.config/scripts/onscreenkb.sh"
{" 󰌌"}
)
)
(defwidget metric [label value onchange onclick]
(box :orientation "h"
:class "metric"
:space-evenly false
(button :class "label" :onclick onclick label)
(scale :min 0
:max 101
:active {onchange != ""}
:value value
:onchange onchange)))
(deflisten workspaces "hyprland-workspaces _")
(defwidget workspaceWidget [monitor]
(eventbox :onscroll "hyprctl dispatch workspace `echo {} | sed 's/up/+/\' | sed 's/down/-/'`1"
(box :class "workspaces"
:space-evenly false
:width 20
(for i in {workspaces[monitor].workspaces}
(button
:width 20
:onclick "hyprctl dispatch workspace ${i.id}"
:class "${i.class}"
{i.name == "special:magic" ? "󱂬" : "󱂬${i.name}"})))))
(deflisten workspace-old "~/Dotfiles/desktopenvs/hyprland/scripts/workspace")
(defwidget workspaces-old []
(literal :content workspace-old))
(defpoll music :interval "0.5s"
"~/Dotfiles/desktopenvs/hyprland/scripts/playerget")
(defpoll activewindow :interval "0.5s"
"~/Dotfiles/desktopenvs/hyprland/scripts/activewindow")
(defpoll IP :interval "5s"
"~/Dotfiles/desktopenvs/hyprland/scripts/ip")
(defpoll volume :interval "0.5s"
"~/Dotfiles/desktopenvs/hyprland/scripts/getvol")
(defpoll time :interval "1s"
"date '+%H:%M:%S|%d.%m.%Y'")
(defwidget clock []
(box :class "clock"
:tooltip {calender}
(label :text {"${time}"})
)
)
(defpoll calender :interval "600s"
"~/Dotfiles/desktopenvs/hyprland/scripts/calender-fix.sh")

View File

@ -36,8 +36,8 @@ gesture = 4, right, dispatcher, movetoworkspace, r-1
### KEYBINDINGSS ### ### KEYBINDINGSS ###
#################### ####################
bindl=,switch:on:Lid Switch, exec, hyprctl dispatch dpms off && hyprctl dispatch exec hyprlock bindl=,switch:on:Lid Switch, exec, systemctl suspend &
bindl=,switch:off:Lid Switch, exec, hyprctl dispatch dpms on bindl=,switch:off:Lid Switch, exec, hyprctl dispatch exec hyprlock
# See https://wiki.hyprland.org/Configuring/Keywords/ # See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier $mainMod = SUPER # Sets "Windows" key as main modifier
@ -236,7 +236,7 @@ bind = $mainMod SHIFT, D, exec, killall nwg-dock-hyprland && nwg-dock-hyprland -
bindr = $mainMod, D, exec, nwg-dock-hyprland bindr = $mainMod, D, exec, nwg-dock-hyprland
bind = $mainMod SHIFT, A, exec, ~/.config/scripts/drawer.sh bind = $mainMod SHIFT, A, exec, ~/.config/scripts/drawer.sh
bind = $mainMod, W, exec, ~/.config/scripts/menu.sh bind = $mainMod, W, exec, [tag +centered-L] kitty -e WallRizz -d ~/Pictures
#GROUPS #GROUPS
bind = $mainMod ALT, C, togglegroup, bind = $mainMod ALT, C, togglegroup,
@ -266,16 +266,16 @@ bind = $mainMod, P, exec, ~/.config/scripts/screenshot.sh
bind = $mainMod SHIFT, P, exec, hyprpicker | wl-copy bind = $mainMod SHIFT, P, exec, hyprpicker | wl-copy
#audio controls #audio controls
bindle =, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+ binde =, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+
bindle =, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%- binde =, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-
bindl =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind =, XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle bind =, XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindle=, XF86MonBrightnessUp, exec, hyprctl hyprsunset gamma +10 bindle=, XF86MonBrightnessUp, exec, bri --up
bindle=, XF86MonBrightnessDown, exec, hyprctl hyprsunset gamma -10 bindle=, XF86MonBrightnessDown, exec, bri --down
bindl=, XF86AudioPlay, exec, playerctl play-pause -p spotify, vlc bindl=, XF86AudioPlay, exec, playerctl play-pause -p spotify, vlc

View File

@ -27,7 +27,7 @@ sudo systemctl enable udisks2.service
# 4. Install AUR packages (from hyprland.sh) # 4. Install AUR packages (from hyprland.sh)
echo "Installing AUR packages..." echo "Installing AUR packages..."
rustup default stable rustup default stable
yay -Syu --answerdiff None --answerclean All hyprland-workspaces vicinae-bin bluetuith wvkbd kew iwmenu bzmenu pinta localsend udiskie rust rustup yay -Syu --answerdiff None --answerclean All hyprland-workspaces vicinae-bin bluetuith wvkbd kew iwmenu bzmenu pinta localsend udiskie rust rustup WallRizz
# 5. EWW bar selection and compilation (from hyprland.sh) # 5. EWW bar selection and compilation (from hyprland.sh)
echo "Setting up EWW bar..." echo "Setting up EWW bar..."