mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add zmenu
This commit is contained in:
parent
cb7e26983e
commit
2036170ce3
6 changed files with 223 additions and 29 deletions
|
|
@ -10,6 +10,50 @@
|
|||
config = lib.mkIf config.mods.desktop.development.enable {
|
||||
# home.packages = with pkgs; [ i3-swallow ];
|
||||
|
||||
programs.nyxt = {
|
||||
enable = true;
|
||||
config = ''
|
||||
(in-package #:nyxt-user)
|
||||
|
||||
(defvar *my-search-engines*
|
||||
(list
|
||||
(make-instance 'search-engine
|
||||
:name "Searx"
|
||||
:shortcut "s"
|
||||
#+nyxt-4 :control-url #+nyxt-3 :search-url
|
||||
""https://search.muon.host/?q=~a";")
|
||||
|
||||
(make-instance 'search-engine
|
||||
:name "nixpkgs"
|
||||
:shortcut "np"
|
||||
#+nyxt-4 :control-url #+nyxt-3 :search-url
|
||||
"https://search.nixos.org/packages?channel=unstable&query=~a")))
|
||||
|
||||
(make-instance 'search-engine
|
||||
:name "nix options"
|
||||
:shortcut "np"
|
||||
#+nyxt-4 :control-url #+nyxt-3 :search-url
|
||||
"https://search.nixos.org/options?channel=unstable&query=~a")))
|
||||
|
||||
(make-instance 'search-engine
|
||||
:name "home-manager"
|
||||
:shortcut "hm"
|
||||
#+nyxt-4 :control-url #+nyxt-3 :search-url
|
||||
"https://home-manager-options.extranix.com/?release=master&query=~a")))
|
||||
|
||||
|
||||
(define-configuration browser
|
||||
((restore-session-on-startup-p nil)
|
||||
(default-new-buffer-url (quri:uri "https://online.bonjourr.fr/"))
|
||||
(external-editor-program ("alacritty -e hx")
|
||||
#+nyxt-4
|
||||
(search-engine-suggestions-p nil)
|
||||
#+nyxt-4
|
||||
(search-engines (append %slot-default% *my-search-engines*))
|
||||
))
|
||||
'';
|
||||
};
|
||||
|
||||
programs.qutebrowser = {
|
||||
enable = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue