diff --git a/Configs/.config/hypr/keybindings.conf b/Configs/.config/hypr/keybindings.conf index 8d87d7f5a4..616777560a 100644 --- a/Configs/.config/hypr/keybindings.conf +++ b/Configs/.config/hypr/keybindings.conf @@ -14,6 +14,10 @@ $editor = code $file = dolphin $browser = firefox +# Exec swayosd daemon +exec-once = swayosd-server + + # Window/Session actions bind = $mainMod, Q, exec, $scrPath/dontkillsteam.sh # close focused window bind = Alt, F4, exec, $scrPath/dontkillsteam.sh # close focused window @@ -42,10 +46,10 @@ bind = $mainMod+Shift, E, exec, pkill -x rofi || $scrPath/rofilaunch.sh f # laun bindl = , F10, exec, $scrPath/volumecontrol.sh -o m # toggle audio mute bindel = , F11, exec, $scrPath/volumecontrol.sh -o d # decrease volume bindel = , F12, exec, $scrPath/volumecontrol.sh -o i # increase volume -bindl = , XF86AudioMute, exec, $scrPath/volumecontrol.sh -o m # toggle audio mute bindl = , XF86AudioMicMute, exec, $scrPath/volumecontrol.sh -i m # toggle microphone mute -bindel = , XF86AudioLowerVolume, exec, $scrPath/volumecontrol.sh -o d # decrease volume -bindel = , XF86AudioRaiseVolume, exec, $scrPath/volumecontrol.sh -o i # increase volume +bind=,XF86AudioMute,exec,swayosd-client --output-volume mute-toggle # toggle audio mute +bind=,XF86AudioRaiseVolume,exec,swayosd-client --output-volume raise # increase volume +bind=,XF86AudioLowerVolume,exec,swayosd-client --output-volume lower # decrease volume # Media control bindl = , XF86AudioPlay, exec, playerctl play-pause # toggle between media play and pause @@ -53,9 +57,9 @@ bindl = , XF86AudioPause, exec, playerctl play-pause # toggle between media pla bindl = , XF86AudioNext, exec, playerctl next # media next bindl = , XF86AudioPrev, exec, playerctl previous # media previous -# Brightness control -bindel = , XF86MonBrightnessUp, exec, $scrPath/brightnesscontrol.sh i # increase brightness -bindel = , XF86MonBrightnessDown, exec, $scrPath/brightnesscontrol.sh d # decrease brightness +# Brightness controls +bind=,XF86MonBrightnessUp,exec,swayosd-client --brightness raise # increase brightness +bind=,XF86MonBrightnessDown,exec,swayosd-client --brightness lower # decrease brightness # Move between grouped windows bind = $mainMod CTRL , H, changegroupactive, b @@ -105,7 +109,7 @@ bind = $mainMod+Ctrl, Right, workspace, r+1 bind = $mainMod+Ctrl, Left, workspace, r-1 # Move to the first empty workspace -bind = $mainMod+Ctrl, Down, workspace, empty +bind = $mainMod+Ctrl, Down, workspace, empty # Resize windows binde = $mainMod+Shift, Right, resizeactive, 30 0 diff --git a/Configs/.config/swayosd/config.toml b/Configs/.config/swayosd/config.toml new file mode 100644 index 0000000000..8aeeb944d8 --- /dev/null +++ b/Configs/.config/swayosd/config.toml @@ -0,0 +1,2 @@ +[server] +top_margin = 0.85 \ No newline at end of file diff --git a/Scripts/custom_hypr.lst b/Scripts/custom_hypr.lst index 869682caf9..a04d4972d8 100644 --- a/Scripts/custom_hypr.lst +++ b/Scripts/custom_hypr.lst @@ -48,6 +48,7 @@ qt5-imageformats # for dolphin image thumb ffmpegthumbs # for dolphin video thumbnails kde-cli-tools # for dolphin file type defaults libnotify # for notifications +swayosd-git # for on screen display for keyboard shortcuts # --------------------------------------------------- // Theming nwg-look # gtk configuration tool diff --git a/Scripts/restore_cfg.lst b/Scripts/restore_cfg.lst index ab4fd24938..c972302094 100644 --- a/Scripts/restore_cfg.lst +++ b/Scripts/restore_cfg.lst @@ -33,3 +33,4 @@ Y|Y|${HOME}/.local/share|dolphin|dolphin Y|Y|${HOME}/.local/share/kxmlgui5|dolphin|dolphin Y|Y|${HOME}/.local/share/kio/servicemenus|hydewallpaper.desktop|dolphin N|Y|${HOME}/.config|libinput-gestures.conf|libinput-gestures +N|Y|${HOME}/.config/swayosd|config.toml|swayosd