hypr: enable systemd session with UWSM
This commit is contained in:
parent
d617820931
commit
2be1e742f7
3 changed files with 4 additions and 2 deletions
|
|
@ -16,7 +16,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
initial_session = {
|
initial_session = {
|
||||||
command = "${pkgs.hyprland}/bin/Hyprland";
|
command = "${pkgs.uwsm}/bin/uwsm start default";
|
||||||
user = "nico";
|
user = "nico";
|
||||||
};
|
};
|
||||||
default_session = {
|
default_session = {
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
|
programs.hyprland.withUWSM = true;
|
||||||
# Optional, hint electron apps to use wayland:
|
# Optional, hint electron apps to use wayland:
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ exec-once = swaync &
|
||||||
exec-once = ulauncher --hide-window &
|
exec-once = ulauncher --hide-window &
|
||||||
|
|
||||||
exec-once = systemctl status --user polkit-gnome-authentication-agent-1.service
|
exec-once = systemctl status --user polkit-gnome-authentication-agent-1.service
|
||||||
|
exec-once = uwsm finalize
|
||||||
|
|
||||||
exec-once = steam -silent &
|
exec-once = steam -silent &
|
||||||
|
|
||||||
|
|
@ -167,7 +168,7 @@ bind = $mainMod, V, exec, hyprlock
|
||||||
|
|
||||||
bind = $mainMod, SPACE, togglefloating,
|
bind = $mainMod, SPACE, togglefloating,
|
||||||
bind = $mainMod, W, killactive,
|
bind = $mainMod, W, killactive,
|
||||||
bind = $mainMod, M, exit,
|
bind = $mainMod, M, exec, uwsm stop
|
||||||
|
|
||||||
#bind = $mainMod, P, pseudo, # dwindle # have no clue what this does
|
#bind = $mainMod, P, pseudo, # dwindle # have no clue what this does
|
||||||
bind = $mainMod, F, fullscreen
|
bind = $mainMod, F, fullscreen
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue