From 2916aaa29b253670bfb48968a4ce81a9facad566 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Wed, 1 Jun 2022 11:23:20 +0200 Subject: [PATCH] Thunar module --- home_manager/modules/sxhkd.nix | 3 ++- home_manager/modules/thunar.nix | 8 ++++++++ home_manager/odin.nix | 4 +--- home_manager/thor.nix | 4 +--- 4 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 home_manager/modules/thunar.nix diff --git a/home_manager/modules/sxhkd.nix b/home_manager/modules/sxhkd.nix index dd4182e..11c324c 100644 --- a/home_manager/modules/sxhkd.nix +++ b/home_manager/modules/sxhkd.nix @@ -1,10 +1,10 @@ { config, pkgs, lib, ... }: { + imports = [ ./thunar.nix ]; home.packages = with pkgs; [ kitty lockscreen pamixer - (xfce.thunar) playerctl terminator update-background @@ -21,6 +21,7 @@ keybindings = { "super + b" = "update-background"; "super + alt + {h,j,k,l}" = "bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}"; + "super + alt + p" = "autorandr -c"; "super + alt + {q,r}" = "bspc {quit,wm -r}"; "super + alt + shift + {h,j,k,l}" = "bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}"; "super + alt + m" = "lockscreen"; diff --git a/home_manager/modules/thunar.nix b/home_manager/modules/thunar.nix new file mode 100644 index 0000000..92d40b6 --- /dev/null +++ b/home_manager/modules/thunar.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: +{ + home.packages = with pkgs.xfce; [ + thunar + tumbler + xfconf + ]; +} diff --git a/home_manager/odin.nix b/home_manager/odin.nix index efe4e4d..641f6de 100644 --- a/home_manager/odin.nix +++ b/home_manager/odin.nix @@ -89,9 +89,6 @@ # wineFull wireguard-tools xclip - xfce.thunar - xfce.tumbler - xfce.xfconf xournalpp yq zip @@ -155,6 +152,7 @@ ./modules/sxhkd.nix ./modules/syncthing.nix ./modules/terminator.nix + ./modules/thunar.nix ./modules/update_background.nix ./modules/webapp.nix ./modules/xidlehook.nix diff --git a/home_manager/thor.nix b/home_manager/thor.nix index 0d50952..9419519 100644 --- a/home_manager/thor.nix +++ b/home_manager/thor.nix @@ -72,9 +72,6 @@ virt-manager # wineFull wireguard-tools - xfce.thunar - xfce.tumbler - xfce.xfconf xournalpp zoom-us ]; @@ -125,6 +122,7 @@ ./modules/sxhkd.nix ./modules/syncthing.nix ./modules/terminator.nix + ./modules/thunar.nix ./modules/update_background.nix ./modules/webapp.nix ./modules/xidlehook.nix