From e97d94c79e3fa97be46aa2eb7c39b8b7e69b99cb Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 28 Jun 2023 18:03:45 +0100 Subject: [PATCH] Add workspace for steam, update syncthing for Vanguard --- flake.nix | 2 +- services/syncthing/Vanguard.nix | 1 + users/xenia/Vanguard.nix | 19 +++++++++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 users/xenia/Vanguard.nix diff --git a/flake.nix b/flake.nix index ed70525b..e78c456f 100644 --- a/flake.nix +++ b/flake.nix @@ -104,7 +104,7 @@ home-config hyprland-config ./hosts/Vanguard - ./users/xenia + ./users/xenia/Vanguard.nix ./services/sshd ./services/syncthing/Vanguard.nix {home-manager.users.xenia.imports = [hyprland-home-config];} diff --git a/services/syncthing/Vanguard.nix b/services/syncthing/Vanguard.nix index d12e31d2..6713db1f 100644 --- a/services/syncthing/Vanguard.nix +++ b/services/syncthing/Vanguard.nix @@ -12,6 +12,7 @@ "Exports".path = "~/Documents/Exports"; "Notes".path = "~/notes"; "Pictures".path = "~/Pictures"; + "Xochitl".enable = false; "Zotero".path = "~/Documents/Zotero"; }; }; diff --git a/users/xenia/Vanguard.nix b/users/xenia/Vanguard.nix new file mode 100644 index 00000000..2d07457b --- /dev/null +++ b/users/xenia/Vanguard.nix @@ -0,0 +1,19 @@ +{...}: { + imports = [./default.nix]; + home-manager.users.xenia = { + wayland.windowManager.hyprland.extraConfig = '' + source=./common.conf + monitor=DP-2,highrr,auto,auto + + workspace = name:steam + windowrule = workspace name:steam, [Ss]team.* + bind = ALT, S, moveworkspacetomonitor, name:steam current + bind = ALT, S, workspace, name:steam + bind = ALT SHIFT, S, moveworkspacetomonitor, name:steam current + bind = ALT SHIFT, S, movetoworkspace, name:steam + ''; + programs.waybar.settings = { + main."wlr/workspaces"."format-icons"."steam" = "󰓓"; + }; + }; +}