update

Changed files
+12 -29
home
modules
gui
+5 -8
home/dunst
···
[global]
-
font="Noto Sans Mono 12"
+
font="Noto Sans Mono 10"
origin=top-right
-
width=500
-
height=1000
-
background="#434c5ee0"
frame_color="#434c5ee0"
foreground="#eceff4"
-
timeout=10000ms
-
-
separator_height=2
-
frame_width=2
+
corner_radius=10
+
gap_size=10
+
vertical_alignement=top
+
offset=10x10
[urgency_low]
background="#2e3440e0"
+2 -2
home/sway.nix
···
dmenu = "wofi -d -i -p";
displays = "wdisplays";
bar = "swaybar";
-
notification_deamon = "mako";
+
notification_deamon = "dunst";
i3-workspace-history = "${i3-workspace-history}";
i3-workspace-history-args = "-sway";
};
···
entries = {
"fusuma/config.yml".source = ./fusuma.yml;
"kanshi/config".source = ./kanshi;
-
"mako/config".source = ./mako;
+
"dunst/dunstrc".source = ./dunst;
"swaylock/config".source = ./swaylock;
"wofi/style.css".source = ./wofi.css;
"swappy/config".text = ''
-14
home/wm/scripts/notification_log.sh
···
-
#!/usr/bin/env bash
-
-
# https://askubuntu.com/questions/770218/how-can-i-log-all-notify-send-actions
-
-
logfile=$1
-
-
dbus-monitor "interface='org.freedesktop.Notifications'" |\
-
grep --line-buffered "string" |\
-
grep --line-buffered -e method -e ":" -e '""' -e urgency -e notify -v |\
-
grep --line-buffered '.*(?=string)|(?<=string).*' -oPi |\
-
grep --line-buffered -v '^\s*$' |\
-
xargs -I '{}' \
-
printf "---$( date )---\n"{}"\n" >> $logfile
-
+4 -4
home/wm/sway/bindings
···
bindsym $mod+r exec "pkill swaybar; swaybar --bar_id bar-0"
bindsym $mod+Shift+r exec "pkill swaybar; swaymsg reload"
-
bindsym $mod+q exec makoctl dismiss
-
bindsym $mod+Shift+q exec makoctl invoke
-
bindsym $mod+Control+q exec makoctl restore
+
bindsym $mod+q exec dunstctl close
+
bindsym $mod+Shift+q exec dunstctl action
+
bindsym $mod+Control+q exec dunstctl history-pop
bindsym $mod+Shift+v exec clipman pick -t wofi -T-i
bindsym $mod+Control+v exec wl-copy "$(clipman pick -t STDOUT | head -n 1)"
···
bindsym Print exec grim -g "$($SCRIPT_DIR/slurp_point.sh)" - | wl-copy
set $mode_capture capture
mode "$mode_capture" {
-
bindsym q exec makoctl dismiss
+
bindsym q exec dunstctl close
bindsym c exec grim -g "$($SCRIPT_DIR/slurp_point.sh)" - | wl-copy; mode "default";
bindsym e exec grim -g "$($SCRIPT_DIR/slurp_point.sh)" - | swappy -f -; mode "default;
+1 -1
modules/gui/sway.nix
···
grim
slurp
swappy
-
mako
+
dunst
kanshi
];
};