otter changes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user