implemented screen rotation fully
parent
98595d39c8
commit
6e112c8c5f
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue