Add screenshot and ntfy plugins; update keybinds
Disable the notify-client module on all hosts. Install hyprshot, enable screenshot and ntfy‑notifications plugins, set screenshot mode to region, and add keybindings for these features. Introduce a restart‑noctalia script and include it in the home scripts.
This commit is contained in:
@@ -75,7 +75,7 @@ _: {
|
|||||||
signal.enable = true; # Signal: secure messaging app
|
signal.enable = true; # Signal: secure messaging app
|
||||||
teams.enable = true; # Teams-for-linux: Unofficial Microsoft Teams client for Linux
|
teams.enable = true; # Teams-for-linux: Unofficial Microsoft Teams client for Linux
|
||||||
ferdium.enable = false; # Ferdium: All your services in one place built by the community
|
ferdium.enable = false; # Ferdium: All your services in one place built by the community
|
||||||
notify.enable = true; # notify-client: Ntfy client application to receive everyday's notifications
|
notify.enable = false; # notify-client: Ntfy client application to receive everyday's notifications
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Productivity / Knowledge Management
|
Productivity / Knowledge Management
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ _: {
|
|||||||
signal.enable = true; # Signal: secure messaging app
|
signal.enable = true; # Signal: secure messaging app
|
||||||
teams.enable = true; # Teams-for-linux: Unofficial Microsoft Teams client for Linux
|
teams.enable = true; # Teams-for-linux: Unofficial Microsoft Teams client for Linux
|
||||||
ferdium.enable = false; # Ferdium: All your services in one place built by the community
|
ferdium.enable = false; # Ferdium: All your services in one place built by the community
|
||||||
notify.enable = true; # notify-client: Ntfy client application to receive everyday's notifications
|
notify.enable = false; # notify-client: Ntfy client application to receive everyday's notifications
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Productivity / Knowledge Management
|
Productivity / Knowledge Management
|
||||||
|
|||||||
@@ -44,6 +44,7 @@
|
|||||||
waypaper
|
waypaper
|
||||||
uwsm
|
uwsm
|
||||||
hyprpicker
|
hyprpicker
|
||||||
|
hyprshot
|
||||||
cliphist
|
cliphist
|
||||||
# Development utilities
|
# Development utilities
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|||||||
@@ -42,9 +42,9 @@
|
|||||||
"SUPER SHIFT, N, exec, nextcloud #\"Nextcloud desktop sync client\""
|
"SUPER SHIFT, N, exec, nextcloud #\"Nextcloud desktop sync client\""
|
||||||
"SUPER SHIFT, O, exec, obs #\"Open Broadcaster Software\""
|
"SUPER SHIFT, O, exec, obs #\"Open Broadcaster Software\""
|
||||||
"SUPER SHIFT, P, exec, noctalia-shell ipc call volume togglePanel #\"Toggle volume control panel\""
|
"SUPER SHIFT, P, exec, noctalia-shell ipc call volume togglePanel #\"Toggle volume control panel\""
|
||||||
# "SUPER SHIFT, R, exec, restart.noctalia #\"Restart Noctalia shell\""
|
"SUPER SHIFT, R, exec, restart-noctalia #\"Restart Noctalia shell\""
|
||||||
"SUPER SHIFT, Return, exec, noctalia-shell ipc call launcher toggle #\"Toggle application launcher\""
|
"SUPER SHIFT, Return, exec, noctalia-shell ipc call launcher toggle #\"Toggle application launcher\""
|
||||||
"SUPER SHIFT, S, exec, screenshootin #\"Take screenshot\""
|
"SUPER SHIFT, S, exec, noctalia-shell ipc call plugin:screenshot takeScreenshot region #\"Take screenshot\""
|
||||||
"SUPER SHIFT, T, exec, tutanota-desktop #\"Tutanota encrypted email client\""
|
"SUPER SHIFT, T, exec, tutanota-desktop #\"Tutanota encrypted email client\""
|
||||||
"SUPER SHIFT, V, exec, noctalia-shell ipc call launcher clipboard #\"Open clipboard manager\""
|
"SUPER SHIFT, V, exec, noctalia-shell ipc call launcher clipboard #\"Open clipboard manager\""
|
||||||
];
|
];
|
||||||
@@ -54,6 +54,7 @@
|
|||||||
"SUPER ALT, F, exec, finamp #\"Jellyfin music client\""
|
"SUPER ALT, F, exec, finamp #\"Jellyfin music client\""
|
||||||
"SUPER ALT, G, exec, dex ${desktopEntriesPath}/glance.desktop #\"Glance server panel\""
|
"SUPER ALT, G, exec, dex ${desktopEntriesPath}/glance.desktop #\"Glance server panel\""
|
||||||
"SUPER ALT, M, exec, dex ${desktopEntriesPath}/mastodon.desktop #\"Mastodon social network client\""
|
"SUPER ALT, M, exec, dex ${desktopEntriesPath}/mastodon.desktop #\"Mastodon social network client\""
|
||||||
|
"SUPER ALT, N, exec, noctalia-shell ipc call plugin:ntfy-notifications toggle #\"Open ntfy panel\""
|
||||||
"SUPER ALT, P, exec, noctalia-shell ipc call settings toggle #\"Open settings panel\""
|
"SUPER ALT, P, exec, noctalia-shell ipc call settings toggle #\"Open settings panel\""
|
||||||
"SUPER ALT, R, exec, noctalia-shell ipc call plugin:screen-recorder toggleReplay #\"Toggle Replay\""
|
"SUPER ALT, R, exec, noctalia-shell ipc call plugin:screen-recorder toggleReplay #\"Toggle Replay\""
|
||||||
"SUPER ALT, S, exec, slack #\"Slack team communication tool\""
|
"SUPER ALT, S, exec, slack #\"Slack team communication tool\""
|
||||||
@@ -65,6 +66,7 @@
|
|||||||
"SUPER CONTROL, C, exec, noctalia-shell ipc call powerProfile cycle #\"Cycle through power profiles\""
|
"SUPER CONTROL, C, exec, noctalia-shell ipc call powerProfile cycle #\"Cycle through power profiles\""
|
||||||
"SUPER CONTROL, G, exec, gimp #\"GNU Image Manipulation Program\""
|
"SUPER CONTROL, G, exec, gimp #\"GNU Image Manipulation Program\""
|
||||||
"SUPER CONTROL, M, exec, mattermost-desktop #\"Mattermost team chat client\""
|
"SUPER CONTROL, M, exec, mattermost-desktop #\"Mattermost team chat client\""
|
||||||
|
"SUPER CONTROL, N, exec, noctalia-shell ipc call plugin:ntfy-notifications refresh #\"Refresh ntfy\""
|
||||||
"SUPER CONTROL, S, exec, signal-desktop #\"Signal encrypted messaging\""
|
"SUPER CONTROL, S, exec, signal-desktop #\"Signal encrypted messaging\""
|
||||||
"SUPER CONTROL, T, exec, tsukimi #\"A simple Emby/Jellyfin Client\""
|
"SUPER CONTROL, T, exec, tsukimi #\"A simple Emby/Jellyfin Client\""
|
||||||
"SUPER CONTROL, P, exec, hyprpicker -a #\"Pick color from screen\""
|
"SUPER CONTROL, P, exec, hyprpicker -a #\"Pick color from screen\""
|
||||||
|
|||||||
@@ -31,6 +31,14 @@ in {
|
|||||||
enabled = true;
|
enabled = true;
|
||||||
sourceUrl = sourceUrl;
|
sourceUrl = sourceUrl;
|
||||||
};
|
};
|
||||||
|
screenshot = {
|
||||||
|
enabled = true;
|
||||||
|
sourceUrl = sourceUrl;
|
||||||
|
};
|
||||||
|
ntfy-notifications = {
|
||||||
|
enabled = true;
|
||||||
|
sourceUrl = sourceUrl;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
version = 2;
|
version = 2;
|
||||||
};
|
};
|
||||||
@@ -71,6 +79,19 @@ in {
|
|||||||
restorePortalSession = true;
|
restorePortalSession = true;
|
||||||
customFrameRate = 6;
|
customFrameRate = 6;
|
||||||
};
|
};
|
||||||
|
screenshot.mode = "region";
|
||||||
|
# ntfy-notifications = {
|
||||||
|
# serverUrl = "https://ntfy.garandplg.com";
|
||||||
|
# topics = "beszel,dockhand,jellyfin,nixos-unstable,radarr,rss-feeds,seerr,sonarr";
|
||||||
|
# authMethod = "basic";
|
||||||
|
# authToken = "";
|
||||||
|
# authUsername = ''$(cat ${config.sops.secrets."credentials/ntfy/username".path})'';
|
||||||
|
# authPassword = ''$(cat ${config.sops.secrets."credentials/ntfy/password".path})'';
|
||||||
|
# pollInterval = 30;
|
||||||
|
# enableToasts = true;
|
||||||
|
# maxMessages = 100;
|
||||||
|
# readMessageIds = [];
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
home.packages = [
|
home.packages = [
|
||||||
(import ./nvidia-offload.nix {inherit pkgs;})
|
(import ./nvidia-offload.nix {inherit pkgs;})
|
||||||
|
(import ./restart-noctalia.nix {inherit pkgs;})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{pkgs}:
|
||||||
|
pkgs.writeShellScriptBin "restart-noctalia" ''
|
||||||
|
noctalia-shell kill
|
||||||
|
sleep 1.5
|
||||||
|
noctalia-shell -d
|
||||||
|
''
|
||||||
Reference in New Issue
Block a user