From 5ea8122696331728c9d728430c05b02a66dc1b61 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 23 Jan 2024 13:29:32 +0000 Subject: [PATCH] Add waybar rewrite for nyxt Add bind to launch nyxt and thunar (respectively) nyxt bind makes use of bookmarks (finally!) and forces no socket so multiple instances can be opened --- home/hyprland/config.nix | 4 ++++ home/hyprland/waybar/default.nix | 1 + 2 files changed, 5 insertions(+) diff --git a/home/hyprland/config.nix b/home/hyprland/config.nix index e3fd9825..5c29d5f7 100644 --- a/home/hyprland/config.nix +++ b/home/hyprland/config.nix @@ -111,6 +111,10 @@ in '' bind = SUPER SHIFT, Return, exec, emacsclient -c bind = SUPER, S, exec, foot -e btm --group --battery + bind = SUPER, W, exec, nyxt --no-socket --with-file bookmarks=${ + ../nyxt/bookmarks.lisp + } + bind = SUPER, F, exec, thunar $HOME # Misc useful binds bind=,Print,exec,grim -g "$(slurp)" diff --git a/home/hyprland/waybar/default.nix b/home/hyprland/waybar/default.nix index ef25e864..a11e582c 100644 --- a/home/hyprland/waybar/default.nix +++ b/home/hyprland/waybar/default.nix @@ -33,6 +33,7 @@ "rewrite" = { "(.*) - GNU Emacs at (.*)" = " $1 [$2]"; "foot" = " "; + "Nyxt - (.*)" = "󰀹 $1"; "(.*) — Mozilla Firefox" = "󰈹 $1"; "(.*) - Thunar" = "󰝰 $1"; "(.*) | Microsoft Teams" = "󰊻 $1";