From bedfa2385bd8ffca172070760693622c9b788786 Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Mon, 8 Jan 2024 13:04:18 +0100 Subject: [PATCH] hypr: Moved app variables to bindings.conf --- de/hypr/hyprland.conf | 3 --- de/hypr/hyprland.conf.d/bindings.conf | 18 ++++++++++++------ 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/de/hypr/hyprland.conf b/de/hypr/hyprland.conf index 5873474..e7b4f16 100644 --- a/de/hypr/hyprland.conf +++ b/de/hypr/hyprland.conf @@ -97,9 +97,6 @@ misc { } -# Variables -$terminal = alacritty - # Modular sourcing source = $confDir/environment.conf source = $confDir/bindings.conf diff --git a/de/hypr/hyprland.conf.d/bindings.conf b/de/hypr/hyprland.conf.d/bindings.conf index f0ae13b..a9b04d9 100644 --- a/de/hypr/hyprland.conf.d/bindings.conf +++ b/de/hypr/hyprland.conf.d/bindings.conf @@ -1,15 +1,21 @@ # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER -# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more -bind = $mainMod, RETURN, exec, $terminal +# Variables +$terminal = alacritty +$browser = firefox +$explorer = thunar + bind = $mainMod, Q, killactive, 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, 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, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle