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

View file

@ -38,7 +38,7 @@
"Mod+Right".action.focus-column-right = {};
"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+T".action.spawn = [ "kitty" ];

View file

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