implemented screen rotation fully
parent
98595d39c8
commit
6e112c8c5f
|
|
@ -19,7 +19,7 @@
|
||||||
(defwidget bar [monitor_]
|
(defwidget bar [monitor_]
|
||||||
(centerbox :orientation "h"
|
(centerbox :orientation "h"
|
||||||
(winsworks :monitor monitor_)
|
(winsworks :monitor monitor_)
|
||||||
(music)
|
(screenrotate )
|
||||||
(sidestuff)))
|
(sidestuff)))
|
||||||
|
|
||||||
(defwidget winsworks [monitor]
|
(defwidget winsworks [monitor]
|
||||||
|
|
@ -33,7 +33,6 @@
|
||||||
|
|
||||||
(defwidget sidestuff []
|
(defwidget sidestuff []
|
||||||
(box :class "sidestuff" :orientation "h" :space-evenly false :halign "end"
|
(box :class "sidestuff" :orientation "h" :space-evenly false :halign "end"
|
||||||
(box :class "music" {" ${IP}"})
|
|
||||||
(metric :label ""
|
(metric :label ""
|
||||||
:value volume
|
:value volume
|
||||||
:onchange "pactl set-sink-volume @DEFAULT_SINK@ {}%"
|
:onchange "pactl set-sink-volume @DEFAULT_SINK@ {}%"
|
||||||
|
|
@ -46,6 +45,24 @@
|
||||||
(systray :class "music" :orientation "h" :spacing 2 :space-evenly true)
|
(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 []
|
(defwidget music []
|
||||||
(button :class "music"
|
(button :class "music"
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
|
|
|
||||||
|
|
@ -42,12 +42,15 @@ bind = $mainMod, B, togglesplit, # dwindle
|
||||||
bind = $mainMod SHIFT, O, exec, hyprctl dispatch exit 1
|
bind = $mainMod SHIFT, O, exec, hyprctl dispatch exit 1
|
||||||
bind = $mainMod, O, exec, hyprlock
|
bind = $mainMod, O, exec, hyprlock
|
||||||
#bind = $mainMod, A, exec, killall waybar ; waybar
|
#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, N, exec, nextcloud
|
||||||
bind = $mainMod, I, exec, [tag +mixer] nm-connection-editor
|
bind = $mainMod, I, exec, [tag +mixer] nm-connection-editor
|
||||||
bind = $mainMod, S, exec, [tag +mixer] pavucontrol
|
bind = $mainMod, S, exec, [tag +mixer] pavucontrol
|
||||||
bind = $mainMod, X, exec, wofi --show=run
|
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
|
# Move focus with mainMod + vim keys
|
||||||
bind = $mainMod, $vimleft, movefocus, l
|
bind = $mainMod, $vimleft, movefocus, l
|
||||||
bind = $mainMod, $vimright, movefocus, r
|
bind = $mainMod, $vimright, movefocus, r
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue