Changed: Hyprland Config

This commit is contained in:
DerGrumpf 2025-03-25 13:55:24 +01:00
parent 3a9d591341
commit ddb7502871

View File

@ -2,6 +2,10 @@
let let
package = pkgs.hyprland; package = pkgs.hyprland;
super = "SUPER"; super = "SUPER";
terminal = "kitty";
fileManager = "dolphin";
menu = "~/.config/rofi/launchers/type-3/launcher.sh";
power = "~/.config/rofi/powermenu/type-6/powermenu.sh";
in in
{ {
@ -29,6 +33,7 @@ in
"QT_QPA_PLATFORM,wayland" "QT_QPA_PLATFORM,wayland"
"SDL_VIDEODRIVER,wayland" "SDL_VIDEODRIVER,wayland"
"GDK_BACKEND,wayland" "GDK_BACKEND,wayland"
"XCURSOR_SIZE,24"
]; ];
monitor = [ monitor = [
@ -36,15 +41,22 @@ in
"HDMI-A-2, 1920x1080@60, 0x0, 1" "HDMI-A-2, 1920x1080@60, 0x0, 1"
]; ];
exec-once = [
"waybar"
"hyprpaper"
"firefox"
];
# Keybindings
bind = [ bind = [
"${super}, Q, exec, $terminal" "${super}, Q, exec, ${terminal}"
"${super}, C, killactive, " "${super}, C, killactive, "
"${super}, M, exit, " "${super}, M, exit, "
"${super}, E, exec, $fileManager" "${super}, E, exec, ${fileManager}"
"${super}, V, togglefloating, " "${super}, V, togglefloating, "
"${super}, R, exec, $menu" "${super}, R, exec, ${menu}"
"${super}, S, exec, $power" "${super}, S, exec, ${power}"
"${super}, P, pseudo, " # dwindle "${super}, P, pseudo, " # dwindle
"${super}, J, togglesplit, "# dwindle "${super}, J, togglesplit, "# dwindle
@ -104,7 +116,7 @@ in
", XF86AudioLowerVolume, exec, vol --down" ", XF86AudioLowerVolume, exec, vol --down"
", XF86MonBrightnessUp, exec, bri --up" ", XF86MonBrightnessUp, exec, bri --up"
", XF86MonBrightnessDown, exec, bri --down" ", XF86MonBrightnessDown, exec, bri --down"
", XF86Search, exec, $menu" ", XF86Search, exec, ${menu}"
]; ];