(desktop) Gen 496: fixed 'invoke' script, altered firefox bookmarks

This commit is contained in:
pagedMov
2024-10-16 01:03:43 -04:00
committed by pagedmov
parent 1c2d41ac49
commit e1c6724893
4 changed files with 48 additions and 23 deletions

2
flake.lock generated
View File

@@ -870,7 +870,7 @@
}, },
"locked": { "locked": {
"lastModified": 1, "lastModified": 1,
"narHash": "sha256-Cp+apszVyMt3AIJSc7YFfxO2KhPvVQ63s3f8Uzkrfs8=", "narHash": "sha256-9Ajo8TveKRz2KN9eO9AgpMuPMl0g9pf/ehU6NKFxDiQ=",
"path": "./pkgs/nixvim", "path": "./pkgs/nixvim",
"type": "path" "type": "path"
}, },

View File

@@ -30,16 +30,42 @@
name = "${username}"; name = "${username}";
bookmarks = [ bookmarks = [
{ {
name = "NixOS Options"; name = "Nix Sites";
url = "https://search.nixos.org/options"; toolbar = true;
} bookmarks = [
{ {
name = "Home Manager Options"; name = "NixOS Wiki";
url = "https://home-manager-options.extranix.com/"; url = "https://nixos.wiki/wiki/Main_Page";
} }
{ {
name = "Nixvim Docs"; name = "Nixpkgs Reference Manual";
url = "https://nix-community.github.io/nixvim/"; url = "https://nixos.org/manual/nixpkgs/stable/";
}
{
name = "NixOS Manual";
url = "https://nixos.org/manual/nixos/stable/";
}
{
name = "NixOS Options";
url = "https://search.nixos.org/options";
}
{
name = "Home Manager Options";
url = "https://home-manager-options.extranix.com/";
}
{
name = "Nixpkgs Package Search";
url = "https://search.nixos.org/packages";
}
{
name = "Noogle - Nixpkgs Function Docs";
url = "https://noogle.dev";
}
{
name = "Nixvim Docs";
url = "https://nix-community.github.io/nixvim/";
}
];
} }
{ {
name = "Rust Manual"; name = "Rust Manual";
@@ -68,7 +94,6 @@
firenvim firenvim
privacy-badger privacy-badger
new-tab-override new-tab-override
tampermonkey
]; ];
extraConfig = '' extraConfig = ''
"browser.startup.homepage" = "${self}/glasshouse-desktop/home/firefox/homepage.html"; "browser.startup.homepage" = "${self}/glasshouse-desktop/home/firefox/homepage.html";

View File

@@ -5,5 +5,5 @@
pkgs.writeShellScriptBin "invoke" '' pkgs.writeShellScriptBin "invoke" ''
#!/run/current-system/sw/bin/bash #!/run/current-system/sw/bin/bash
nix run nixpkgs#$"@" nix run nixpkgs#"$@"
'' ''

View File

@@ -4,31 +4,31 @@
command = "FloatermNew --wintype=float --name=shadeterm --position=topright --autoclose=0 --silent --cwd=<buffer> --titleposition=left zsh"; command = "FloatermNew --wintype=float --name=shadeterm --position=topright --autoclose=0 --silent --cwd=<buffer> --titleposition=left zsh";
event = ["VimEnter"]; event = ["VimEnter"];
pattern = ["*"]; pattern = ["*"];
desc = "Create a floating terminal, placed in the top right"; desc = "Create a floating terminal, placed in the top right";
} }
{ {
command = "silent! mkview"; command = "silent! mkview";
event = ["BufWinLeave"]; event = ["BufWinLeave"];
pattern = ["*"]; pattern = ["*"];
desc = "Save session window settings to be loaded next time the file is opened"; desc = "Save session window settings to be loaded next time the file is opened";
} }
{ {
command = "silent! !aplay ~/sound/sys/cd.wav > /dev/null 2>&1 &"; command = "silent! !aplay ~/sound/sys/cd.wav > /dev/null 2>&1 &";
event = ["BufWinLeave"]; event = ["BufWinLeave"];
pattern = ["*"]; pattern = ["*"];
desc = "Play a neat little sound effect when you close neovim"; desc = "Play a neat little sound effect when you close neovim";
} }
{ {
command = "silent! loadview"; command = "silent! loadview";
event = ["BufWinEnter"]; event = ["BufWinEnter"];
pattern = ["*"]; pattern = ["*"];
desc = "Load previous session window settings for the opened file (folds, cursor pos, etc)"; desc = "Load previous session window settings for the opened file (folds, cursor pos, etc)";
}
{
command = "setlocal textwidth = 135";
event = ["BufWinEnter" "BufEnter"];
pattern = ["*.md" "*.wiki" "*.txt"];
desc = "Set automatic linebreaks in plain text file formats";
} }
{
command = "setlocal textwidth = 135";
event = ["BufWinEnter" "BufEnter"];
pattern = ["*.md" "*.wiki" "*.txt"];
desc = "Set automatic linebreaks in plain text file formats";
}
]; ];
} }