161 current 1970-01-01 01:00:00 24.05.20240303.b8697e5 6.6.19 *

This commit is contained in:
Max Känner 2024-03-10 10:55:16 +01:00
parent aef0c34412
commit 73b795635c

View File

@ -44,6 +44,7 @@
bg = "'${bg1080vert}' fit"; bg = "'${bg1080vert}' fit";
}; };
}; };
input = { input = {
"*" = { "*" = {
xkb_layout = "de"; xkb_layout = "de";
@ -63,6 +64,7 @@
map_to_output = "'AU Optronics 0x4B2D Unknown'"; map_to_output = "'AU Optronics 0x4B2D Unknown'";
}; };
}; };
modifier = "Mod4"; modifier = "Mod4";
keybindings = let keybindings = let
modifier = config.wayland.windowManager.sway.config.modifier; modifier = config.wayland.windowManager.sway.config.modifier;
@ -93,6 +95,8 @@
# custom pause mode similar to typical system shutdown menus # custom pause mode similar to typical system shutdown menus
"${modifier}+F12" = "mode pause-break"; "${modifier}+F12" = "mode pause-break";
}; };
menu = "${pkgs.tofi}/bin/tofi-drun | ${pkgs.findutils}/bin/xargs swaymsg exec --";
# use foot as default terminal # use foot as default terminal
terminal = "foot"; terminal = "foot";
assigns = { assigns = {
@ -101,11 +105,12 @@
"msg" = [{app_id = "org.keepassxc.KeePassXC";}]; "msg" = [{app_id = "org.keepassxc.KeePassXC";}];
}; };
bars = []; bars = [];
menu = "${pkgs.tofi}/bin/tofi-drun | ${pkgs.findutils}/bin/xargs swaymsg exec --";
fonts = { fonts = {
names = ["FiraCode Nerd Font"]; names = ["FiraCode Nerd Font"];
size = 11.0; size = 11.0;
}; };
modes = { modes = {
pause-break = { pause-break = {
e = "exec --no-startup-id swaymsg exit, mode default"; e = "exec --no-startup-id swaymsg exit, mode default";
@ -116,6 +121,7 @@
Escape = "mode default"; Escape = "mode default";
}; };
}; };
startup = [ startup = [
{command = "dbus-sway-environment";} {command = "dbus-sway-environment";}
{command = "configure-gtk";} {command = "configure-gtk";}
@ -123,6 +129,7 @@
{command = "${pkgs.waybar}/bin/waybar";} {command = "${pkgs.waybar}/bin/waybar";}
{command = "${pkgs.foot}/bin/foot -a foot-startup";} {command = "${pkgs.foot}/bin/foot -a foot-startup";}
]; ];
defaultWorkspace = "main"; defaultWorkspace = "main";
workspaceAutoBackAndForth = true; workspaceAutoBackAndForth = true;
workspaceOutputAssign = [ workspaceOutputAssign = [
@ -147,6 +154,54 @@
output = ["DP-4" "HDMI-A-1" "eDP-1"]; output = ["DP-4" "HDMI-A-1" "eDP-1"];
} }
]; ];
colors = {
background = "#00000000";
focused = {
border = "#00FFEE";
background = "#4477AA";
text = "#F0F0F0";
childBorder = "#00FFEE";
indicator = "#00AA88";
};
focusedInactive = {
border = "#626262";
background = "#444444";
text = "#F0F0F0";
childBorder = "#626262";
indicator = "#00AA88";
};
placeholder = {
border = "#313131";
background = "#222222";
text = "#F0F0F0";
childBorder = "#313131";
indicator = "#005544";
};
unfocused = {
border = "#313131";
background = "#222222";
text = "#F0F0F0";
childBorder = "#313131";
indicator = "#00AA88";
};
urgent = {
border = "#FF3131";
background = "#882222";
text = "#F0F0F0";
childBorder = "#FF3131";
indicator = "#00AA88";
};
};
focus.mouseWarping = true;
gaps = {
inner = 5;
smartGaps = true;
smartBorders = "no_gaps";
};
window.titlebar = false;
}; };
}; };