Add screen-recorder plugin; refactor Affinity
Introduce a new screen‑recorder plugin with default settings, key bindings, and a bar widget entry. Add a dedicated Affinity module, import it in the core defaults, and remove the previous package entry. Enable Affinity on the Garand‑Desktop and Garand‑Laptop hosts while keeping it disabled on the default host. Update flake.lock to newer revisions and reorder the hyprland exec‑once commands.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
"SUPER, N, exec, dex ${desktopEntriesPath}/garandcloud.desktop #\"GarandCloud client\""
|
||||
"SUPER, O, exec, onlyoffice-desktopeditors #\"Office suite\""
|
||||
"SUPER, P, exec, plex-desktop #\"Plex media player\""
|
||||
"SUPER, R, exec, noctalia-shell ipc call plugin:screen-recorder saveReplay #\"Save Replay\""
|
||||
"SUPER, Return, exec, kitty #\"Kitty terminal\""
|
||||
"SUPER, S, exec, steam #\"Steam Game launcher\""
|
||||
"SUPER, T, exec, thunar #\"File manager\""
|
||||
@@ -51,6 +52,7 @@
|
||||
"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, 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, S, exec, slack #\"Slack team communication tool\""
|
||||
"SUPER ALT, T, exec, gedit #\"GNOME text editor\""
|
||||
"SUPER ALT, W, exec, noctalia-shell ipc call wallpaper toggle #\"Toggle wallpaper\""
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
_: {
|
||||
wayland.windowManager.hyprland.settings.exec-once = [
|
||||
"wl-paste --type text --watch cliphist store" # Saves text
|
||||
"wl-paste --type image --watch cliphist store" # Saves images
|
||||
"dbus-update-activation-environment --all --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||
"systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||
"systemctl --user start hyprpolkitagent"
|
||||
"noctalia-shell"
|
||||
"wl-paste --type text --watch cliphist store" # Saves text
|
||||
"wl-paste --type image --watch cliphist store" # Saves images
|
||||
];
|
||||
}
|
||||
|
||||
@@ -27,6 +27,10 @@ in {
|
||||
enabled = true;
|
||||
sourceUrl = sourceUrl;
|
||||
};
|
||||
screen-recorder = {
|
||||
enabled = true;
|
||||
sourceUrl = sourceUrl;
|
||||
};
|
||||
};
|
||||
version = 2;
|
||||
};
|
||||
@@ -45,6 +49,28 @@ in {
|
||||
kde-connect = {
|
||||
hideIfNoDeviceConnected = true;
|
||||
};
|
||||
screen-recorder = {
|
||||
hideInactive = true;
|
||||
iconColor = "none";
|
||||
directory = "";
|
||||
filenamePattern = "recording_yyyyMMdd_HHmmss";
|
||||
frameRate = 60;
|
||||
audioCodec = "aac";
|
||||
videoCodec = "hevc";
|
||||
quality = "ultra";
|
||||
colorRange = "full";
|
||||
showCursor = true;
|
||||
copyToClipboard = false;
|
||||
audioSource = "default_output";
|
||||
videoSource = "portal";
|
||||
resolution = "1920x1080";
|
||||
replayEnabled = true;
|
||||
replayDuration = 60;
|
||||
customReplayDuration = 30;
|
||||
replayStorage = "disk";
|
||||
restorePortalSession = true;
|
||||
customFrameRate = 6;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -44,6 +44,31 @@
|
||||
showPowerProfiles = true;
|
||||
warningThreshold = 30;
|
||||
}
|
||||
{
|
||||
id = "plugin:screen-recorder";
|
||||
defaultSettings = {
|
||||
hideInactive = true;
|
||||
iconColor = "none";
|
||||
directory = "";
|
||||
filenamePattern = "recording_yyyyMMdd_HHmmss";
|
||||
frameRate = 60;
|
||||
audioCodec = "aac";
|
||||
videoCodec = "hevc";
|
||||
quality = "ultra";
|
||||
colorRange = "full";
|
||||
showCursor = true;
|
||||
copyToClipboard = false;
|
||||
audioSource = "default_output";
|
||||
videoSource = "portal";
|
||||
resolution = "1920x1080";
|
||||
replayEnabled = true;
|
||||
replayDuration = 60;
|
||||
customReplayDuration = 30;
|
||||
replayStorage = "disk";
|
||||
restorePortalSession = true;
|
||||
customFrameRate = 6;
|
||||
};
|
||||
}
|
||||
{
|
||||
id = "Volume";
|
||||
displayMode = "alwaysShow";
|
||||
|
||||
Reference in New Issue
Block a user