From c3289c173e81f5137ffbe460dc030923b9489404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20SALVI?= Date: Tue, 16 Sep 2025 18:45:02 +0200 Subject: [PATCH] add home-nix --- ...erland-test-kvm.conf => hyprland-home-nix.conf} | 0 .../config/etc/xdg/hypr/hyprland-test-kvm.conf | 14 ++++++++++++++ modules/optionnals/desktop/rofi.nix | 4 ++-- modules/optionnals/desktop/wayland.nix | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) rename modules/optionnals/desktop/config/etc/xdg/hypr/{hyperland-test-kvm.conf => hyprland-home-nix.conf} (100%) create mode 100644 modules/optionnals/desktop/config/etc/xdg/hypr/hyprland-test-kvm.conf diff --git a/modules/optionnals/desktop/config/etc/xdg/hypr/hyperland-test-kvm.conf b/modules/optionnals/desktop/config/etc/xdg/hypr/hyprland-home-nix.conf similarity index 100% rename from modules/optionnals/desktop/config/etc/xdg/hypr/hyperland-test-kvm.conf rename to modules/optionnals/desktop/config/etc/xdg/hypr/hyprland-home-nix.conf diff --git a/modules/optionnals/desktop/config/etc/xdg/hypr/hyprland-test-kvm.conf b/modules/optionnals/desktop/config/etc/xdg/hypr/hyprland-test-kvm.conf new file mode 100644 index 0000000..2b93abb --- /dev/null +++ b/modules/optionnals/desktop/config/etc/xdg/hypr/hyprland-test-kvm.conf @@ -0,0 +1,14 @@ +################ +### MONITORS ### +################ +# See https://wiki.hyprland.org/Configuring/Monitors/ +monitor=Virtual-1,1920x1080,0x0,1 + +workspace = 1, monitor:Virtual-1 +workspace = 2, monitor:Virtual-1 +workspace = 3, monitor:Virtual-1 +workspace = 4, monitor:Virtual-1 +workspace = 5, monitor:Virtual-1 +workspace = 6, monitor:Virtual-1 +workspace = 7, monitor:Virtual-1 +workspace = 8, monitor:Virtual-1 diff --git a/modules/optionnals/desktop/rofi.nix b/modules/optionnals/desktop/rofi.nix index 2128e2d..efee529 100644 --- a/modules/optionnals/desktop/rofi.nix +++ b/modules/optionnals/desktop/rofi.nix @@ -15,7 +15,7 @@ Shutdown\0icon\x1fsystem-shutdown Reboot\0icon\x1fsystem-reboot Exit hyprland\0icon\x1fsystem-log-out - Reload hyprland\0icon\x1fsystem-log-out" | ${pkgs.rofi-wayland}/bin/rofi -dmenu -show-icons -i -theme /etc/xdg/rofi/disconnect.rasi -p System) + Reload hyprland\0icon\x1fsystem-log-out" | ${pkgs.rofi}/bin/rofi -dmenu -show-icons -i -theme /etc/xdg/rofi/disconnect.rasi -p System) echo "$selected" @@ -56,7 +56,7 @@ _LINES="$(curl "http://10.0.0.1:2013/$1" 2>/dev/null | sed -e "s|.*