xwayland support. rofi inconsistenxy fix, remove hyprlogout
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 22s

This commit is contained in:
Satria 2026-07-07 19:22:35 +08:00
commit 6cf91a260a
3 changed files with 11 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, rice, ctp-opt, ... }: { { lib, pkgs, rice, ctp-opt, ... }: {
imports = [ imports = [
./keybinds.nix ./keybinds.nix
]; ];
@ -18,6 +18,7 @@
max-scroll-amount = "5%"; max-scroll-amount = "5%";
enable = true; enable = true;
}; };
keyboard.xkb.options = "caps:none";
}; };
environment = { environment = {
@ -42,6 +43,11 @@
"tailscale systray &" "tailscale systray &"
]; ];
xwayland-satellite = {
enable = true;
path = lib.getExe pkgs.xwayland-satellite;
};
prefer-no-csd = true; prefer-no-csd = true;
layout = { layout = {
tab-indicator.enable = false; tab-indicator.enable = false;

View file

@ -38,7 +38,7 @@
"Mod+Right".action.focus-column-right = {}; "Mod+Right".action.focus-column-right = {};
"Mod+Space" = { action.spawn = [ "playerctl" "play-pause" ]; allow-when-locked = true; }; "Mod+Space" = { action.spawn = [ "playerctl" "play-pause" ]; allow-when-locked = true; };
"Mod+R".action.spawn = [ "rofi" "-show" "drun" "-show-icons" "-display-drun" ":" "-run-command" "uwsm app -- {cmd}" ]; "Mod+R".action.spawn = [ "rofi" "-show" "drun" "-show-icons" "-display-drun" "" "-run-command" "uwsm app -- {cmd}" ];
"Mod+E".action.spawn = [ "pcmanfm-qt" ]; "Mod+E".action.spawn = [ "pcmanfm-qt" ];
"Mod+T".action.spawn = [ "kitty" ]; "Mod+T".action.spawn = [ "kitty" ];

View file

@ -4,13 +4,13 @@
layout = [ layout = [
{ {
label = "shutdown"; label = "shutdown";
action = "hyprshutdown -t 'Shutting down...' --post-cmd 'systemctl poweroff'"; action = "systemctl poweroff";
text = "(S)hutdown"; text = "(S)hutdown";
keybind = "s"; keybind = "s";
} }
{ {
label = "reboot"; label = "reboot";
action = "hyprshutdown -t 'Rebooting...' --post-cmd 'systemctl reboot'"; action = "systemctl reboot";
text = "(R)eboot"; text = "(R)eboot";
keybind = "r"; keybind = "r";
} }
@ -28,7 +28,7 @@
} }
{ {
label = "logout"; label = "logout";
action = "hyprshutdown -t 'Logging Out...' --post-cmd 'uwsm stop'"; action = "niri msg action quit";
text = "L(o)gout"; text = "L(o)gout";
keybind = "o"; keybind = "o";
} }