Add a script to print lasts notifications
This commit is contained in:
parent
25b79783f9
commit
6f8d41a1b8
2 changed files with 74 additions and 0 deletions
2
home.nix
2
home.nix
|
|
@ -44,6 +44,8 @@
|
|||
${config.programs.rofi.package}/bin/rofi -matching normal -sort -show run
|
||||
'';
|
||||
|
||||
".bin/notifications".source = bin/notifications;
|
||||
|
||||
".bin/window_dir".source = pkgs.writers.writeBash "window_dir" ''
|
||||
PID=$(${pkgs.hyprland}/bin/hyprctl activewindow | grep pid | cut -d' ' -f 2)
|
||||
PID=$(echo $(ps --ppid $PID -o pid | tail -n1))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue