mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-10-28 11:10:42 +01:00
refactor: hyprland
This commit is contained in:
19
modules/hypr/hyprland/autostart.nix
Normal file
19
modules/hypr/hyprland/autostart.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
userConfig,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
uwsm_run = "${pkgs.uwsm}/bin/uwsm";
|
||||
in
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
"exec-once" = [
|
||||
"wl-paste --type text --watch cliphist store"
|
||||
"wl-paste --type image --watch cliphist store"
|
||||
"${uwsm_run} -- ${userConfig.statusBar}"
|
||||
"awww-daemon"
|
||||
"openrgb -c $openrgb_color"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user