i need to start making smaller commits
This commit is contained in:
parent
29473532c7
commit
088b45ff45
19 changed files with 397 additions and 23 deletions
|
@ -44,12 +44,12 @@
|
|||
../../programs/media/jellyfin.nix
|
||||
# gaming
|
||||
../../programs/games
|
||||
../../programs/games/ludusavi.nix
|
||||
#../../programs/games/ludusavi.nix
|
||||
|
||||
# media services
|
||||
../../services/media/playerctl.nix
|
||||
# system services
|
||||
../../services/system/polkit-agent.nix
|
||||
../../services/system/udiskie.nix
|
||||
../../services/system/udiskie.nix # although i dont need this for usb memory, it is quite convenient for flashing qmk
|
||||
];
|
||||
}
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"browser.aboutConfig.showWarning" = false; # Warning when opening about:config
|
||||
"media.videocontrols.picture-in-picture.video-toggle.enabled" = false;
|
||||
"extensions.autoDisableScopes" = "0"; # Automatically enable extensions
|
||||
"extensions.pocket.enabled" = false;
|
||||
"extensions.pocket.enabled" = true; # i actually use pocket
|
||||
"extensions.shield-recipe-client.enabled" = false;
|
||||
#"reader.parse-on-load.enabled" = false; # "reader view"
|
||||
|
||||
|
|
|
@ -17,6 +17,28 @@
|
|||
extraOptions = ["-max-items" "150"];
|
||||
};
|
||||
|
||||
# notification center
|
||||
services.swaync = {
|
||||
enable = true;
|
||||
settings = {
|
||||
positionX = "right";
|
||||
positionY = "top";
|
||||
layer = "overlay";
|
||||
control-center-layer = "top";
|
||||
layer-shell = true;
|
||||
cssPriority = "application";
|
||||
control-center-margin-top = 0;
|
||||
control-center-margin-bottom = 0;
|
||||
control-center-margin-right = 0;
|
||||
control-center-margin-left = 0;
|
||||
notification-2fa-action = true;
|
||||
notification-inline-replies = false;
|
||||
notification-icon-size = 64;
|
||||
notification-body-image-height = 100;
|
||||
notification-body-image-width = 200;
|
||||
};
|
||||
};
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
checkConfig = false; # doesnt work with custom wallpaper
|
||||
|
@ -59,12 +81,13 @@
|
|||
kill -s SIGSTOP $pid
|
||||
fi
|
||||
'';
|
||||
dir = with config.wayland.windowManager.sway.config; {
|
||||
inherit up down left right;
|
||||
dir = {
|
||||
inherit (config.wayland.windowManager.sway.config) up down left right;
|
||||
};
|
||||
in
|
||||
lib.mkOptionDefault (
|
||||
{
|
||||
"${mod}+n" = "exec ${pkgs.swaynotificationcenter}/bin/swaync-client -t";
|
||||
"${mod}+Shift+v" = "exec ${lib.getExe pkgs.cliphist} list | ${lib.getExe pkgs.wofi} --dmenu | ${lib.getExe pkgs.cliphist} decode | ${pkgs.wl-clipboard}/bin/wl-copy";
|
||||
"${mod}+Ctrl+${dir.left}" = "focus output left";
|
||||
"${mod}+Ctrl+${dir.right}" = "focus output right";
|
||||
|
@ -78,7 +101,7 @@
|
|||
|
||||
"${mod}+Shift+Backspace" = "exec systemctl suspend";
|
||||
"${mod}+Shift+s" = "exec ${lib.getExe pkgs.sway-contrib.grimshot} copy anything";
|
||||
"${mod}+Ctrl+Shift+s" = "exec XDG_PICTURES_DIR=$XDG_PICTURES_DIR/screenshots ${lib.getExe pkgs.sway-contrib.grimshot} savecopy anything";
|
||||
"${mod}+Ctrl+Shift+s" = "exec ${lib.getExe pkgs.sway-contrib.grimshot} savecopy anything";
|
||||
|
||||
"${mod}+Shift+p" = "exec ${pauseApp}";
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
home.packages = with pkgs; [
|
||||
vesktop
|
||||
(discord.override {
|
||||
withVencord = true;
|
||||
withOpenASAR = true;
|
||||
})
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue