From 79bec958253af6973676b32ca56137a6d6b75ed1 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 3 Aug 2023 16:01:13 +0100 Subject: [PATCH] Add zathura and thunar --- home/hyprland/hyprland.conf | 1 + home/zathura/default.nix | 9 +++++++++ hosts/hyprland.nix | 12 +++++++----- 3 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 home/zathura/default.nix diff --git a/home/hyprland/hyprland.conf b/home/hyprland/hyprland.conf index 64e52cb3..046a84e7 100644 --- a/home/hyprland/hyprland.conf +++ b/home/hyprland/hyprland.conf @@ -137,6 +137,7 @@ windowrule = workspace name:email,(thunderbird) bind = SUPER, F, moveworkspacetomonitor, name:files current bind = SUPER, F, workspace, name:files bind = SUPER SHIFT, F, movetoworkspace, name:files +windowrule = workspace name:files,(org.pwmt.zathura) windowrule = workspace name:files,^(libreoffice).* windowrule = workspace name:files,(Zotero) windowrulev2 = workspace name:files,title:(Open),class:(soffice) diff --git a/home/zathura/default.nix b/home/zathura/default.nix new file mode 100644 index 00000000..fc53d5fa --- /dev/null +++ b/home/zathura/default.nix @@ -0,0 +1,9 @@ +{ pkgs, tokyonight, ... }: + +{ + programs.zathura = { + enable = true; + extraConfig = builtins.readFile + "${tokyonight}/extras/zathura/tokyonight_night.zathurarc"; + }; +} diff --git a/hosts/hyprland.nix b/hosts/hyprland.nix index 24846314..f29873ad 100644 --- a/hosts/hyprland.nix +++ b/hosts/hyprland.nix @@ -9,11 +9,13 @@ blueman.enable = true; gvfs.enable = true; tumbler.enable = true; - greetd.settings = { - default_session.command = "Hyprland"; - initial_session.command = "Hyprland"; - }; }; xdg.portal.extraPortals = with pkgs; [ xdg-desktop-portal-gtk ]; - programs.hyprland.enable = true; + programs = { + hyprland.enable = true; + thunar = { + enable = true; + plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ]; + }; + }; }