Hyprland: Make config more universal

adalbert-specific config pulled into adalbert.nix
This commit is contained in:
GHOSCHT 2024-12-15 12:03:43 +01:00
parent 809141fc66
commit 83f3edf2d3
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82
2 changed files with 11 additions and 5 deletions

View file

@ -1,5 +1,4 @@
{inputs, ...}: let
in {
{ inputs, ... }: {
imports = [
./global
./features/desktop/awesome
@ -7,7 +6,6 @@ in {
./features/games
./features/coding
./features/desktop/common/alacritty.nix
# ./features/desktop/common/3d-printing.nix
];
home.packages = [
@ -21,4 +19,14 @@ in {
];
};
};
wayland.windowManager.hyprland = {
settings = {
exec-once = [
"picokontroller" # volume & light control
"easyeffects --gapplication-service"
"xrandr --output DP-3 --primary" # since wayland doesn't have a concept of primary monitors
];
};
};
}

View file

@ -3,14 +3,12 @@
settings = {
# autostart
exec-once = [
"picokontroller" # volume & light control
"systemctl --user start hyprpolkitagent" # polkit agent
"hyprshade on bluelight" # set bluelight shader
"fcitx5 -d" # japanese typing
"webcord --start-minimized --force-audio-share-support" # discord but some privacy
"kdeconnect-indicator & kdeconnect-cli -l" # kde connect
"signal-desktop --start-in-tray"
"easyeffects --gapplication-service"
"wl-clip-persist --clipboard both &" # Keep Wayland clipboard even after programs close
"wl-paste --watch cliphist store &" # Store clipboard contents in cliphist on each change
];