t
This commit is contained in:
@@ -30,6 +30,19 @@ in {
|
||||
};
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
extraOptions = [
|
||||
"--unsupported-gpu"
|
||||
];
|
||||
checkConfig = false;
|
||||
extraSessionCommands = ''
|
||||
export WLR_RENDERER=vulkan
|
||||
export WLR_NO_HARDWARE_CURSORS=1
|
||||
export XWAYLAND_NO_GLAMOR=1
|
||||
export LIBVA_DRIVER_NAME=nvidia
|
||||
export XDG_SESSION_TYPE=wayland
|
||||
export GBM_BACKEND=nvidia-drm
|
||||
export __GLX_VENDOR_LIBRARY_NAME=nvidia
|
||||
'';
|
||||
config = {
|
||||
bars = [
|
||||
{
|
||||
@@ -88,11 +101,22 @@ in {
|
||||
eDP-1 = {
|
||||
scale = "1.33";
|
||||
};
|
||||
|
||||
DP-2 = {
|
||||
position = "0 0";
|
||||
scale = "1.33";
|
||||
};
|
||||
HDMI-A-2 = {
|
||||
scale = "1.33";
|
||||
};
|
||||
};
|
||||
keybindings = {
|
||||
"${mod}+Return" = "exec kitty";
|
||||
"${mod}+q" = "${closer}/bin/closer";
|
||||
"${mod}+d" = "exec tofi-drun --drun-launch=true";
|
||||
"${hyper}+Return" = "exec kitty";
|
||||
"${hyper}+q" = "${closer}/bin/closer";
|
||||
"${hyper}+d" = "exec tofi-drun --drun-launch=true";
|
||||
|
||||
"${mod}+h" = "focus left";
|
||||
"${mod}+j" = "focus down";
|
||||
|
||||
Reference in New Issue
Block a user