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]
|
[interface]
|
||||||
# use three quotes to write longer codes
|
# use three quotes to write longer codes
|
||||||
header = """
|
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 = "" # 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
|
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"
|
place_holder_color = "\u001B[30m"
|
||||||
hint_color = "\u001B[30m" # suggestion color in hint mode
|
hint_color = "\u001B[30m" # suggestion color in hint mode
|
||||||
# move the interface rightward or downward
|
# move the interface rightward or downward
|
||||||
move_interface_right = 20
|
move_interface_right = 21
|
||||||
move_interface_down = 0
|
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
|
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]]
|
[[modules]]
|
||||||
description = "launch programs"
|
description = "programs"
|
||||||
prefix = "app"
|
prefix = "app"
|
||||||
cmd = """
|
cmd = """
|
||||||
hyprctl dispatch resizeactive 300 500 &&
|
hyprctl dispatch resizeactive 300 500 &&
|
||||||
@@ -68,6 +68,15 @@ hyprctl dispatch centerwindow &&
|
|||||||
hyprctl dispatch exec $(fsel --no-exec)
|
hyprctl dispatch exec $(fsel --no-exec)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
[[modules]]
|
||||||
|
description = "bluetooth"
|
||||||
|
prefix = "bt"
|
||||||
|
cmd = """
|
||||||
|
hyprctl dispatch resizeactive 300 500 &&
|
||||||
|
hyprctl dispatch centerwindow &&
|
||||||
|
bluetui
|
||||||
|
"""
|
||||||
|
|
||||||
[[modules]]
|
[[modules]]
|
||||||
description = "nerd icons"
|
description = "nerd icons"
|
||||||
prefix = "nerd"
|
prefix = "nerd"
|
||||||
@@ -78,7 +87,7 @@ hyprctl dispatch exec wl-copy $(cat ~/.config/otter-launcher/icons.json | jq -r
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
[[modules]]
|
[[modules]]
|
||||||
description = "run command"
|
description = "command"
|
||||||
prefix = "sh"
|
prefix = "sh"
|
||||||
cmd = """
|
cmd = """
|
||||||
hyprctl dispatch exec 'kitty -e zsh -c "{}"'
|
hyprctl dispatch exec 'kitty -e zsh -c "{}"'
|
||||||
@@ -104,7 +113,7 @@ url_encode = true
|
|||||||
unbind_proc = true
|
unbind_proc = true
|
||||||
|
|
||||||
[[modules]]
|
[[modules]]
|
||||||
description = "search nixpkgs"
|
description = "nixpkgs"
|
||||||
prefix = "nix"
|
prefix = "nix"
|
||||||
cmd = """
|
cmd = """
|
||||||
hyprctl dispatch exec "firefox --new-window 'https://search.nixos.org/packages?query={}'"
|
hyprctl dispatch exec "firefox --new-window 'https://search.nixos.org/packages?query={}'"
|
||||||
@@ -114,7 +123,7 @@ url_encode = true
|
|||||||
unbind_proc = true
|
unbind_proc = true
|
||||||
|
|
||||||
[[modules]]
|
[[modules]]
|
||||||
description = "cambridge dict"
|
description = "dict"
|
||||||
prefix = "dc"
|
prefix = "dc"
|
||||||
cmd = """
|
cmd = """
|
||||||
hyprctl dispatch exec "firefox --new-window 'https://dictionary.cambridge.org/dictionary/english/{}'"
|
hyprctl dispatch exec "firefox --new-window 'https://dictionary.cambridge.org/dictionary/english/{}'"
|
||||||
@@ -124,7 +133,7 @@ url_encode = true
|
|||||||
unbind_proc = true
|
unbind_proc = true
|
||||||
|
|
||||||
[[modules]]
|
[[modules]]
|
||||||
description = "open dirs (yazi)"
|
description = "open folder"
|
||||||
prefix = "path"
|
prefix = "path"
|
||||||
cmd = """
|
cmd = """
|
||||||
hyprctl dispatch resizeactive 300 500 &&
|
hyprctl dispatch resizeactive 300 500 &&
|
||||||
@@ -133,14 +142,14 @@ hyprctl dispatch exec thunar $(find . -maxdepth 2 -type d | fzf)
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
[[modules]]
|
[[modules]]
|
||||||
description = "run music"
|
description = "jellyfin"
|
||||||
prefix = "jf"
|
prefix = "jf"
|
||||||
cmd = """
|
cmd = """
|
||||||
hyprctl dispatch exec '[workspace special:music]' 'kitty --class jf-tui -e jellyfin-tui'
|
hyprctl dispatch exec '[workspace special:music]' 'kitty --class jf-tui -e jellyfin-tui'
|
||||||
"""
|
"""
|
||||||
|
|
||||||
[[modules]]
|
[[modules]]
|
||||||
description = "open youtube"
|
description = "youtube"
|
||||||
prefix = "y"
|
prefix = "y"
|
||||||
cmd = "hyprctl dispatch exec 'firefox --new-window https://www.youtube.com'"
|
cmd = "hyprctl dispatch exec 'firefox --new-window https://www.youtube.com'"
|
||||||
with_argument = false
|
with_argument = false
|
||||||
@@ -148,7 +157,7 @@ url_encode = true
|
|||||||
unbind_proc = true
|
unbind_proc = true
|
||||||
|
|
||||||
[[modules]]
|
[[modules]]
|
||||||
description = "open whatsapp"
|
description = "whatsapp"
|
||||||
prefix = "w"
|
prefix = "w"
|
||||||
cmd = "hyprctl dispatch exec 'firefox --new-window https://web.whatsapp.com'"
|
cmd = "hyprctl dispatch exec 'firefox --new-window https://web.whatsapp.com'"
|
||||||
with_argument = false
|
with_argument = false
|
||||||
|
|||||||
2
.nixos
2
.nixos
Submodule .nixos updated: 80f5b4a8f2...0c2d3329cb
Reference in New Issue
Block a user