hypr: remove UWSM

again...
This commit is contained in:
Nico 2026-01-28 23:47:11 +11:00
parent 712242299f
commit b78448c978
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0
5 changed files with 18 additions and 19 deletions

View file

@ -2,7 +2,6 @@
{ {
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";

View file

@ -6,7 +6,7 @@
enable = true; enable = true;
settings = { settings = {
initial_session = { initial_session = {
command = if (config.programs.uwsm.enable == true) then "${lib.getExe pkgs.uwsm} start default" else if (config.programs.niri.enable == true) then "${pkgs.niri}/bin/niri-session" else if (config.programs.hyprland.enable == true) then "${pkgs.hyprland}/bin/Hyprland" else "${pkgs.zsh}/bin/zsh"; command = if (config.programs.niri.enable == true) then "${pkgs.niri}/bin/niri-session" else if (config.programs.hyprland.enable == true) then "${pkgs.hyprland}/bin/Hyprland" else "${pkgs.zsh}/bin/zsh";
user = "nico"; user = "nico";
}; };
default_session = { default_session = {

View file

@ -5,18 +5,18 @@
$mainMod = SUPER # Sets "Windows" key as main modifier $mainMod = SUPER # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, uwsm app -- ghostty bind = $mainMod, Q, exec, ghostty
bind = $mainMod, B, exec, uwsm app -- firefox bind = $mainMod, B, exec, firefox
bind = $mainMod, D, exec, vicinae toggle bind = $mainMod, D, exec, vicinae toggle
bind = $mainMod shift, D, exec, uwsm app -- 1password --quick-access bind = $mainMod shift, D, exec, 1password --quick-access
bind = $mainMod, S, exec, uwsm app -- hyprshot -z --clipboard-only -m region bind = $mainMod, S, exec, hyprshot -z --clipboard-only -m region
bind = $mainMod shift, S, exec, uwsm app -- hyprshot -z --clipboard-only -m window bind = $mainMod shift, S, exec, hyprshot -z --clipboard-only -m window
bind = $mainMod control, S, exec, uwsm app -- hyprshot -z --clipboard-only -m active bind = $mainMod control, S, exec, hyprshot -z --clipboard-only -m active
bind = $mainMod, V, exec, uwsm app -- sh ~/.config/hypr/hyprlock.sh bind = $mainMod, V, exec, sh ~/.config/hypr/hyprlock.sh
bind = $mainMod, SPACE, togglefloating, bind = $mainMod, SPACE, togglefloating,
bind = $mainMod, W, killactive, bind = $mainMod, W, killactive,
bind = $mainMod, M, exec, uwsm stop bind = $mainMod, M, dispatch, exit
#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

View file

@ -15,18 +15,18 @@ monitor=eDP-1,1920x1080@60,auto,1
# autostart # autostart
# desktop # desktop
exec-once = uwsm app -- swww-daemon exec-once = swww-daemon
exec-once = uwsm app -- waybar exec-once = waybar
exec-once = uwsm app -- swaync exec-once = swaync
exec-once = uwsm app -- vicinae server exec-once = vicinae server
exec-once = uwsm app -- fcitx5 exec-once = fcitx5
exec-once = systemctl --user start hyprpolkitagent exec-once = systemctl --user start hyprpolkitagent
exec-once = hyprshade auto exec-once = hyprshade auto
# apps # apps
exec-once = uwsm app -- opensnitch-ui || echo "" exec-once = opensnitch-ui
exec-once = uwsm app -- steam -silent || echo "" exec-once = steam -silent
exec-once = uwsm app -- 1password --silent || echo "" exec-once = 1password --silent
############################# #############################
### ENVIRONMENT VARIABLES ### ### ENVIRONMENT VARIABLES ###

View file

@ -266,7 +266,7 @@ Terminal = false
[[builtins.custom_commands.commands]] [[builtins.custom_commands.commands]]
name = "Logout" name = "Logout"
cmd = "uwsm stop" cmd = "hyprctl dispatch exit"
Terminal = false Terminal = false
# hypr # hypr