From f2bac477e4591ba407681e8628182a0a0f474861 Mon Sep 17 00:00:00 2001 From: DerGrumpf Date: Mon, 13 Apr 2026 11:34:00 +0200 Subject: [PATCH] Fixed minor bugs --- home/desktop/hyprland/default.nix | 46 +++++++++++++++++-------------- home/shell.nix | 2 +- 2 files changed, 27 insertions(+), 21 deletions(-) diff --git a/home/desktop/hyprland/default.nix b/home/desktop/hyprland/default.nix index 03cbf45..7cb3c8c 100644 --- a/home/desktop/hyprland/default.nix +++ b/home/desktop/hyprland/default.nix @@ -6,12 +6,17 @@ let theme = "-theme $HOME/.config/rofi/custom.rasi"; menu = "rofi -show drun ${theme}"; filebrowser = "rofi -show filebrowser ${theme}"; - power = - "rofi -show p -modi p:rofi-power-menu -theme $HOME/.config/rofi/power.rasi"; + power = "rofi -show p -modi p:rofi-power-menu -theme $HOME/.config/rofi/power.rasi"; apps = "rofi -show window ${theme}"; -in { +in +{ - imports = [ ./hypridle.nix ./hyprlock.nix ./mako.nix ./portal.nix ]; + imports = [ + ./hypridle.nix + ./hyprlock.nix + ./mako.nix + ./portal.nix + ]; home.packages = with pkgs; [ catppuccin-cursors.mochaDark @@ -23,12 +28,10 @@ in { playerctl ]; - systemd.user.targets.hyprland-session.Unit.Wants = - [ "xdg-desktop-autostart.target" ]; + systemd.user.targets.hyprland-session.Unit.Wants = [ "xdg-desktop-autostart.target" ]; wayland.windowManager.hyprland = { - package = - inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; + package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; enable = true; xwayland.enable = true; @@ -39,12 +42,10 @@ in { enableXdgAutostart = false; }; - plugins = - with inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}; - [ - #hyprbars - # hyprexpo - ]; + plugins = with inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}; [ + #hyprbars + # hyprexpo + ]; settings = { env = [ @@ -65,8 +66,10 @@ in { "XCURSOR_SIZE,24" ]; - monitor = - [ "DP-1, 1920x1080@60, 1920x0, 1" "HDMI-A-2, 1920x1080@60, 0x0, 1" ]; + monitor = [ + "DP-1, 1920x1080@60, 1920x0, 1" + "HDMI-A-2, 1920x1080@60, 0x0, 1" + ]; input = { kb_layout = "de"; @@ -162,7 +165,7 @@ in { disable_splash_rendering = true; mouse_move_enables_dpms = true; key_press_enables_dpms = true; - vfr = true; + # vfr = true; vrr = 0; }; @@ -189,7 +192,11 @@ in { # "noblur, class:^(org\\.gnome\\.|io\\.github\\.|org\\.gtk\\.)" # ]; - exec-once = [ "awww-daemon & disown" "waybar &" ]; + exec-once = [ + "awww-daemon --no-cache & disown" + "awww img ~/Pictures/Wallpapers/Ghost_in_the_Shell.png" + "waybar &" + ]; # Keybindings bind = [ @@ -261,8 +268,7 @@ in { "${super}, mouse_up, workspace, e-1" # Screenshot - '' - ${super}, Z, exec, grim -g "$(slurp)" $HOME/Pictures/Screenshots/$(date +'%s_grim.png')'' + ''${super}, Z, exec, grim -g "$(slurp)" $HOME/Pictures/Screenshots/$(date +'%s_grim.png')'' "${super}, U, exec, grim $HOME/Pictures/Screenshots/$(date +'%s_grim.png')" ]; diff --git a/home/shell.nix b/home/shell.nix index dddd811..1d8dfbf 100644 --- a/home/shell.nix +++ b/home/shell.nix @@ -189,7 +189,7 @@ f = "nvim $(fzf)"; tree = "eza --icons=always -T"; i = "kitty +kitten icat"; - cat = "bat --color=always --style=numbers"; + bat = "bat --color=always --style=numbers"; grep = "rg"; cp = "rsync -ah --progress"; nix-switch =