pinwheel: Start Hyprland with uwsm
This commit is contained in:
@@ -22,7 +22,7 @@ in
|
|||||||
let
|
let
|
||||||
session = {
|
session = {
|
||||||
user = "alex";
|
user = "alex";
|
||||||
command = "${pkgs.hyprland}/bin/Hyprland";
|
command = "uwsm start hyprland-uwsm.desktop";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ in
|
|||||||
config = lib.mkIf enabled {
|
config = lib.mkIf enabled {
|
||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
withUWSM = true;
|
||||||
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||||
portalPackage =
|
portalPackage =
|
||||||
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
||||||
@@ -86,10 +87,11 @@ in
|
|||||||
home-manager.users.alex = {
|
home-manager.users.alex = {
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
systemd.enable = false;
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
exec-once=waybar
|
exec-once = uwsm app -- waybar
|
||||||
exec-once=hyprctl setcursor Adwaita 24
|
exec-once = uwsm app -- hyprctl setcursor Adwaita 24
|
||||||
|
|
||||||
env = GDK_DPI_SCALE,1.5
|
env = GDK_DPI_SCALE,1.5
|
||||||
env = HYPRCURSOR_THEME,Adwaita
|
env = HYPRCURSOR_THEME,Adwaita
|
||||||
@@ -109,7 +111,6 @@ in
|
|||||||
# https://wiki.archlinux.org/title/Hyprland#Jetbrains_apps_focus_issues
|
# https://wiki.archlinux.org/title/Hyprland#Jetbrains_apps_focus_issues
|
||||||
windowrule = match:xwayland true, no_initial_focus on
|
windowrule = match:xwayland true, no_initial_focus on
|
||||||
|
|
||||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
Reference in New Issue
Block a user