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