Many things
This commit is contained in:
parent
3b11f01f84
commit
6b3c9e83f7
17 changed files with 139 additions and 28 deletions
|
@ -1,3 +1,18 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.element-desktop];
|
||||
|
||||
systemd.user.services.element-desktop = {
|
||||
Install.WantedBy = ["graphical-session.target"];
|
||||
|
||||
Unit = {
|
||||
Description = "Element";
|
||||
PartOf = ["graphical-session.target"];
|
||||
};
|
||||
|
||||
Service = {
|
||||
ExecStart = "${pkgs.element-desktop}/bin/element-desktop";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 3;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
18
hmModules/franz/default.nix
Normal file
18
hmModules/franz/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.franz];
|
||||
|
||||
systemd.user.services.franz = {
|
||||
Install.WantedBy = ["graphical-session.target"];
|
||||
|
||||
Unit = {
|
||||
Description = "Franz";
|
||||
PartOf = ["graphical-session.target"];
|
||||
};
|
||||
|
||||
Service = {
|
||||
ExecStart = "${pkgs.franz}/bin/franz";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 3;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -34,6 +34,7 @@
|
|||
"-c"
|
||||
];
|
||||
content.pdfjs = true;
|
||||
scrolling.smooth = true;
|
||||
fonts = {
|
||||
default_size = "11pt";
|
||||
tabs = {
|
||||
|
|
|
@ -59,6 +59,13 @@
|
|||
command = "${pkgs.waybar}/bin/waybar";
|
||||
}
|
||||
];
|
||||
assigns = {
|
||||
"1" = [{title = ".*Mozilla Firefox$";} {title = ".*qutebrowser$";}];
|
||||
"2" = [{title = ".*Emacs$";}];
|
||||
"3" = [{title = "Slack.*";}];
|
||||
"8" = [{title = "^Franz$";}];
|
||||
"9" = [{title = "^Element.*";}];
|
||||
};
|
||||
floating.criteria = [
|
||||
{title = "MetaMask Notification.*";}
|
||||
{title = "Volume Control";} # pavucontrol
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
* {
|
||||
border: none;
|
||||
font-family: "Fira Code, Symbols Nerd Font";
|
||||
font-weight: bold;
|
||||
font-weight: normal;
|
||||
font-size: 9pt;
|
||||
min-height: 0;
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ window#waybar {
|
|||
transition-duration: .5s;
|
||||
}
|
||||
|
||||
window .modules-right * {
|
||||
window .modules-right :not(image) { /* :not(image) excluded tray icon */
|
||||
margin: 0 1rem;
|
||||
}
|
||||
|
||||
|
@ -28,6 +28,10 @@ window#waybar.hidden {
|
|||
color: #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button label {
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||
#workspaces button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
|
|
|
@ -27,13 +27,26 @@
|
|||
"sway/workspaces" = {
|
||||
all-outputs = true;
|
||||
disable-scroll-wraparound = true;
|
||||
active-only = true;
|
||||
format = "{icon}";
|
||||
on-click = "activate";
|
||||
format-icons = {
|
||||
"1" = "";
|
||||
"2" = "";
|
||||
"3" = "";
|
||||
"8" = "甆";
|
||||
"9" = "ﬧ";
|
||||
urgent = "";
|
||||
default = "";
|
||||
};
|
||||
sort-by-number = true;
|
||||
};
|
||||
|
||||
"sway/mode" = {tooltip = false;};
|
||||
|
||||
"sway/window" = {max_length = 50;};
|
||||
tray = {
|
||||
spacing = "1px";
|
||||
spacing = 10;
|
||||
};
|
||||
battery = {
|
||||
format = "{capacity}% {icon}";
|
||||
|
|
3
hmModules/zathura/default.nix
Normal file
3
hmModules/zathura/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
programs.zathura.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue