From 32f40c309a147aec4cd344e7a56db472ac1ee7a1 Mon Sep 17 00:00:00 2001 From: DerGrumpf Date: Sat, 28 Mar 2026 20:15:46 +0100 Subject: [PATCH] Remaped Keys; installed necessary software for controlling --- home/desktop/hyprland/default.nix | 16 +++++++++++----- nixos/audio.nix | 1 - 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/home/desktop/hyprland/default.nix b/home/desktop/hyprland/default.nix index 0a9d5a8..73a72ac 100644 --- a/home/desktop/hyprland/default.nix +++ b/home/desktop/hyprland/default.nix @@ -28,6 +28,9 @@ in grim slurp wl-clipboard + pamixer + brightnessctl + playerctl ]; systemd.user.targets.hyprland-session.Unit.Wants = [ @@ -78,6 +81,7 @@ in input = { kb_layout = "de"; kb_variant = "mac"; + kb_options = "apple:fn_lock"; repeat_rate = 50; repeat_delay = 300; @@ -96,7 +100,7 @@ in general = { # See https://wiki.hyprland.org/Configuring/Variables/ for more - gaps_in = 4; + gaps_in = 2; gaps_out = 0; border_size = 4; @@ -196,8 +200,8 @@ in # ]; exec-once = [ - "waybar &" "swww-daemon & disown" + "waybar &" ]; # Keybindings @@ -209,19 +213,21 @@ in "${super}, O, exec, obsidian" "${super}, I, exec, floorp" "${super}, G, exec, thunderbird" + ", XF86Mail, exec, thunderbird" "${super}, N, exec, nautilus" + ", XF86Search, exec, nautilus" # Lock Screen "${super}, M, exit, " - # swaync - "${super}, Y, exec, swaync-client -t -sw" - # Rofi bindings "${super}, F, exec, ${filebrowser}" "${super}, A, exec, ${apps}" + ", Menu, exec, ${apps}" "${super}, R, exec, ${menu}" + ", XF86LaunchA, exec, ${menu}" "${super}, S, exec, ${power}" + ", XF86LaunchB, exec, ${power}" # Move focus with mainMod + arrow keys "${super}, left, movefocus, l" diff --git a/nixos/audio.nix b/nixos/audio.nix index 7b424f0..927f583 100644 --- a/nixos/audio.nix +++ b/nixos/audio.nix @@ -6,7 +6,6 @@ enable = true; support32Bit = true; }; - #jack.enable = true; # audio production pulse.enable = true; }; security.rtkit.enable = true;