-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Stick to AGSv1. We have to do this as an interim until we port the current AGS config to v2. * Various improvements for PiP windows - Improve the way PiP windows are detected - This one aims to make it work on Google Chrome and Chromium forks - Make PiP windows opaque - Remove WM borders from PiP windows * New package: `batsignal` Also preconfigured for a sane configuration on just about any laptop. * Fix some keybind symbols in the keybind guide * Fix the way local rebuilds are handled * Update Hyprland configs to work with AGSv1 * Fix the way AGS version is treated during checks * Change battery percentages for warnings and hibernation/shutdown * Update greetd config to work with AGSv1 * fixup! Update Hyprland configs to work with AGSv1 * Fix the fullscreen keybind to include Shift * Fix the way batsignal drop-in is generated I'm seriously having some brain damage at this point. * fixup! Fix the fullscreen keybind to include Shift --------- Co-authored-by: Bahar Kurt <kurtbahartr@users.noreply.github.com>
- Loading branch information
1 parent
55d5ed3
commit 18a87d4
Showing
15 changed files
with
219 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
# ----------------------------------------------------- | ||
# Key bindings | ||
# name: "Default" | ||
# ----------------------------------------------------- | ||
|
||
# Super key | ||
$mainMod = SUPER # Sets "Windows" key as main modifier | ||
|
||
bind = $mainMod, L, exec, $lock_cmd | ||
bind = $mainMod, RETURN, exec, $terminal | ||
bind = $mainMod SHIFT, M, exit, | ||
bind = $mainMod, B, exec, $browser | ||
bind = $mainMod, Q, killactive | ||
bind = $mainMod SHIFT, F, fullscreen # Set active window to fullscreen | ||
bind = $mainMod, E, exec, $fileManager | ||
bind = CTRL ALT, DELETE, exec, $system-monitor | ||
bind = $mainMod, T, togglefloating | ||
bind = $mainMod, J, togglesplit # dwindle | ||
bind = $mainMod, G, togglegroup | ||
bind = $mainMod ALT, G, exec, $hyprland-scripts/gamemode.sh | ||
bind = CTRL $mainMod, N, exec, $hyprland-scripts/hyprsunset.sh | ||
|
||
# Ags keybingings | ||
{% if system.ags.need_v1 is defined and system.ags.need_v1 %} | ||
bind= $mainMod SHIFT, R, exec, agsv1 -q; agsv1 | ||
bind = $mainMod CTRL, RETURN, exec, agsv1 -t launcher | ||
bind = $mainMod, SLASH, exec, agsv1 -t keybinds | ||
bind = $mainMod, F4, exec, agsv1 -t powermenu | ||
bind = $mainMod, Tab, exec, agsv1 -t overview | ||
bind = $mainMod, F12, exec, agsv1 -r 'recorder.start()' | ||
bind = , Print, exec, agsv1 -r 'recorder.screenshot()' | ||
bind = SHIFT, Print, exec, agsv1 -r 'recorder.screenshot(true)' | ||
{% else %} | ||
bind= $mainMod SHIFT, R, exec, ags -q; ags | ||
bind = $mainMod CTRL, RETURN, exec, ags -t launcher | ||
bind = $mainMod, SLASH, exec, ags -t keybinds | ||
bind = $mainMod, F4, exec, ags -t powermenu | ||
bind = $mainMod, Tab, exec, ags -t overview | ||
bind = $mainMod, F12, exec, ags -r 'recorder.start()' | ||
bind = , Print, exec, ags -r 'recorder.screenshot()' | ||
bind = SHIFT, Print, exec, ags -r 'recorder.screenshot(true)' | ||
{% endif %} | ||
|
||
# Move focus with mainMod + arrow keys | ||
bind = $mainMod, left, movefocus, l | ||
bind = $mainMod, right, movefocus, r | ||
bind = $mainMod, up, movefocus, u | ||
bind = $mainMod, down, movefocus, d | ||
|
||
# Switch workspaces with mainMod + [0-9] | ||
bind = $mainMod, 1, workspace, 1 | ||
bind = $mainMod, 2, workspace, 2 | ||
bind = $mainMod, 3, workspace, 3 | ||
bind = $mainMod, 4, workspace, 4 | ||
bind = $mainMod, 5, workspace, 5 | ||
bind = $mainMod, 6, workspace, 6 | ||
bind = $mainMod, 7, workspace, 7 | ||
bind = $mainMod, 8, workspace, 8 | ||
bind = $mainMod, 9, workspace, 9 | ||
bind = $mainMod, 0, workspace, 10 | ||
|
||
# Move active window to a workspace with mainMod + SHIFT + [0-9] | ||
bind = $mainMod SHIFT, 1, movetoworkspace, 1 | ||
bind = $mainMod SHIFT, 2, movetoworkspace, 2 | ||
bind = $mainMod SHIFT, 3, movetoworkspace, 3 | ||
bind = $mainMod SHIFT, 4, movetoworkspace, 4 | ||
bind = $mainMod SHIFT, 5, movetoworkspace, 5 | ||
bind = $mainMod SHIFT, 6, movetoworkspace, 6 | ||
bind = $mainMod SHIFT, 7, movetoworkspace, 7 | ||
bind = $mainMod SHIFT, 8, movetoworkspace, 8 | ||
bind = $mainMod SHIFT, 9, movetoworkspace, 9 | ||
bind = $mainMod SHIFT, 0, movetoworkspace, 10 | ||
|
||
# Example special workspace (scratchpad) | ||
# bind = $mainMod, S, togglespecialworkspace, magic | ||
# bind = $mainMod SHIFT, S, movetoworkspace, special:magic | ||
|
||
# Scroll through existing workspaces with mainMod + scroll | ||
bind = $mainMod, mouse_down, workspace, e+1 | ||
bind = $mainMod, mouse_up, workspace, e-1 | ||
|
||
# Move/resize windows with mainMod + LMB/RMB and dragging | ||
bindm = $mainMod, mouse:272, movewindow | ||
bindm = $mainMod, mouse:273, resizewindow | ||
|
||
# Passthrough SUPER KEY to Virtual Machine | ||
bind = $mainMod, P, submap, passthru # Passthrough SUPER key to virtual machine | ||
submap = passthru | ||
bind = $mainMod, Escape, submap, reset # Get SUPER key back from virtual machine | ||
submap = reset | ||
|
||
# Fn keys | ||
bind = , XF86MonBrightnessUp, exec, brightnessctl -q s +10% # Increase brightness by 10% | ||
bind = , XF86MonBrightnessDown, exec, brightnessctl -q s 10%- # Reduce brightness by 10% | ||
bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% # Increase volume by 5% | ||
bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% # Reduce volume by 5% | ||
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle # Toggle mute | ||
bind = , XF86AudioPlay, exec, playerctl play-pause # Audio play pause | ||
bind = , XF86AudioPause, exec, playerctl pause # Audio pause | ||
bind = , XF86AudioNext, exec, playerctl next # Audio next | ||
bind = , XF86AudioPrev, exec, playerctl previous # Audio previous | ||
bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle # Toggle microphone |