added toggle-layout and chameleos for screen annotation

main
The_miro 2026-02-20 10:27:45 +01:00
parent 0a8683200f
commit 1e47547c52
2 changed files with 18 additions and 3 deletions

View File

@ -57,7 +57,7 @@ bind = $mainMod CTRL, P, exec, ~/.config/scripts/screenrec.sh
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, T, exec, $terminal bind = $mainMod, T, exec, $terminal
bind = $mainMod SHIFT, T, exec, cool-retro-term -p /home/themiro/Dotfiles/desktopenvs/hyprland/CRT bind = $mainMod SHIFT, T, exec, cool-retro-term -p ~/Dotfiles/desktopenvs/hyprland/CRT
bind = $mainMod, Z, exec, ~/.config/scripts/togglebar.sh bind = $mainMod, Z, exec, ~/.config/scripts/togglebar.sh
bind = $mainMod, Q, killactive, bind = $mainMod, Q, killactive,
bind = $mainMod, M, exec, $editor bind = $mainMod, M, exec, $editor
@ -84,7 +84,9 @@ bind = $mainMod SHIFT, I, exec, [tag +mixer] nm-connection-editor
bind = $mainMod, I, exec, iwmenu --launcher walker bind = $mainMod, I, exec, iwmenu --launcher walker
bind = $mainMod ALT, I, exec, bzmenu --launcher walker bind = $mainMod ALT, I, exec, bzmenu --launcher walker
bind = $mainMod, S, exec, [tag +mixer] hyprpwcenter bind = $mainMod CTRL, M, exec, ~/.config/scripts/toggle-layout.sh
bind = $mainMod, S, exec, [tag +mixer] pavucontrol
bind = $mainMod, F1, exec, [tag +centered] kitty ~/.config/scripts/helpmenu.sh bind = $mainMod, F1, exec, [tag +centered] kitty ~/.config/scripts/helpmenu.sh
bind = $mainMod, U, exec, [tag +centered-L] kitty btop bind = $mainMod, U, exec, [tag +centered-L] kitty btop
bind = $mainMod SHIFT, F1, exec, [tag +centered-L] kitty nvim ~/.config/binds.conf bind = $mainMod SHIFT, F1, exec, [tag +centered-L] kitty nvim ~/.config/binds.conf
@ -277,7 +279,9 @@ bindle=, XF86MonBrightnessDown, exec, bri --down
bindl=, XF86AudioPlay, exec, playerctl play-pause -p spotify, vlc bindl=, XF86AudioPlay, exec, playerctl play-pause -p spotify, vlc
bind= $mainMod CTRL, I, exec, ~/.config/scripts/getispeed.sh bind= $mainMod CTRL, I, exec, chamel toggle
bind= $mainMod CTRL, U, exec, chamel clear
bind= $mainMod CTRL, Z, exec, chamel clear-and-deactivate
#bind= $mainMod SHIFT, I, exec, env GTK_THEME=cyberqueer nm-connection-editor #bind= $mainMod SHIFT, I, exec, env GTK_THEME=cyberqueer nm-connection-editor
bind= $mainMod CTRL, C, exec, dunstctl close-all bind= $mainMod CTRL, C, exec, dunstctl close-all
bind= $mainMod CTRL, G, exec, ~/.config/scripts/onscreenkb.sh bind= $mainMod CTRL, G, exec, ~/.config/scripts/onscreenkb.sh

View File

@ -0,0 +1,11 @@
#!/bin/bash
statecon=$( hyprctl getoption general:layout | grep master )
#notify-send $statecon
if [ "$statecon" != '' ]; then
hyprctl keyword general:layout dwindle
else
hyprctl keyword general:layout master
fi