set display variable

This commit is contained in:
cy 2025-01-19 20:37:34 -05:00
parent 32e8d70d6f
commit 5933a15cd8
2 changed files with 9 additions and 0 deletions

View file

@ -118,6 +118,14 @@ in
cooldown-ms = 150; cooldown-ms = 150;
action = focus-column-left; action = focus-column-left;
}; };
"Mod+Shift+WheelScrollDown" = {
cooldown-ms = 150;
action = focus-workspace-down;
};
"Mod+Shift+WheelScrollUp" = {
cooldown-ms = 150;
action = focus-workspace-up;
};
"XF86AudioRaiseVolume".action = sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+"; "XF86AudioRaiseVolume".action = sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+";
"XF86AudioLowerVolume".action = sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-"; "XF86AudioLowerVolume".action = sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-";

View file

@ -42,6 +42,7 @@
home.sessionVariables = { home.sessionVariables = {
ANKI_WAYLAND = "1"; ANKI_WAYLAND = "1";
DISPLAY = ":0";
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [