add notifications
This commit is contained in:
@@ -43,6 +43,7 @@ in
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.hyprland;
|
||||
};
|
||||
|
||||
security.pam.services = {
|
||||
@@ -62,6 +63,7 @@ in
|
||||
enable = true;
|
||||
enableNvidiaPatches = true;
|
||||
xwayland.enable = true;
|
||||
package = pkgs.unstable.hyprland;
|
||||
settings = {
|
||||
#
|
||||
# Please note not all available settings / options are set here.
|
||||
@@ -283,6 +285,7 @@ in
|
||||
extraConfig = let
|
||||
wl-copy = "${pkgs.wl-clipboard}/bin/wl-copy";
|
||||
wl-paste = "${pkgs.wl-clipboard}/bin/wl-paste";
|
||||
notify = "${pkgs.libnotify}/bin/notify-send";
|
||||
in ''
|
||||
bind = $mainMod, A, submap, notes
|
||||
|
||||
@@ -295,6 +298,7 @@ in
|
||||
bind = $mainMod, C, exec, ${wl-paste} | grep -C 15 -i -f - ~/Nextcloud/old_gdrive/fh/risikomanagement/crisam.txt | sed 's/[ \t]*$//' | ${wl-copy}
|
||||
# trim
|
||||
bind = $mainMod, T, exec, ${wl-paste} | sed 's/[ \t]*$//' | sed 's/^[ \t]*//' | ${wl-copy}
|
||||
bind = $mainMod, N, exec, ${notify} "$(${wl-paste})"
|
||||
# notes
|
||||
bind = $mainMod, 1, exec, cat ~/Nextcloud/old_gdrive/fh/risikomanagement/1.txt | ${wl-copy}
|
||||
bind = $mainMod, 2, exec, cat ~/Nextcloud/old_gdrive/fh/risikomanagement/2.txt | ${wl-copy}
|
||||
|
||||
@@ -33,6 +33,7 @@ in
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
services.xserver.wacom.enable = true;
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
@@ -61,6 +62,8 @@ in
|
||||
p7zip
|
||||
qbittorrent
|
||||
brightnessctl
|
||||
wacomtablet
|
||||
osu-lazer-bin
|
||||
(wrapOBS {
|
||||
plugins = with obs-studio-plugins; [
|
||||
obs-pipewire-audio-capture
|
||||
|
||||
Reference in New Issue
Block a user