feat: gamemode, toggle-touchpad and restore-waybar \n fix: albert glitches and bugs in the scripts \n And appearance changes concerning waybar and single windows
This commit is contained in:
parent
6e4c3bb974
commit
d33ecc32e7
14 changed files with 124 additions and 19 deletions
|
|
@ -91,8 +91,11 @@ animations {
|
|||
animation = fadeLayersOut, 1, 1.39, almostLinear
|
||||
|
||||
animation = workspaces, 1, 1.94, almostLinear, fade
|
||||
animation = workspacesIn, 1, 3, easeOutQuint, slidefade
|
||||
animation = workspacesOut, 1, 5, easeOutQuint, slidefade
|
||||
animation = workspacesIn, 1, 3, easeOutQuint, slide
|
||||
animation = workspacesOut, 1, 3, easeOutQuint, slide
|
||||
|
||||
#animation = workspacesIn, 1, 3, easeOutQuint, slidefade
|
||||
#animation = workspacesOut, 1, 5, easeOutQuint, slidefade
|
||||
}
|
||||
|
||||
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
|
||||
|
|
@ -151,3 +154,13 @@ windowrule=noshadow,^(albert)$
|
|||
windowrule=float,^(albert)$
|
||||
windowrule=stayfocused,^(albert)$
|
||||
windowrule=nodim,^(albert)$
|
||||
|
||||
# Prism Launcher
|
||||
windowrulev2=pseudo, class:(org.prismlauncher.PrismLauncher)
|
||||
windowrulev2=size 65% 70%, class:(org.prismlauncher.PrismLauncher), title:^(Prism Launcher .*)$
|
||||
|
||||
# TODO Automatically fullscreen single apps
|
||||
# - Seems impossible for now (try mixing with workspace rules)
|
||||
|
||||
# Increase gaps for single apps
|
||||
workspace=w[t1], gapsout:2
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ input {
|
|||
|
||||
touchpad {
|
||||
natural_scroll = true
|
||||
disable_while_typing = false
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -88,6 +89,14 @@ bind = $mainMod SHIFT, agrave, movetoworkspace, 10
|
|||
bind = $mainMod, S, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
|
||||
# Minimize function (uses scratchpad)
|
||||
# For testing, may be removed in future releases
|
||||
bind = $mainMod, N, togglespecialworkspace, magic
|
||||
bind = $mainMod, N, movetoworkspace, +0
|
||||
bind = $mainMod, N, togglespecialworkspace, magic
|
||||
bind = $mainMod, N, movetoworkspace, special:magic
|
||||
bind = $mainMod, N, togglespecialworkspace, magic
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
|
@ -107,17 +116,29 @@ bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 6%-
|
|||
bindel = SHIFT, XF86MonBrightnessUp, exec, brightnessctl s 2%+
|
||||
bindel = SHIFT, XF86MonBrightnessDown, exec, brightnessctl s 2%-
|
||||
|
||||
# Requires playerctl
|
||||
# (Requires playerctl)
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
# Function keys
|
||||
|
||||
# Settings
|
||||
bindel = , XF86Launch1, exec, kitty vim ~/.config/hypr/config
|
||||
# Screenshot
|
||||
bind = , Print, exec, ~/.config/hypr/scripts/screenshot.sh
|
||||
# Touchpad toggle
|
||||
# (On galaxy books, pressing the disable touchpad key also triggers SUPER and CONTROL keys, this is why there are present here)
|
||||
bind = SUPER CONTROL, XF86TouchpadToggle, exec, ~/.config/hypr/scripts/toggle-touchpad.sh
|
||||
|
||||
# Desktop related shortcuts
|
||||
|
||||
# Toggle waybar
|
||||
bind = $mainMod, B, exec, ~/.config/hypr/scripts/toggle-waybar.sh
|
||||
|
||||
# Reload desktop
|
||||
bind = $mainMod SHIFT, R, exec, ~/.config/hypr/scripts/reload.sh
|
||||
|
||||
# Gamemode
|
||||
bind = $mainMod, F11, exec, ~/.config/hypr/scripts/gamemode.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue