Switch to twmn

This commit is contained in:
Filippo Berto 2022-11-14 14:22:48 +01:00
parent 5e11a43b86
commit 42a94bd519
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
3 changed files with 13 additions and 6 deletions

View file

@ -2,9 +2,10 @@
let palette = pkgs.lib.rice.palette.toRGBHex pkgs.rice.colorPalette; let palette = pkgs.lib.rice.palette.toRGBHex pkgs.rice.colorPalette;
in in
{ {
home.packages = with pkgs; [ dunst rice.font.normal.package ]; home.packages = with pkgs; [ unstable.dunst rice.font.normal.package ];
services.dunst = { services.dunst = {
enable = true; enable = true;
package = pkgs.unstable.dunst;
iconTheme = { iconTheme = {
package = pkgs.qogir-icon-theme; package = pkgs.qogir-icon-theme;
name = "Qogir-dark"; name = "Qogir-dark";
@ -14,7 +15,7 @@ in
monitor = 0; monitor = 0;
follow = "mouse"; follow = "mouse";
geometry = "300x6-20+50"; geometry = "300x6-20+50";
indicate_hidden = "yes"; indicate_hidden = false;
shrink = "yes"; shrink = "yes";
transparency = 10; transparency = 10;
notification_height = 0; notification_height = 0;
@ -38,12 +39,12 @@ in
ignore_newline = "no"; ignore_newline = "no";
stack_duplicates = "true"; stack_duplicates = "true";
hide_duplicate_count = "false"; hide_duplicate_count = "false";
show_indicators = "yes"; show_indicators = true;
icon_position = "off"; icon_position = "off";
max_icon_size = 32; max_icon_size = 32;
sticky_history = "yes"; sticky_history = "yes";
history_length = 20; history_length = 20;
dmenu = "rofi -dmenu -p dunst:"; # dmenu = "rofi -dmenu -p dunst:";
# browser = "google-chrome-stable"; # browser = "google-chrome-stable";
browser = "firefox"; browser = "firefox";
always_run_script = "true"; always_run_script = "true";
@ -54,7 +55,7 @@ in
corner_radius = 0; corner_radius = 0;
force_xinerama = "false"; force_xinerama = "false";
mouse_left_click = "close_current"; mouse_left_click = "close_current";
mouse_middle_click = "do_action"; mouse_middle_click = "context";
mouse_right_click = "close_all"; mouse_right_click = "close_all";
}; };
urgency_low = { urgency_low = {

5
hm_modules/twmn.nix Normal file
View file

@ -0,0 +1,5 @@
{
services.twmn = {
enable = true;
};
}

View file

@ -133,7 +133,7 @@
../hm_modules/bspwm.nix ../hm_modules/bspwm.nix
../hm_modules/cava.nix ../hm_modules/cava.nix
../hm_modules/easyeffects.nix ../hm_modules/easyeffects.nix
../hm_modules/dunst.nix # ../hm_modules/dunst.nix
# ../hm_modules/grobi.nix # ../hm_modules/grobi.nix
../hm_modules/gtk_theme.nix ../hm_modules/gtk_theme.nix
../hm_modules/heif.nix ../hm_modules/heif.nix
@ -166,6 +166,7 @@
../hm_modules/syncthing.nix ../hm_modules/syncthing.nix
../hm_modules/terminator.nix ../hm_modules/terminator.nix
# ../hm_modules/thunar.nix # ../hm_modules/thunar.nix
../hm_modules/twmn.nix
../hm_modules/update_background.nix ../hm_modules/update_background.nix
../hm_modules/webapp.nix ../hm_modules/webapp.nix
../hm_modules/xidlehook.nix ../hm_modules/xidlehook.nix