mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-23 00:39:07 +01:00
Rename namespace de to desktop and dm to login
This commit is contained in:
parent
5183f2bc39
commit
e87961276a
6 changed files with 12 additions and 12 deletions
|
|
@ -1,52 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.custom.de.hyprland.classic.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.de.hyprland.classic.enable {
|
||||
custom = {
|
||||
programs = {
|
||||
hyprland.enable = true;
|
||||
rofi.enable = true;
|
||||
hyprlock.enable = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
wpaperd.enable = true;
|
||||
hypridle.enable = true;
|
||||
waybar.enable = true;
|
||||
cliphist.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.dunst.enable = true;
|
||||
|
||||
home.packages = [
|
||||
pkgs.playerctl
|
||||
pkgs.grimblast
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland.extraConfig = lib.mkBefore ''
|
||||
# Variables
|
||||
$play-pause = playerctl --ignore-player=firefox play-pause
|
||||
$play-next = playerctl --ignore-player=firefox next
|
||||
$play-previous = playerctl --ignore-player=firefox previous
|
||||
$mute = wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
$volume-up = wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
$volume-down = wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
$mute-mic = wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
|
||||
# Launch programs
|
||||
bind = SUPER, R, exec, rofi -show drun
|
||||
bind = SUPER, V, exec, rofi-clipboard
|
||||
|
||||
# Manage session
|
||||
bindrl = SUPER CONTROL, L, exec, loginctl lock-session
|
||||
bindrl = SUPER CONTROL, S, exec, systemctl sleep
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue