Compare commits
1 Commits
b2cf386dfe
...
a97a9507ec
Author | SHA1 | Date | |
---|---|---|---|
a97a9507ec |
@ -42,38 +42,6 @@
|
|||||||
export SDL_VIDEODRIVER=wayland
|
export SDL_VIDEODRIVER=wayland
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
wayland.windowManager.sway = {
|
|
||||||
enable = true;
|
|
||||||
config = {
|
|
||||||
input = { * = {xkb_layout = "es"}; };
|
|
||||||
menu = "rofi -show drun";
|
|
||||||
terminal = "kitty";
|
|
||||||
keybindings = lib.mkOptionDefault {
|
|
||||||
"${modifier}+Return" = "exec ${terminal}";
|
|
||||||
"${modifier}+w" = "kill";
|
|
||||||
"${modifier}+d" = "exec ${menu}";
|
|
||||||
};
|
|
||||||
startup = [
|
|
||||||
{command = "kitty --class tmux -- tmuxp load ~/.tmuxp/local.yaml"; workspace = "1";}
|
|
||||||
{command = "firefox"; workspace = "2";}
|
|
||||||
{command = "emacs"; workspace = "3";}
|
|
||||||
];
|
|
||||||
window.commands = [
|
|
||||||
{command = "floating enable"; criteria = {class = "mpv";} ; }
|
|
||||||
{command = "floating enable"; criteria = {class = "imv";} ; }
|
|
||||||
];
|
|
||||||
workspaceAutoBackAndForth = true;
|
|
||||||
};
|
|
||||||
extraSessionCommands = ''
|
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
|
||||||
export MOZ_DBUS_REMOTE=1
|
|
||||||
export GRIM_DEFAULT_DIR=/home/coolneng/Photos/Screenshots
|
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
||||||
export QT_QPA_PLATFORM=wayland
|
|
||||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
|
|
||||||
export SDL_VIDEODRIVER=wayland
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
# Blue light filter
|
# Blue light filter
|
||||||
services.redshift = {
|
services.redshift = {
|
||||||
|
Loading…
Reference in New Issue
Block a user