Compare commits

...

3 commits

Author SHA1 Message Date
83f3edf2d3
Hyprland: Make config more universal
adalbert-specific config pulled into adalbert.nix
2024-12-15 12:03:43 +01:00
809141fc66
Hyprland: Fix screenshot black border 2024-12-15 12:03:04 +01:00
14f49e21aa
Hyprland: Fix monitor refreshrate 2024-12-15 12:02:51 +01:00
2 changed files with 20 additions and 7 deletions

View file

@ -1,5 +1,4 @@
{inputs, ...}: let { inputs, ... }: {
in {
imports = [ imports = [
./global ./global
./features/desktop/awesome ./features/desktop/awesome
@ -7,7 +6,6 @@ in {
./features/games ./features/games
./features/coding ./features/coding
./features/desktop/common/alacritty.nix ./features/desktop/common/alacritty.nix
# ./features/desktop/common/3d-printing.nix
]; ];
home.packages = [ 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 = { settings = {
# autostart # autostart
exec-once = [ exec-once = [
"picokontroller" # volume & light control
"systemctl --user start hyprpolkitagent" # polkit agent "systemctl --user start hyprpolkitagent" # polkit agent
"hyprshade on bluelight" # set bluelight shader "hyprshade on bluelight" # set bluelight shader
"fcitx5 -d" # japanese typing "fcitx5 -d" # japanese typing
"webcord --start-minimized --force-audio-share-support" # discord but some privacy "webcord --start-minimized --force-audio-share-support" # discord but some privacy
"kdeconnect-indicator & kdeconnect-cli -l" # kde connect "kdeconnect-indicator & kdeconnect-cli -l" # kde connect
"signal-desktop --start-in-tray" "signal-desktop --start-in-tray"
"easyeffects --gapplication-service"
"wl-clip-persist --clipboard both &" # Keep Wayland clipboard even after programs close "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 "wl-paste --watch cliphist store &" # Store clipboard contents in cliphist on each change
]; ];
@ -119,7 +117,7 @@
"$mainMod, Space, exec, $menu" "$mainMod, Space, exec, $menu"
"$mainMod, P, pseudo" # dwindle "$mainMod, P, pseudo" # dwindle
"$mainMod, J, togglesplit" # dwindle "$mainMod, J, togglesplit" # dwindle
", Print, exec, hyprshade off && grim -g \"$(slurp -w 0 -d)\" - | wl-copy && hyprshade on bluelight" ", Print, exec, hyprshade off && grim -g \"$(slurp -w 0 -d)\" - | wl-copy && hyprshade on bluelight"
# Move focus with mainMod + arrow keys # Move focus with mainMod + arrow keys
"$mainMod, left, movefocus, l" "$mainMod, left, movefocus, l"
@ -212,8 +210,15 @@
]; ];
monitor = [ monitor = [
",preferred,auto,auto" "DP-1, 1920x1080@74.97, auto-left, 1" # Adalbert: Left
"DP-3, 2560x1440@143.86, auto-right, 1" # Adalbert: Right
"eDP-1, 1920x1080@60, auto, 1.1" # Ludwig
",highrr,auto,auto"
]; ];
misc = {
vrr = 1;
};
}; };
}; };
} }