feat: more hyprland

This commit is contained in:
Luj 2023-04-01 23:09:40 +02:00
parent a55a8ee9a4
commit b9ab646462
Signed by: luj
GPG key ID: 6FC74C847011FD83
5 changed files with 58 additions and 14 deletions

View file

@ -17,9 +17,12 @@ with lib;
package = pkgs.hyprland;
};
home.packages = [ pkgs.hyprpaper ];
xdg.configFile."hypr/hyprland.conf".text = ''
exec-once=${pkgs.dbus}/bin/dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP && systemctl --user start hyprland-session.target
exec-once = waybar
exec-once = waybar & hyprpaper
# Monitors
monitor = eDP-1, preferred, auto, auto
@ -166,7 +169,6 @@ with lib;
bind = SUPER SHIFT, F, exec, $files
bind = SUPER SHIFT, B, exec, $browser
bind = SUPER, SPACE, exec, $launcher
bind = SUPER, E, exec, $emoji
bind = SUPER, X, exec, power-menu
# Function keys
@ -187,7 +189,7 @@ with lib;
bind = SUPER, Q, killactive,
bind = SUPER, M, exit,
bind = SUPER, F, fullscreen,
bind = SUPER, Space, togglefloating,
bind = SUPER, D, togglefloating,
bind = SUPER, P, pseudo, # dwindle
bind = SUPER, J, togglesplit, # dwindle
@ -226,6 +228,10 @@ with lib;
bind = SUPER, mouse_down, workspace, e+1
bind = SUPER, mouse_up, workspace, e-1
'';
xdg.configFile."hypr/hyprpaper.conf".text = ''
preload = ${../../machines/macintosh/wallpaper.jpg}
wallpaper = ,${../../machines/macintosh/wallpaper.jpg}
'';
};
}