wip: dnsc-machine setup
This commit is contained in:
parent
cc6bd77a0c
commit
add7bad8c0
4 changed files with 42 additions and 2 deletions
|
|
@ -47,6 +47,7 @@
|
||||||
../modules/firefox
|
../modules/firefox
|
||||||
../modules/wm/swaync
|
../modules/wm/swaync
|
||||||
../modules/wm/awww
|
../modules/wm/awww
|
||||||
|
../modules/wm/anyrun
|
||||||
../modules/wm/niri
|
../modules/wm/niri
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
40
modules/wm/anyrun/default.nix
Normal file
40
modules/wm/anyrun/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.anyrun = {
|
||||||
|
enable = true;
|
||||||
|
config = {
|
||||||
|
x = { fraction = 0.5; };
|
||||||
|
y = { fraction = 0.3; };
|
||||||
|
width = { fraction = 0.3; };
|
||||||
|
hideIcons = false;
|
||||||
|
ignoreExclusiveZones = false;
|
||||||
|
layer = "overlay";
|
||||||
|
hidePluginInfo = false;
|
||||||
|
closeOnClick = true;
|
||||||
|
showResultsImmediately = false;
|
||||||
|
maxEntries = null;
|
||||||
|
|
||||||
|
plugins = [
|
||||||
|
"${pkgs.anyrun}/lib/libapplications.so"
|
||||||
|
"${pkgs.anyrun}/lib/libsymbols.so"
|
||||||
|
"${pkgs.anyrun}/lib/libshell.so"
|
||||||
|
"${pkgs.anyrun}/lib/libniri_focus.so"
|
||||||
|
"${pkgs.anyrun}/lib/librink.so"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# Inline comments are supported for language injection into
|
||||||
|
# multi-line strings with Treesitter! (Depends on your editor)
|
||||||
|
extraCss = /*css */ ''
|
||||||
|
'';
|
||||||
|
|
||||||
|
extraConfigFiles."some-plugin.ron".text = ''
|
||||||
|
Config(
|
||||||
|
// for any other plugin
|
||||||
|
// this file will be put in ~/.config/anyrun/some-plugin.ron
|
||||||
|
// refer to docs of xdg.configFile for available options
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -516,6 +516,7 @@ binds {
|
||||||
// Other bindings
|
// Other bindings
|
||||||
Mod+Ctrl+Alt+U { spawn-sh "~/.config/awww/bin/random-bg.sh ~/Pictures/Wallpapers/.un"; }
|
Mod+Ctrl+Alt+U { spawn-sh "~/.config/awww/bin/random-bg.sh ~/Pictures/Wallpapers/.un"; }
|
||||||
Mod+Ctrl+Alt+S { spawn-sh "~/.config/awww/bin/random-bg.sh ~/Pictures/Wallpapers/safe/dark"; }
|
Mod+Ctrl+Alt+S { spawn-sh "~/.config/awww/bin/random-bg.sh ~/Pictures/Wallpapers/safe/dark"; }
|
||||||
|
Mod+S { spawn-sh "swaync-client -t -sw"; }
|
||||||
}
|
}
|
||||||
|
|
||||||
xwayland-satellite {
|
xwayland-satellite {
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,5 @@
|
||||||
# WM Utilities (split out if they need additional config)
|
# WM Utilities (split out if they need additional config)
|
||||||
# TODO configure ironbar
|
# TODO configure ironbar
|
||||||
programs.hyprlock.enable = true;
|
programs.hyprlock.enable = true;
|
||||||
programs.fuzzel.enable = true; # TODO switch to anyrun
|
|
||||||
|
|
||||||
# TODO: Install idle manager
|
# TODO: Install idle manager
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue