Added sway focus on window activation

Added desired dunst behaviour for clicking
This commit is contained in:
vorboyvo 2024-03-12 13:30:56 -04:00
parent 1c96195117
commit e2f3f3e7fb
3 changed files with 9 additions and 2 deletions

View file

@ -142,7 +142,12 @@ in
services.dunst = { services.dunst = {
enable = true; enable = true;
settings = { settings = {
global.font = "Red Hat Display 12"; global = {
font = "Red Hat Display 12";
mouse_left_click = "do_action, close_current";
mouse_middle_click = "close_all";
mouse_right_click = "close_current";
};
}; };
}; };
services.batsignal = { services.batsignal = {

View file

@ -77,5 +77,8 @@ in {
'' ''
exec swaybg -i ${backgroundImage} exec swaybg -i ${backgroundImage}
'' + # Background image '' + # Background image
''
focus_on_window_activation focus
'' + # Focus on window activation lol
""; "";
} }

1
todo
View file

@ -5,6 +5,5 @@ dmenu files
notifications timeout and other assorted settings notifications timeout and other assorted settings
add pandoc support for markdown rendering add pandoc support for markdown rendering
configure click behaviour dunst configure click behaviour dunst
add task manager
configure per-display workspaces (swaysome?) configure per-display workspaces (swaysome?)
timewarrior for time tracking timewarrior for time tracking