update various configs
This commit is contained in:
parent
809e6f2157
commit
ef72e46e77
4 changed files with 36 additions and 29 deletions
|
|
@ -24,6 +24,9 @@
|
|||
|
||||
treefmt-nix.url = "github:numtide/treefmt-nix";
|
||||
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
helix.url = "github:helix-editor/helix";
|
||||
helix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
@ -36,6 +39,7 @@
|
|||
niri,
|
||||
nix-vscode-extensions,
|
||||
treefmt-nix,
|
||||
helix,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
|
@ -47,6 +51,7 @@
|
|||
{
|
||||
nixpkgs.overlays = [
|
||||
nix-vscode-extensions.overlays.default
|
||||
helix.overlays.default
|
||||
niri.overlays.niri
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -351,6 +351,8 @@ binds {
|
|||
// The quit action will show a confirmation dialog to avoid accidental exits.
|
||||
Mod+Shift+E { quit; }
|
||||
|
||||
Mod+V { toggle-window-floating; }
|
||||
|
||||
// Powers off the monitors. To turn them back on, do any input like
|
||||
// moving the mouse or pressing any other key.
|
||||
Mod+Shift+P { power-off-monitors; }
|
||||
|
|
|
|||
|
|
@ -17,7 +17,26 @@
|
|||
|
||||
services.mako = {
|
||||
enable = true;
|
||||
extraConfig = builtins.readFile ./mako.conf;
|
||||
settings = {
|
||||
sort = "+time";
|
||||
on-button-left = "invoke-default-action";
|
||||
on-button-middle = "dismiss-group";
|
||||
on-button-right = "dismiss";
|
||||
on-touch = "invoke-default-action";
|
||||
height = 99;
|
||||
width = 299;
|
||||
margin = 0;
|
||||
padding = 10;
|
||||
border-size = 1;
|
||||
border-radius = 1;
|
||||
icons = 1;
|
||||
layer = "top";
|
||||
anchor = "bottom-right";
|
||||
markup = 1;
|
||||
actions = 1;
|
||||
text-alignment = "center";
|
||||
default-timeout = 10000;
|
||||
};
|
||||
};
|
||||
services.swayosd = {
|
||||
enable = true;
|
||||
|
|
@ -30,6 +49,9 @@
|
|||
];
|
||||
style = builtins.readFile ./waybar.css;
|
||||
};
|
||||
|
||||
programs.fuzzel.enable = true;
|
||||
|
||||
services.wpaperd.enable = true;
|
||||
programs.niri.config = builtins.readFile ./config.kdl;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,22 +2,9 @@
|
|||
"layer": "top",
|
||||
"position": "top",
|
||||
"spacing": 10,
|
||||
"modules-left": [
|
||||
"niri/workspaces"
|
||||
],
|
||||
"modules-center": [
|
||||
"clock#1",
|
||||
"clock#2",
|
||||
"clock#3"
|
||||
],
|
||||
"modules-right": [
|
||||
"pulseaudio",
|
||||
"memory",
|
||||
"cpu",
|
||||
"battery",
|
||||
"disk",
|
||||
"tray"
|
||||
],
|
||||
"modules-left": ["niri/workspaces"],
|
||||
"modules-center": ["clock#1", "clock#2", "clock#3"],
|
||||
"modules-right": ["pulseaudio", "memory", "cpu", "battery", "disk", "tray"],
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"format": "{name}"
|
||||
|
|
@ -40,10 +27,7 @@
|
|||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"headphones": "",
|
||||
"default": [
|
||||
"",
|
||||
""
|
||||
]
|
||||
"default": ["", ""]
|
||||
},
|
||||
"scroll-step": 5,
|
||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||
|
|
@ -65,13 +49,7 @@
|
|||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
"disk": {
|
||||
"interval": 5,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue