diff --git a/desktopenvs/hyprland/eww-touch/eww.yuck b/desktopenvs/hyprland/eww-touch/eww.yuck index f9ee5d9..c1d5902 100644 --- a/desktopenvs/hyprland/eww-touch/eww.yuck +++ b/desktopenvs/hyprland/eww-touch/eww.yuck @@ -19,7 +19,7 @@ (defwidget bar [monitor_] (centerbox :orientation "h" (winsworks :monitor monitor_) - (music) + (screenrotate ) (sidestuff))) (defwidget winsworks [monitor] @@ -33,7 +33,6 @@ (defwidget sidestuff [] (box :class "sidestuff" :orientation "h" :space-evenly false :halign "end" - (box :class "music" {"󰛳 ${IP}"}) (metric :label "󰓃" :value volume :onchange "pactl set-sink-volume @DEFAULT_SINK@ {}%" @@ -46,6 +45,24 @@ (systray :class "music" :orientation "h" :spacing 2 :space-evenly true) )) + +(defwidget screenrotate [] + (button :class "music" + :orientation "h" + :space-evenly false + :halign "center" + :onclick "~/Dotfiles/desktopenvs/hyprland/scripts/screenrotationacw.sh" + {"󱞧"} + ) + (button :class "music" + :orientation "h" + :space-evenly false + :halign "center" + :onclick "~/Dotfiles/desktopenvs/hyprland/scripts/screenrotationwcw.sh" + {"󱞫"} + ) +) + (defwidget music [] (button :class "music" :orientation "h" diff --git a/desktopenvs/hyprland/hypr-usr/binds.conf b/desktopenvs/hyprland/hypr-usr/binds.conf index a957f36..226e1b2 100644 --- a/desktopenvs/hyprland/hypr-usr/binds.conf +++ b/desktopenvs/hyprland/hypr-usr/binds.conf @@ -42,12 +42,15 @@ bind = $mainMod, B, togglesplit, # dwindle bind = $mainMod SHIFT, O, exec, hyprctl dispatch exit 1 bind = $mainMod, O, exec, hyprlock #bind = $mainMod, A, exec, killall waybar ; waybar -bind = $mainMod CTRL, E, exec, eww reload +bind = $mainMod CTRL, B, exec, eww reload bind = $mainMod, N, exec, nextcloud bind = $mainMod, I, exec, [tag +mixer] nm-connection-editor bind = $mainMod, S, exec, [tag +mixer] pavucontrol bind = $mainMod, X, exec, wofi --show=run +bind = $mainMod CTRL, E, exec, ~/Dotfiles/desktopenvs/hyprland/scripts/screenrotationwcw.sh +bind = $mainMod CTRL, D, exec, ~/Dotfiles/desktopenvs/hyprland/scripts/screenrotationacw.sh + # Move focus with mainMod + vim keys bind = $mainMod, $vimleft, movefocus, l bind = $mainMod, $vimright, movefocus, r