From a1112e9f3fb205416a37c2d2e681daaa92051b73 Mon Sep 17 00:00:00 2001 From: albert Date: Sat, 26 Aug 2023 09:51:55 +0900 Subject: [PATCH] Testing magic from emacs --- README.md | 19 ++++++++++--------- .../desktops/hyprland/hyprland-conf.nix | 4 +++- nixos/common/desktops/hyprland/default.nix | 2 +- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 4da03693..29b99f89 100644 --- a/README.md +++ b/README.md @@ -8,15 +8,16 @@ nixos-rebuild switch --flake '/etc/nixos#' --- # To Do List -* [ ] set up pinentry on awesome-hyprland -* [ ] Get swaylock to dim / turn off the screen, then enter suspend/hibernate -* [ ] swayosd -* [ ] wayprompt -* [ ] wlogout -* [ ] cli-based filebrowser for hyprland -* [ ] Learn all the nvim plugins, specifically ones dealing with tabs -* [ ] Fix cursor size on hyprland -* [ ] Find a way to adjust window sizes with a keyboard shortcut in Hyprland +* [ ] Hyprland + * [ ] Fix cursor size + * [ ] Try the multi-GPU configs on the wiki + * [ ] set up pinentry on awesome-hyprland + * [ ] Get swaylock to dim / turn off the screen, then enter suspend/hibernate + * [ ] swayosd + * [ ] wayprompt + * [ ] wlogout + * [ ] cli-based filebrowser for hyprland + * [ ] Find a way to adjust window sizes with a keyboard shortcut in Hyprland * [ ] Try disko - [Link](https://github.com/nix-community/disko) * [ ] btrfs snapshots * [ ] weechat / weechat-matrix diff --git a/home-manager/hosts/nixos-laptop/desktops/hyprland/hyprland-conf.nix b/home-manager/hosts/nixos-laptop/desktops/hyprland/hyprland-conf.nix index 03f013f9..8dcd6c28 100644 --- a/home-manager/hosts/nixos-laptop/desktops/hyprland/hyprland-conf.nix +++ b/home-manager/hosts/nixos-laptop/desktops/hyprland/hyprland-conf.nix @@ -23,7 +23,7 @@ # env = XDG_SESSION_TYPE,wayland # env = GBM_BACKEND,nvidia-drm # env = __GLX_VENDOR_LIBRARY_NAME,nvidia - # env = WLR_NO_HARDWARE_CURSORS,1 + env = WLR_NO_HARDWARE_CURSORS,1 general { gaps_in = 5 @@ -221,6 +221,8 @@ # bind = ALT, TAB, exec, rofi -show window # Start the config: + # https://wiki.hyprland.org/FAQ/#some-of-my-apps-take-a-really-long-time-to-open + exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once=bash ~/.config/hypr/start.sh ''; }; diff --git a/nixos/common/desktops/hyprland/default.nix b/nixos/common/desktops/hyprland/default.nix index c364f24b..3ab9870d 100644 --- a/nixos/common/desktops/hyprland/default.nix +++ b/nixos/common/desktops/hyprland/default.nix @@ -67,9 +67,9 @@ pavucontrol # Pulse Audio Volume CONTROL glib # Set GTK theme settings greetd.tuigreet # Greeter - phoronix-test-suite # Benchmarking software swayidle # Idle management daemon - Automatic lock screen swayosd # used for on-screen notifications for things like adjusting backlight, volume, etc + sway # for swaymsg ]; # Enable sound with pipewire.