qutebrowser cleanup

This commit is contained in:
shinya 2025-01-29 16:10:52 +01:00
parent a510a13e0e
commit 2e8bf077ae
4 changed files with 13 additions and 3 deletions

View File

@ -12,7 +12,7 @@
shell = "zsh"; # bash, zsh
terminal = "kitty"; # kitty, alacritty, gnome-terminal
browser = "librewolf"; # firefox, librewolf, qutebrowser
browser = "qutebrowser"; # firefox, librewolf, qutebrowser
editor = "neovim"; # neovim, vscode
# List all themes: $ nix build nixpkgs#base16-schemes && ls result/share/themes

View File

@ -22,6 +22,8 @@
sqlmap
tor-browser
android-udev-rules
postman
gdb
];
};
}

View File

@ -2,6 +2,7 @@
lib,
config,
pkgs,
userSettings,
...
}: {
options = {
@ -143,7 +144,12 @@
"$term" = "${pkgs.kitty}/bin/kitty";
"$editor" = "${pkgs.vscode}/bin/code";
"$file" = "${pkgs.nautilus}/bin/nautilus";
"$browser" = "${pkgs.librewolf-wayland}/bin/librewolf";
"$browser" =
if userSettings.browser == "librewolf"
then "${pkgs.librewolf-wayland}/bin/librewolf"
else if userSettings.browser == "qutebrowser"
then "${pkgs.qutebrowser}/bin/qutebrowser"
else "${pkgs.firefox-wayland}/bin/firefox";
animations = {
"enabled" = "yes";
@ -408,6 +414,8 @@
"float,class:^(post_processing_gui.py)$"
"float,title:^(Picture-in-Picture)$"
"size 960 600,class:^(.blueman-manager-wrapped)$"
"pin,title:^(Picture-in-Picture)$"
"move 1280 680,title:^(Picture-in-Picture)$"
"float,title:^(KDE Connect)$"

View File

@ -232,7 +232,7 @@ in
c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}&ia=web',
'd' : 'https://duckduckgo.com/?q={}&ia=web',
'aw' : 'https://wiki.archlinux.org/index.php?search={}&title=Special%3ASearch&wprov=acrw1',
'nw' : 'https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query={}',
'np' : 'https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query={}',
'mn' : 'https://mynixos.com/search?q={}',
'yt' : 'https://www.youtube.com/results?search_query={}',
'gh' : 'https://github.com/search?q={}&type=repositories',