From fabe1f58c699281cce47b13ccee3e21c8916990b Mon Sep 17 00:00:00 2001 From: voidarc Date: Mon, 27 Apr 2026 16:49:22 +0100 Subject: [PATCH] otter changes --- .config/otter-launcher/config.toml | 29 +++++++++++++++++++---------- .nixos | 2 +- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/.config/otter-launcher/config.toml b/.config/otter-launcher/config.toml index f18dcbbe..121c1d3a 100644 --- a/.config/otter-launcher/config.toml +++ b/.config/otter-launcher/config.toml @@ -16,7 +16,7 @@ delay_startup = 0 # sometimes the otter runs too fast even before the terminal w [interface] # use three quotes to write longer codes header = """ - \u001B[1;36m$USER@nixos\u001B[0m \u001B[34m + \u001B[1;36m$USER@nixos\u001B[0m """ header_cmd = "" # run a command and print stdout above the header header_cmd_trimmed_lines = 0 # remove trailing lines from header_cmd output, in case of some programs appending excessive empty lines @@ -38,7 +38,7 @@ description_color = "\u001B[39m" place_holder_color = "\u001B[30m" hint_color = "\u001B[30m" # suggestion color in hint mode # move the interface rightward or downward -move_interface_right = 20 +move_interface_right = 21 move_interface_down = 0 @@ -60,7 +60,7 @@ url_encode = true # should be true when calling webpages; this ensures special c unbind_proc = true # run cmd in a forked shell as opposed to as a child process (simply by prepending setsid -f to the configured cmd); useful for launching gui programs; taken as false if not explicitly set [[modules]] -description = "launch programs" +description = "programs" prefix = "app" cmd = """ hyprctl dispatch resizeactive 300 500 && @@ -68,6 +68,15 @@ hyprctl dispatch centerwindow && hyprctl dispatch exec $(fsel --no-exec) """ +[[modules]] +description = "bluetooth" +prefix = "bt" +cmd = """ +hyprctl dispatch resizeactive 300 500 && +hyprctl dispatch centerwindow && +bluetui +""" + [[modules]] description = "nerd icons" prefix = "nerd" @@ -78,7 +87,7 @@ hyprctl dispatch exec wl-copy $(cat ~/.config/otter-launcher/icons.json | jq -r """ [[modules]] -description = "run command" +description = "command" prefix = "sh" cmd = """ hyprctl dispatch exec 'kitty -e zsh -c "{}"' @@ -104,7 +113,7 @@ url_encode = true unbind_proc = true [[modules]] -description = "search nixpkgs" +description = "nixpkgs" prefix = "nix" cmd = """ hyprctl dispatch exec "firefox --new-window 'https://search.nixos.org/packages?query={}'" @@ -114,7 +123,7 @@ url_encode = true unbind_proc = true [[modules]] -description = "cambridge dict" +description = "dict" prefix = "dc" cmd = """ hyprctl dispatch exec "firefox --new-window 'https://dictionary.cambridge.org/dictionary/english/{}'" @@ -124,7 +133,7 @@ url_encode = true unbind_proc = true [[modules]] -description = "open dirs (yazi)" +description = "open folder" prefix = "path" cmd = """ hyprctl dispatch resizeactive 300 500 && @@ -133,14 +142,14 @@ hyprctl dispatch exec thunar $(find . -maxdepth 2 -type d | fzf) """ [[modules]] -description = "run music" +description = "jellyfin" prefix = "jf" cmd = """ hyprctl dispatch exec '[workspace special:music]' 'kitty --class jf-tui -e jellyfin-tui' """ [[modules]] -description = "open youtube" +description = "youtube" prefix = "y" cmd = "hyprctl dispatch exec 'firefox --new-window https://www.youtube.com'" with_argument = false @@ -148,7 +157,7 @@ url_encode = true unbind_proc = true [[modules]] -description = "open whatsapp" +description = "whatsapp" prefix = "w" cmd = "hyprctl dispatch exec 'firefox --new-window https://web.whatsapp.com'" with_argument = false diff --git a/.nixos b/.nixos index 80f5b4a8..0c2d3329 160000 --- a/.nixos +++ b/.nixos @@ -1 +1 @@ -Subproject commit 80f5b4a8f296c4a3d8e90b18525c7363f28546bf +Subproject commit 0c2d3329cb6b1677d02d35548a8dff8524d97c5c