mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-07-06 16:12:33 +02:00
a393b84c92
Signed-off-by: Hadi <hadi@example.com>
113 lines
2.7 KiB
Nix
113 lines
2.7 KiB
Nix
{...}: {
|
|
xdg.desktopEntries = {
|
|
focus-toggle = {
|
|
name = "Focus Mode";
|
|
exec = "focus-toggle";
|
|
icon = "do-not-disturb-symbolic";
|
|
comment = "Toggle focus mode";
|
|
categories = ["System"];
|
|
terminal = false;
|
|
};
|
|
|
|
nightshift-toggle = {
|
|
name = "Night Shift";
|
|
exec = "nightshift-toggle";
|
|
icon = "night-light-symbolic";
|
|
comment = "Toggle night shift";
|
|
categories = ["System"];
|
|
terminal = false;
|
|
};
|
|
|
|
mic-mute = {
|
|
name = "Mute Microphone";
|
|
exec = "mic-mute";
|
|
icon = "microphone-sensitivity-muted-symbolic";
|
|
comment = "Toggle microphone mute";
|
|
categories = ["System"];
|
|
terminal = false;
|
|
};
|
|
|
|
lock = {
|
|
name = "Lock";
|
|
exec = "hyprlock";
|
|
icon = "system-lock-screen-symbolic";
|
|
comment = "Lock the screen";
|
|
categories = ["System"];
|
|
terminal = false;
|
|
};
|
|
|
|
reboot = {
|
|
name = "Reboot";
|
|
exec = "systemctl reboot";
|
|
icon = "system-restart-symbolic";
|
|
comment = "Restart the system";
|
|
categories = ["System"];
|
|
terminal = false;
|
|
};
|
|
|
|
shutdown = {
|
|
name = "Shutdown";
|
|
exec = "systemctl poweroff";
|
|
icon = "system-shutdown-symbolic";
|
|
comment = "Power off the system";
|
|
categories = ["System"];
|
|
terminal = false;
|
|
};
|
|
|
|
hibernate = {
|
|
name = "Hibernate";
|
|
exec = "systemctl hibernate";
|
|
icon = "drive-harddisk-symbolic";
|
|
comment = "Hibernate the system";
|
|
categories = ["System"];
|
|
terminal = false;
|
|
};
|
|
|
|
waybar-toggle = {
|
|
name = "Toggle Waybar";
|
|
exec = "waybar-toggle";
|
|
icon = "panel-applets-symbolic";
|
|
comment = "Show or hide the status bar";
|
|
categories = ["System"];
|
|
terminal = false;
|
|
};
|
|
|
|
wifi-toggle = {
|
|
name = "Toggle Wi-Fi";
|
|
exec = "wifi-toggle";
|
|
icon = "network-wireless-symbolic";
|
|
comment = "Enable or disable Wi-Fi";
|
|
categories = ["System"];
|
|
terminal = false;
|
|
};
|
|
|
|
bluetooth-toggle = {
|
|
name = "Toggle Bluetooth";
|
|
exec = "bluetooth-toggle";
|
|
icon = "bluetooth-symbolic";
|
|
comment = "Enable or disable Bluetooth";
|
|
categories = ["System"];
|
|
terminal = false;
|
|
};
|
|
|
|
logout = {
|
|
name = "Logout";
|
|
exec = "hyprctl dispatch exit";
|
|
icon = "system-log-out-symbolic";
|
|
comment = "End the current session";
|
|
categories = ["System"];
|
|
terminal = false;
|
|
};
|
|
|
|
spotatui = {
|
|
name = "Spotify";
|
|
exec = "ghostty -e spotatui";
|
|
icon = "spotify";
|
|
comment = "Control Spotify from the terminal";
|
|
categories = ["Audio" "Music"];
|
|
terminal = false;
|
|
settings.Keywords = "spotify;spotatui;music;";
|
|
};
|
|
};
|
|
}
|