mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat: various things, particularly vr
This commit is contained in:
parent
e9b291078d
commit
7e70c182e5
24 changed files with 337 additions and 65 deletions
|
|
@ -37,8 +37,8 @@ in {
|
|||
"Mod+Return".action = sh ''${getExe config.programs.alacritty.package}'';
|
||||
"Mod+T".action.toggle-window-floating = {};
|
||||
#"Mod+D".action = sh ''${getExe config.programs.fuzzel.package} -D no -T "${getExe config.programs.alacritty.package} --command"'';
|
||||
"Mod+D".action = sh ''${noctalia} launcher toggle'';
|
||||
"Mod+Shift+D".action = sh ''${noctalia} launcher clipboard'';
|
||||
#"Mod+D".action = sh ''${noctalia} launcher toggle'';
|
||||
#"Mod+Shift+D".action = sh ''${noctalia} launcher clipboard'';
|
||||
#"Mod+Escape".action = sh ''${getExe config.programs.wlogout.package} -p layer-shell'';
|
||||
"Mod+Escape".action = sh ''${noctalia} controlCenter toggle'';
|
||||
"Mod+Shift+Escape".action = sh ''${noctalia} sessionMenu toggle'';
|
||||
|
|
|
|||
50
home/environments/niri/fzfdapter.nix
Normal file
50
home/environments/niri/fzfdapter.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.meta) getExe getExe';
|
||||
inherit (inputs.fzfdapter.packages.${pkgs.system}) fzfdapter;
|
||||
terminal_exec = args: "${getExe pkgs.alacritty}${
|
||||
if args != ""
|
||||
then " ${args} "
|
||||
else " "
|
||||
}-e";
|
||||
in {
|
||||
home.packages = [
|
||||
fzfdapter
|
||||
pkgs.skim
|
||||
];
|
||||
|
||||
xdg.configFile."fzfdapter/config.toml".source = (pkgs.formats.toml {}).generate "fzfdapter-config" {
|
||||
terminal_exec = terminal_exec "";
|
||||
fuzzy_exec = "${getExe' pkgs.skim "sk"} --layout=reverse-list";
|
||||
};
|
||||
|
||||
# TODO: `niri msg focused-output` to handle resolution(s)
|
||||
programs.niri.settings = let
|
||||
sh = config.lib.niri.actions.spawn "sh" "-c";
|
||||
in {
|
||||
binds = {
|
||||
"Mod+D".action = sh "${terminal_exec "-T fzfdapter --option 'font.size=18' --class fzfdapter"} ${getExe fzfdapter} --mode all";
|
||||
};
|
||||
window-rules = [
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
app-id = "^fzfdapter$";
|
||||
title = "fzfdapter";
|
||||
}
|
||||
];
|
||||
max-height = 1000;
|
||||
max-width = 750;
|
||||
min-height = 1000;
|
||||
min-width = 750;
|
||||
open-focused = true;
|
||||
open-floating = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -196,8 +196,8 @@ in {
|
|||
preferredPlayer = "";
|
||||
};
|
||||
ui = {
|
||||
fontDefault = "CozetteCrossedSevenVector";
|
||||
fontFixed = "CozetteCrossedSevenVector";
|
||||
fontDefault = "Atkinson Hyperlegible Next";
|
||||
fontFixed = "Atkinson Hyperlegible Mono";
|
||||
fontDefaultScale = 1;
|
||||
fontFixedScale = 1;
|
||||
monitorsScaling = [
|
||||
|
|
|
|||
|
|
@ -25,16 +25,16 @@
|
|||
polarity = "dark";
|
||||
fonts = {
|
||||
sansSerif = {
|
||||
name = "CozetteCrossedSevenVector";
|
||||
package = pkgs.cozette;
|
||||
name = "Atkinson Hyperlegible Next";
|
||||
package = pkgs.atkinson-hyperlegible-next;
|
||||
};
|
||||
serif = {
|
||||
name = "Libre Baskerville";
|
||||
package = pkgs.libre-baskerville;
|
||||
};
|
||||
monospace = {
|
||||
name = "CozetteCrossedSevenVector";
|
||||
package = pkgs.cozette;
|
||||
name = "Atkinson Hyperlegible Mono";
|
||||
package = pkgs.atkinson-hyperlegible-mono;
|
||||
};
|
||||
};
|
||||
autoEnable = true;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@
|
|||
clearurls
|
||||
df-youtube
|
||||
old-reddit-redirect
|
||||
privacy-badger
|
||||
reddit-enhancement-suite
|
||||
refined-github
|
||||
stylus
|
||||
|
|
|
|||
|
|
@ -41,6 +41,6 @@ in {
|
|||
};
|
||||
home.packages = with pkgs; [
|
||||
yt-dlp # Watch videos from multiple sources without having to use a browser for it
|
||||
ytcc # Subscriptions manager and RSS feed exporter for YouTube
|
||||
ytcc # Subscriptions manager and RSS feed exporter for YouTube # TODO: Broken: 2025-10-28
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue