hypr: Moved app variables to bindings.conf

This commit is contained in:
GaspardCulis 2024-01-08 13:04:18 +01:00
parent eb2152e0f9
commit bedfa2385b
2 changed files with 12 additions and 9 deletions

View file

@ -97,9 +97,6 @@ misc {
} }
# Variables
$terminal = alacritty
# Modular sourcing # Modular sourcing
source = $confDir/environment.conf source = $confDir/environment.conf
source = $confDir/bindings.conf source = $confDir/bindings.conf

View file

@ -1,15 +1,21 @@
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER $mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Variables
bind = $mainMod, RETURN, exec, $terminal $terminal = alacritty
$browser = firefox
$explorer = thunar
bind = $mainMod, Q, killactive, bind = $mainMod, Q, killactive,
bind = $mainMod SHIFT, Q, exit, bind = $mainMod SHIFT, Q, exit,
bind = $mainMod, N, exec, thunar
bind = $mainMod, M, exec, prismlauncher
bind = $mainMod, B, exec, firefox
bind = $mainMod, O, exec, obsidian
bind = $mainMod SHIFT, SPACE, togglefloating, bind = $mainMod SHIFT, SPACE, togglefloating,
bind = $mainMod, RETURN, exec, $terminal
bind = $mainMod, B, exec, $browser
bind = $mainMod, N, exec, $explorer
bind = $mainMod, M, exec, prismlauncher
bind = $mainMod, O, exec, obsidian
bind = $mainMod, R, exec, wofi --show drun bind = $mainMod, R, exec, wofi --show drun
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, J, togglesplit, # dwindle