Compare commits
No commits in common. "e08af2559b0363c81c749635f4d37139aa92a399" and "fcd2651dc27d68009d434dc726f9f3f3e7ae62f8" have entirely different histories.
e08af2559b
...
fcd2651dc2
1 changed files with 47 additions and 31 deletions
|
|
@ -31,9 +31,6 @@ in {
|
||||||
(pkgs)
|
(pkgs)
|
||||||
ansel
|
ansel
|
||||||
chromium # some websites only work there :(
|
chromium # some websites only work there :(
|
||||||
hyprlock
|
|
||||||
nwg-displays
|
|
||||||
shikane # output autoconfig
|
|
||||||
zotero
|
zotero
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
@ -43,9 +40,7 @@ in {
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
|
|
||||||
wayland.windowManager.sway = let
|
wayland.windowManager.sway = {
|
||||||
logoutMode = "[L]ogout, [S]uspend, [P]oweroff, [R]eboot";
|
|
||||||
in {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
swaynag.enable = true;
|
swaynag.enable = true;
|
||||||
wrapperFeatures.gtk = true;
|
wrapperFeatures.gtk = true;
|
||||||
|
|
@ -70,36 +65,57 @@ in {
|
||||||
};
|
};
|
||||||
fonts = {
|
fonts = {
|
||||||
names = ["Iosevka Fixed" "FontAwesome6Free"];
|
names = ["Iosevka Fixed" "FontAwesome6Free"];
|
||||||
size = 8.0;
|
size = 9.0;
|
||||||
};
|
};
|
||||||
bars = [];
|
bars = [
|
||||||
|
{
|
||||||
|
mode = "dock";
|
||||||
|
hiddenState = "hide";
|
||||||
|
position = "top";
|
||||||
|
workspaceButtons = true;
|
||||||
|
workspaceNumbers = true;
|
||||||
|
statusCommand = "${pkgs.i3status}/bin/i3status";
|
||||||
|
fonts = {
|
||||||
|
names = ["Iosevka Fixed" "FontAwesome6Free"];
|
||||||
|
size = 9.0;
|
||||||
|
};
|
||||||
|
trayOutput = "primary";
|
||||||
|
colors = {
|
||||||
|
background = "#000000";
|
||||||
|
statusline = "#ffffff";
|
||||||
|
separator = "#666666";
|
||||||
|
focusedWorkspace = {
|
||||||
|
border = "#4c7899";
|
||||||
|
background = "#285577";
|
||||||
|
text = "#ffffff";
|
||||||
|
};
|
||||||
|
activeWorkspace = {
|
||||||
|
border = "#333333";
|
||||||
|
background = "#5f676a";
|
||||||
|
text = "#ffffff";
|
||||||
|
};
|
||||||
|
inactiveWorkspace = {
|
||||||
|
border = "#333333";
|
||||||
|
background = "#222222";
|
||||||
|
text = "#888888";
|
||||||
|
};
|
||||||
|
urgentWorkspace = {
|
||||||
|
border = "#2f343a";
|
||||||
|
background = "#900000";
|
||||||
|
text = "#ffffff";
|
||||||
|
};
|
||||||
|
bindingMode = {
|
||||||
|
border = "#2f343a";
|
||||||
|
background = "#900000";
|
||||||
|
text = "#ffffff";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
keybindings = mkOptionDefault {
|
keybindings = mkOptionDefault {
|
||||||
"Mod4+Shift+e" = ''mode "${logoutMode}"'';
|
|
||||||
"Mod4+i" = "exec emacsclient --create-frame";
|
"Mod4+i" = "exec emacsclient --create-frame";
|
||||||
"Mod4+Control+l" = "exec hyprlock";
|
|
||||||
"XF86AudioMute" = "exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
|
||||||
"XF86AudioLowerVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- -l 1.2";
|
|
||||||
"XF86AudioRaiseVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ -l 1.2";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
modes = mkOptionDefault {
|
|
||||||
"${logoutMode}" = {
|
|
||||||
"l" = "exec --no-startup-id swaymsg exit, mode default";
|
|
||||||
#"s" = "exec --no-startup-id betterlockscreen --suspend, mode default";
|
|
||||||
"p" = "exec --no-startup-id systemctl poweroff, mode default";
|
|
||||||
"r" = "exec --no-startup-id systemctl reboot, mode default";
|
|
||||||
"Escape" = "mode default";
|
|
||||||
"Return" = "mode default";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
menu = "fuzzel --list-executables-in-path";
|
|
||||||
|
|
||||||
startup = [
|
|
||||||
{command = "shikane";}
|
|
||||||
{command = "waybar";}
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue