From ddb750287162a9eb5a4b47965b7c51701f758d63 Mon Sep 17 00:00:00 2001
From: DerGrumpf
Date: Tue, 25 Mar 2025 13:55:24 +0100
Subject: [PATCH] Changed: Hyprland Config
---
home/hyprland/default.nix | 22 +++++++++++++++++-----
1 file changed, 17 insertions(+), 5 deletions(-)
diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix
index 1b9470a..fe18294 100644
--- a/home/hyprland/default.nix
+++ b/home/hyprland/default.nix
@@ -2,6 +2,10 @@
let
package = pkgs.hyprland;
super = "SUPER";
+ terminal = "kitty";
+ fileManager = "dolphin";
+ menu = "~/.config/rofi/launchers/type-3/launcher.sh";
+ power = "~/.config/rofi/powermenu/type-6/powermenu.sh";
in
{
@@ -29,6 +33,7 @@ in
"QT_QPA_PLATFORM,wayland"
"SDL_VIDEODRIVER,wayland"
"GDK_BACKEND,wayland"
+ "XCURSOR_SIZE,24"
];
monitor = [
@@ -36,15 +41,22 @@ in
"HDMI-A-2, 1920x1080@60, 0x0, 1"
];
+ exec-once = [
+ "waybar"
+ "hyprpaper"
+ "firefox"
+ ];
+
+ # Keybindings
bind = [
- "${super}, Q, exec, $terminal"
+ "${super}, Q, exec, ${terminal}"
"${super}, C, killactive, "
"${super}, M, exit, "
- "${super}, E, exec, $fileManager"
+ "${super}, E, exec, ${fileManager}"
"${super}, V, togglefloating, "
- "${super}, R, exec, $menu"
- "${super}, S, exec, $power"
+ "${super}, R, exec, ${menu}"
+ "${super}, S, exec, ${power}"
"${super}, P, pseudo, " # dwindle
"${super}, J, togglesplit, "# dwindle
@@ -104,7 +116,7 @@ in
", XF86AudioLowerVolume, exec, vol --down"
", XF86MonBrightnessUp, exec, bri --up"
", XF86MonBrightnessDown, exec, bri --down"
- ", XF86Search, exec, $menu"
+ ", XF86Search, exec, ${menu}"
];