mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-12-31 05:32:42 +00:00
Compare commits
6 Commits
c962d3140a
...
8c606045e1
| Author | SHA1 | Date | |
|---|---|---|---|
| 8c606045e1 | |||
| 834b928d23 | |||
| df00d1884a | |||
| d4b7b8e7e8 | |||
| c06370d236 | |||
| 66f1040fc5 |
@ -6,6 +6,7 @@ dpi = "96"
|
||||
font_size = "12"
|
||||
terminal = "alacritty"
|
||||
browser = "floorp"
|
||||
waybar_font_size = "14px"
|
||||
|
||||
[files]
|
||||
"config/niri/config-laptop.kdl" = {target = "~/.config/niri/config.kdl", type = "template"}
|
||||
|
||||
@ -1,10 +1,11 @@
|
||||
packages = [ "x11" ]
|
||||
packages = [ "wayland" ]
|
||||
|
||||
[variables]
|
||||
dpi = "96"
|
||||
font_size = "10"
|
||||
terminal = "alacritty"
|
||||
browser = "floorp"
|
||||
waybar_font_size = "12px"
|
||||
|
||||
[files]
|
||||
"config/niri/config-desktop.kdl" = "~/.config/niri/config.kdl"
|
||||
|
||||
@ -72,7 +72,7 @@ depends = [ "torrent", "zathura", "email" ]
|
||||
|
||||
[misc.files]
|
||||
"config/bat/" = "~/.config/bat/"
|
||||
"config/silicon/" = "~/.config/silicon/"
|
||||
"config/tmThemes/" = "~/.config/silicon/"
|
||||
"config/btop/" = "~/.config/btop/"
|
||||
"config/htoprc" = "~/.config/htop/htoprc"
|
||||
"config/fastfetch/" = "~/.config/fastfetch/"
|
||||
@ -137,6 +137,7 @@ depends = [ "misc", "local", "eww", "lock" ]
|
||||
[waybar.files]
|
||||
"config/waybar/" = "~/.config/waybar/"
|
||||
"config/waybar/config.jsonc" = {target = "~/.config/waybar/config.jsonc", type = "template"}
|
||||
"config/waybar/style.css" = {target = "~/.config/waybar/style.css", type = "template"}
|
||||
|
||||
[lock.files]
|
||||
"config/gtklock/" = "~/.config/gtklock/"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -18,7 +18,7 @@ alias keychain="keychain --dir $XDG_RUNTIME_DIR/keychain"
|
||||
alias diff="diff --color=auto"
|
||||
alias grep="rg --color=auto"
|
||||
alias ip="ip -color=auto"
|
||||
alias less="moar"
|
||||
alias less="moor"
|
||||
alias ls="eza -a --icons --group-directories-first"
|
||||
|
||||
# These common commands ate just too long! Abbreviate them
|
||||
|
||||
@ -11,6 +11,45 @@ set -gx fish_complete_path "$XDG_CONFIG_HOME/fish/completions" $fish_complete_pa
|
||||
set -gx FZF_DEFAULT_OPTS "--height 40% --layout=reverse --border"
|
||||
set -gx FZF_DEFAULT_COMMAND "fd --type f"
|
||||
|
||||
# Functions
|
||||
function cd
|
||||
if test (count $argv) -eq 0
|
||||
builtin cd ~
|
||||
else
|
||||
builtin cd $argv
|
||||
end
|
||||
eza -a --icons --group-directories-first
|
||||
end
|
||||
|
||||
function lfcd
|
||||
set tmp (mktemp -uq)
|
||||
lf -last-dir-path="$tmp" $argv
|
||||
if test -f "$tmp"
|
||||
set dir (cat "$tmp")
|
||||
if test -d "$dir" -a "$dir" != (pwd)
|
||||
cd "$dir"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function yazicd
|
||||
set tmp (mktemp -t "yazi-cwd.XXXXXX")
|
||||
yazi $argv --cwd-file="$tmp"
|
||||
set cwd (cat "$tmp")
|
||||
if test -n "$cwd" -a "$cwd" != "$PWD"
|
||||
cd "$cwd"
|
||||
eza -a --icons --group-directories-first
|
||||
end
|
||||
rm -f "$tmp"
|
||||
end
|
||||
|
||||
# Keybindings
|
||||
fish_vi_key_bindings
|
||||
|
||||
|
||||
# Source other files
|
||||
# if test -f "$HOME/.local/share/../bin/env"
|
||||
# source "$HOME/.local/share/../bin/env"
|
||||
# # PATH configuration
|
||||
# fish_add_path $BUN_INSTALL/bin
|
||||
# fish_add_path $HOME/.local/bin
|
||||
|
||||
@ -12,3 +12,4 @@ squareMagnifier=true
|
||||
uiColor=#ffffff
|
||||
uploadHistoryMax=25
|
||||
useJpgForClipboard=true
|
||||
useGrimAdapter=true
|
||||
|
||||
@ -1,20 +1,22 @@
|
||||
[Settings]
|
||||
gtk-application-prefer-dark-theme=true
|
||||
gtk-button-images=1
|
||||
gtk-theme-name=rose-pine-gtk
|
||||
gtk-icon-theme-name=RoséPine
|
||||
gtk-font-name=Noto Sans, 10
|
||||
gtk-cursor-theme-name=Adwaita
|
||||
gtk-cursor-theme-size=24
|
||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=1
|
||||
gtk-menu-images=1
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=0
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle=hintslight
|
||||
gtk-xft-rgba=rgb
|
||||
gtk-application-prefer-dark-theme=0
|
||||
# gtk-application-prefer-dark-theme=true
|
||||
gtk-decoration-layout=icon:minimize,maximize,close
|
||||
gtk-enable-animations=true
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=1
|
||||
gtk-font-name=Noto Sans, 10
|
||||
gtk-menu-images=1
|
||||
gtk-primary-button-warps-slider=false
|
||||
gtk-theme-name=rose-pine-gtk
|
||||
gtk-icon-theme-name=rose-pine-icons
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-dpi=98304
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle=hintfull
|
||||
|
||||
@ -3,13 +3,29 @@
|
||||
// Check the wiki for a full description of the configuration:
|
||||
// https://github.com/YaLTeR/niri/wiki/Configuration:-Introduction
|
||||
|
||||
workspace "browser" {
|
||||
open-on-output "DP-1"
|
||||
}
|
||||
|
||||
workspace "terminal" {
|
||||
open-on-output "DP-1"
|
||||
}
|
||||
|
||||
workspace "chat" {
|
||||
open-on-output "HDMI-A-1"
|
||||
}
|
||||
|
||||
workspace "music" {
|
||||
open-on-output "HDMI-A-1"
|
||||
}
|
||||
|
||||
environment {
|
||||
QT_QPA_PLATFORM "wayland"
|
||||
XDG_SESSION_TYPE "wayland"
|
||||
XDG_CURRENT_DESKTOP "niri"
|
||||
XDG_SESSION_DESKTOP "niri"
|
||||
WM "niri"
|
||||
DISPLAY ":0"
|
||||
DISPLAY ":0" // for X11 apps to run
|
||||
ELECTRON_OZONE_PLATFORM_HINT "auto"
|
||||
}
|
||||
|
||||
@ -25,6 +41,7 @@ input {
|
||||
// For example:
|
||||
layout "lv"
|
||||
// options "grp:win_space_toggle,compose:ralt,ctrl:nocaps"
|
||||
options "caps:escape"
|
||||
}
|
||||
|
||||
// Enable numlock on startup, omitting this setting disables it.
|
||||
@ -112,17 +129,6 @@ output "HDMI-A-1" {
|
||||
backdrop-color "#000"
|
||||
}
|
||||
|
||||
workspace "browser" {
|
||||
open-on-output "DP-1"
|
||||
}
|
||||
|
||||
workspace "chat" {
|
||||
open-on-output "HDMI-A-1"
|
||||
}
|
||||
|
||||
workspace "music" {
|
||||
open-on-output "HDMI-A-1"
|
||||
}
|
||||
|
||||
// Settings that influence how windows are positioned and sized.
|
||||
// Find more information on the wiki:
|
||||
@ -279,20 +285,23 @@ layout {
|
||||
// See the binds section below for more spawn examples.
|
||||
|
||||
// This line starts waybar, a commonly used bar for Wayland compositors.
|
||||
spawn-at-startup "xwayland-satellite"
|
||||
spawn-at-startup "pipewire"
|
||||
spawn-at-startup "pipewire"
|
||||
spawn-at-startup "pipewire-pulse"
|
||||
spawn-at-startup "wireplumber"
|
||||
spawn-at-startup "mako"
|
||||
spawn-at-startup "waybar"
|
||||
// spawn-at-startup "dbus-update-activation-environment" "WAYLAND_DISPLAY" "XDG_CURRENT_DESKTOP" "DISPLAY" "XAUTHORITY"
|
||||
// spawn-sh-at-startup "dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP DISPLAY XAUTHORITY"
|
||||
spawn-at-startup "nextcloud"
|
||||
spawn-at-startup "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"
|
||||
// spawn-at-startup "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1"
|
||||
spawn-at-startup "xrdb" "~/.config/x11/xresources"
|
||||
spawn-at-startup "transmission-daemon"
|
||||
spawn-at-startup "floorp"
|
||||
spawn-at-startup "kotatogram-desktop"
|
||||
spawn-at-startup "{{browser}}"
|
||||
// spawn-sh-at-startup "flatpak run com.ayugram.desktop"
|
||||
spawn-at-startup "AyuGram"
|
||||
// spawn-at-startup "vesktop"
|
||||
spawn-at-startup "discord"
|
||||
spawn-at-startup "swap-wallpaper"
|
||||
spawn-at-startup "spotify-launcher"
|
||||
|
||||
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
|
||||
@ -318,7 +327,7 @@ animations {
|
||||
off
|
||||
|
||||
// Slow down all animations by this factor. Values below 1 speed them up instead.
|
||||
// slowdown 3.0
|
||||
slowdown 3.0
|
||||
}
|
||||
|
||||
layer-rule {
|
||||
@ -326,6 +335,9 @@ layer-rule {
|
||||
block-out-from "screencast"
|
||||
}
|
||||
|
||||
window-rule {
|
||||
draw-border-with-background false
|
||||
}
|
||||
// Window rules let you adjust behavior for individual windows.
|
||||
// Find more information on the wiki:
|
||||
// https://github.com/YaLTeR/niri/wiki/Configuration:-Window-Rules
|
||||
@ -346,10 +358,16 @@ window-rule {
|
||||
// - host Firefox (app-id is "firefox")
|
||||
// - Flatpak Firefox (app-id is "org.mozilla.firefox")
|
||||
match app-id=r#"firefox$"# title="^Picture-in-Picture$"
|
||||
match app-id=r#"floorp$"# title="^Picture-in-Picture$"
|
||||
match app-id=r#"floorp-default"# title="^Picture-in-Picture$"
|
||||
open-floating true
|
||||
}
|
||||
|
||||
window-rule {
|
||||
match title=r#"^Extension:.*Bitwarden.*"#
|
||||
|
||||
default-floating-position x=10 y=10 relative-to="top-right"
|
||||
}
|
||||
|
||||
window-rule {
|
||||
match app-id="steam" title=r#"^notificationtoasts_\d+_desktop$"#
|
||||
default-floating-position x=10 y=10 relative-to="bottom-right"
|
||||
@ -360,6 +378,8 @@ window-rule {
|
||||
window-rule {
|
||||
match app-id=r#"^org\.keepassxc\.KeePassXC$"#
|
||||
match app-id=r#"^org\.gnome\.World\.Secrets$"#
|
||||
match app-id=r#"^org\.gnome\.World\.Secrets$"#
|
||||
match title="Bitwarden"
|
||||
|
||||
block-out-from "screen-capture"
|
||||
|
||||
@ -368,19 +388,49 @@ window-rule {
|
||||
}
|
||||
|
||||
window-rule {
|
||||
match at-startup=true app-id="floorp-default"
|
||||
match at-startup=true app-id="floorp"
|
||||
open-maximized true
|
||||
open-on-workspace "browser"
|
||||
open-maximized true
|
||||
}
|
||||
|
||||
window-rule {
|
||||
match at-startup=true app-id=r#"^org\.telegram\.desktop$"#
|
||||
match at-startup=true app-id=r#"^com\.ayugram\.desktop$"#
|
||||
match at-startup=true app-id=r#"^org\.gnome\.Fractal$"#
|
||||
match at-startup=true app-id=r#"discord"#
|
||||
match at-startup=true app-id=r#"vesktop"#
|
||||
|
||||
exclude app-id=r#"^com\.ayugram\.desktop$"# title="^Media viewer$"
|
||||
exclude app-id=r#"^org\.telegram\.desktop$"# title="^Media viewer$"
|
||||
open-on-workspace "chat"
|
||||
opacity 0.95
|
||||
}
|
||||
|
||||
window-rule {
|
||||
match app-id="mpv"
|
||||
open-fullscreen true
|
||||
}
|
||||
|
||||
window-rule {
|
||||
match app-id=r#"^com\.ayugram\.desktop$"# title="^Media viewer$"
|
||||
match app-id=r#"^org\.telegram\.desktop$"# title="^Media viewer$"
|
||||
|
||||
open-maximized true
|
||||
}
|
||||
|
||||
window-rule {
|
||||
match at-startup=true app-id="spotify"
|
||||
open-maximized true
|
||||
|
||||
open-on-workspace "music"
|
||||
}
|
||||
window-rule {
|
||||
match app-id="awakened-poe-trade"
|
||||
match app-id="exiled-exchange-2"
|
||||
// open-fullscreen true
|
||||
open-floating true
|
||||
open-focused true
|
||||
}
|
||||
|
||||
// Example: enable rounded corners for all windows.
|
||||
@ -406,9 +456,9 @@ binds {
|
||||
Mod+Shift+Slash { show-hotkey-overlay; }
|
||||
|
||||
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||
Mod+Return hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; }
|
||||
Mod+Return hotkey-overlay-title="Open a Terminal: {{terminal}}" { spawn "{{terminal}}"; }
|
||||
Mod+P hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
|
||||
Super+Space allow-when-locked=true hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
|
||||
// Super+Space allow-when-locked=true hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
|
||||
// Super+Space hotkey-overlay-title="Lock the Screen: hyprlock" { spawn "hyprlock"; }
|
||||
|
||||
// You can also use a shell. Do this if you need pipes, multiple commands, etc.
|
||||
@ -417,10 +467,12 @@ binds {
|
||||
|
||||
// Example volume keys mappings for PipeWire & WirePlumber.
|
||||
// The allow-when-locked=true property makes them work even when the session is locked.
|
||||
XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.01+"; }
|
||||
XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.01-"; }
|
||||
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
|
||||
XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume $(get-spotify-id) 0.01+"; }
|
||||
XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume $(get-spotify-id) 0.01-"; }
|
||||
XF86AudioMute allow-when-locked=true { spawn "sp" "play"; }
|
||||
XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
|
||||
Page_Down allow-when-locked=true {spawn "sp" "next"; }
|
||||
Page_Up allow-when-locked=true {spawn "sp" "prev"; }
|
||||
|
||||
// Open/close the Overview: a zoomed-out view of workspaces and windows.
|
||||
// You can also move the mouse into the top-left hot corner,
|
||||
@ -469,23 +521,20 @@ binds {
|
||||
// Mod+Shift+Ctrl+Left { move-workspace-to-monitor-left; }
|
||||
// ...
|
||||
|
||||
Mod+Page_Down { focus-workspace-down; }
|
||||
Mod+Page_Up { focus-workspace-up; }
|
||||
Mod+U { focus-workspace-down; }
|
||||
Mod+I { focus-workspace-up; }
|
||||
Mod+Ctrl+Page_Down { move-column-to-workspace-down; }
|
||||
Mod+Ctrl+Page_Up { move-column-to-workspace-up; }
|
||||
Mod+Ctrl+U { move-column-to-workspace-down; }
|
||||
Mod+Ctrl+I { move-column-to-workspace-up; }
|
||||
Mod+Down { focus-workspace-down; }
|
||||
Mod+Up { focus-workspace-up; }
|
||||
Mod+Ctrl+Down { move-column-to-workspace-down; }
|
||||
Mod+Ctrl+Up { move-column-to-workspace-up; }
|
||||
|
||||
Mod+Alt+J { focus-workspace-down; }
|
||||
Mod+Alt+K { focus-workspace-up; }
|
||||
|
||||
// Alternatively, there are commands to move just a single window:
|
||||
// Mod+Ctrl+Page_Down { move-window-to-workspace-down; }
|
||||
// ...
|
||||
|
||||
Mod+Shift+Page_Down { move-workspace-down; }
|
||||
Mod+Shift+Page_Up { move-workspace-up; }
|
||||
Mod+Shift+U { move-workspace-down; }
|
||||
Mod+Shift+I { move-workspace-up; }
|
||||
Mod+Shift+Down { move-workspace-down; }
|
||||
Mod+Shift+Up { move-workspace-up; }
|
||||
|
||||
// You can bind mouse wheel scroll ticks using the following syntax.
|
||||
// These binds will change direction based on the natural-scroll setting.
|
||||
@ -527,24 +576,24 @@ binds {
|
||||
//
|
||||
// For example, with 2 workspaces + 1 empty, indices 3, 4, 5 and so on
|
||||
// will all refer to the 3rd workspace.
|
||||
Mod+1 { focus-workspace 1; }
|
||||
Mod+2 { focus-workspace 2; }
|
||||
Mod+1 { focus-workspace "browser"; }
|
||||
Mod+2 { focus-workspace "terminal"; }
|
||||
Mod+3 { focus-workspace 3; }
|
||||
Mod+4 { focus-workspace 4; }
|
||||
Mod+5 { focus-workspace 5; }
|
||||
Mod+6 { focus-workspace 6; }
|
||||
Mod+7 { focus-workspace 7; }
|
||||
Mod+8 { focus-workspace 8; }
|
||||
Mod+9 { focus-workspace 9; }
|
||||
Mod+Shift+1 { move-column-to-workspace 1; }
|
||||
Mod+Shift+2 { move-column-to-workspace 2; }
|
||||
Mod+8 { focus-workspace "chat"; }
|
||||
Mod+9 { focus-workspace "music"; }
|
||||
Mod+Shift+1 { move-column-to-workspace "browser"; }
|
||||
Mod+Shift+2 { move-column-to-workspace "terminal"; }
|
||||
Mod+Shift+3 { move-column-to-workspace 3; }
|
||||
Mod+Shift+4 { move-column-to-workspace 4; }
|
||||
Mod+Shift+5 { move-column-to-workspace 5; }
|
||||
Mod+Shift+6 { move-column-to-workspace 6; }
|
||||
Mod+Shift+7 { move-column-to-workspace 7; }
|
||||
Mod+Shift+8 { move-column-to-workspace 8; }
|
||||
Mod+Shift+9 { move-column-to-workspace 9; }
|
||||
Mod+Shift+8 { move-column-to-workspace "chat"; }
|
||||
Mod+Shift+9 { move-column-to-workspace "music"; }
|
||||
|
||||
// Alternatively, there are commands to move just a single window:
|
||||
// Mod+Ctrl+1 { move-window-to-workspace 1; }
|
||||
@ -610,9 +659,9 @@ binds {
|
||||
// Mod+Space { switch-layout "next"; }
|
||||
// Mod+Shift+Space { switch-layout "prev"; }
|
||||
|
||||
Print { screenshot; }
|
||||
Ctrl+Print { screenshot-screen; }
|
||||
Alt+Print { screenshot-window; }
|
||||
Mod+Delete { screenshot; }
|
||||
Mod+Shift+Delete { screenshot-screen; }
|
||||
Mod+Alt+Delete { screenshot-window; }
|
||||
|
||||
// Applications such as remote-desktop clients and software KVM switches may
|
||||
// request that niri stops processing the keyboard shortcuts defined here
|
||||
@ -630,12 +679,13 @@ binds {
|
||||
|
||||
// Powers off the monitors. To turn them back on, do any input like
|
||||
// moving the mouse or pressing any other key.
|
||||
Mod+Shift+P { power-off-monitors; }
|
||||
// Mod+Shift+P { power-off-monitors; }
|
||||
|
||||
Mod+Shift+P { spawn "swap-wallpaper"; }
|
||||
Mod+B { spawn "floorp"; }
|
||||
Mod+B { spawn "{{browser}}"; }
|
||||
}
|
||||
|
||||
|
||||
hotkey-overlay {
|
||||
skip-at-startup
|
||||
}
|
||||
|
||||
@ -3,10 +3,15 @@
|
||||
// Check the wiki for a full description of the configuration:
|
||||
// https://github.com/YaLTeR/niri/wiki/Configuration:-Introduction
|
||||
|
||||
workspace "browser"
|
||||
workspace "terminal"
|
||||
workspace "chat"
|
||||
workspace "music"
|
||||
workspace "1"
|
||||
workspace "2"
|
||||
workspace "3"
|
||||
workspace "4"
|
||||
workspace "5"
|
||||
workspace "6"
|
||||
workspace "7"
|
||||
workspace "8"
|
||||
workspace "9"
|
||||
|
||||
environment {
|
||||
QT_QPA_PLATFORM "wayland"
|
||||
@ -14,7 +19,7 @@ environment {
|
||||
XDG_CURRENT_DESKTOP "niri"
|
||||
XDG_SESSION_DESKTOP "niri"
|
||||
WM "niri"
|
||||
DISPLAY null
|
||||
DISPLAY ":0" // for X11 appls to run
|
||||
ELECTRON_OZONE_PLATFORM_HINT "auto"
|
||||
}
|
||||
|
||||
@ -30,6 +35,7 @@ input {
|
||||
// For example:
|
||||
layout "lv"
|
||||
// options "grp:win_space_toggle,compose:ralt,ctrl:nocaps"
|
||||
options "caps:escape"
|
||||
}
|
||||
|
||||
// Enable numlock on startup, omitting this setting disables it.
|
||||
@ -380,7 +386,7 @@ window-rule {
|
||||
window-rule {
|
||||
match at-startup=true app-id="floorp"
|
||||
open-maximized true
|
||||
open-on-workspace "browser"
|
||||
open-on-workspace "1"
|
||||
}
|
||||
|
||||
window-rule {
|
||||
@ -390,8 +396,9 @@ window-rule {
|
||||
match at-startup=true app-id=r#"discord"#
|
||||
match at-startup=true app-id=r#"vesktop"#
|
||||
|
||||
exclude app-id=r#"^com\.ayugram\.desktop$"# title="^Media viewer$"
|
||||
exclude app-id=r#"^org\.telegram\.desktop$"# title="^Media viewer$"
|
||||
open-on-workspace "chat"
|
||||
open-on-workspace "8"
|
||||
opacity 0.95
|
||||
}
|
||||
|
||||
@ -539,24 +546,24 @@ binds {
|
||||
//
|
||||
// For example, with 2 workspaces + 1 empty, indices 3, 4, 5 and so on
|
||||
// will all refer to the 3rd workspace.
|
||||
Mod+1 { focus-workspace "browser"; }
|
||||
Mod+2 { focus-workspace "terminal"; }
|
||||
Mod+3 { focus-workspace 3; }
|
||||
Mod+4 { focus-workspace 4; }
|
||||
Mod+5 { focus-workspace 5; }
|
||||
Mod+6 { focus-workspace 6; }
|
||||
Mod+7 { focus-workspace 7; }
|
||||
Mod+8 { focus-workspace "chat"; }
|
||||
Mod+9 { focus-workspace "music"; }
|
||||
Mod+Shift+1 { move-column-to-workspace "browser"; }
|
||||
Mod+Shift+2 { move-column-to-workspace "terminal"; }
|
||||
Mod+Shift+3 { move-column-to-workspace 3; }
|
||||
Mod+Shift+4 { move-column-to-workspace 4; }
|
||||
Mod+Shift+5 { move-column-to-workspace 5; }
|
||||
Mod+Shift+6 { move-column-to-workspace 6; }
|
||||
Mod+Shift+7 { move-column-to-workspace 7; }
|
||||
Mod+Shift+8 { move-column-to-workspace "chat"; }
|
||||
Mod+Shift+9 { move-column-to-workspace "music"; }
|
||||
Mod+1 { focus-workspace "1"; }
|
||||
Mod+2 { focus-workspace "2"; }
|
||||
Mod+3 { focus-workspace "3"; }
|
||||
Mod+4 { focus-workspace "4"; }
|
||||
Mod+5 { focus-workspace "5"; }
|
||||
Mod+6 { focus-workspace "6"; }
|
||||
Mod+7 { focus-workspace "7"; }
|
||||
Mod+8 { focus-workspace "8"; }
|
||||
Mod+9 { focus-workspace "9"; }
|
||||
Mod+Shift+1 { move-column-to-workspace "1"; }
|
||||
Mod+Shift+2 { move-column-to-workspace "2"; }
|
||||
Mod+Shift+3 { move-column-to-workspace "3"; }
|
||||
Mod+Shift+4 { move-column-to-workspace "4"; }
|
||||
Mod+Shift+5 { move-column-to-workspace "5"; }
|
||||
Mod+Shift+6 { move-column-to-workspace "6"; }
|
||||
Mod+Shift+7 { move-column-to-workspace "7"; }
|
||||
Mod+Shift+8 { move-column-to-workspace "8"; }
|
||||
Mod+Shift+9 { move-column-to-workspace "9"; }
|
||||
|
||||
// Alternatively, there are commands to move just a single window:
|
||||
// Mod+Ctrl+1 { move-window-to-workspace 1; }
|
||||
|
||||
@ -21,7 +21,7 @@ alias \
|
||||
diff="diff --color=auto" \
|
||||
grep="rg --color=auto" \
|
||||
ip="ip -color=auto" \
|
||||
less="moar" \
|
||||
less="moor" \
|
||||
ls="eza -a --icons --group-directories-first"
|
||||
|
||||
# These common commands ate just too long! Abbreviate them
|
||||
|
||||
@ -6,12 +6,19 @@ typeset -U PATH path
|
||||
# If you don't plan on reverting to bash, you can remove the link in ~/.profile
|
||||
# to clean up.
|
||||
|
||||
# $HOME Clean-up
|
||||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
# export XDG_RUNTIME_DIR="$HOME/.cache/xdgr"
|
||||
export XDG_STATE_HOME="$HOME/.local/share"
|
||||
|
||||
export BUN_INSTALL="$XDG_DATA_HOME/bun"
|
||||
|
||||
# Adds `~/.local/bin` to $PATH
|
||||
export PATH="$PATH:${$(find ~/.local/bin -type d -printf %p:)%%:}"
|
||||
export PATH="$PATH:~/.spicetify"
|
||||
export PATH="$PATH:${$(find ~/.cache/.bun/bin -type d -printf %p:)%%:}"
|
||||
export PATH="$PATH:${$(find ~/.local/share/bun/bin -type d -printf %p:)%%:}"
|
||||
export PATH="$JAVA_HOME/bin:$PATH"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
|
||||
@ -35,13 +42,8 @@ export VIDEO="mpv"
|
||||
export VISUAL="$EDITOR"
|
||||
export WM="awesome"
|
||||
|
||||
export GTK_THEME=rose-pine-gtk
|
||||
|
||||
# $HOME Clean-up
|
||||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
# export XDG_RUNTIME_DIR="$HOME/.cache/xdgr"
|
||||
export XDG_STATE_HOME="$HOME/.local/share"
|
||||
|
||||
export HYPRSHOT_DIR="$HOME/Pictures/screenshots"
|
||||
|
||||
@ -117,4 +119,4 @@ export SUDO_ASKPASS="$HOME/.local/bin/dmenupass"
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1 # Fix for Java applications in dwm
|
||||
|
||||
. "$XDG_DATA_HOME/cargo/env"
|
||||
. "$XDG_CACHE_HOME/deno/.deno/env"
|
||||
. "$XDG_DATA_HOME/deno/env"
|
||||
|
||||
@ -1 +0,0 @@
|
||||
../tmThemes/
|
||||
@ -12,6 +12,7 @@
|
||||
"spacing": 0, // Gaps between modules (4px)
|
||||
// Choose the order of the modules
|
||||
"modules-left": [
|
||||
// "wlr/taskbar"
|
||||
"cffi/niri-taskbar"
|
||||
],
|
||||
"modules-center": [],
|
||||
@ -22,7 +23,7 @@
|
||||
"memory",
|
||||
"battery",
|
||||
// "pulseaudio"
|
||||
"custom/waybar-media",
|
||||
// "custom/waybar-media",
|
||||
"clock"
|
||||
],
|
||||
// "modules-right": ["cpu", "memory", "battery", "network", "tray"],
|
||||
@ -50,8 +51,8 @@
|
||||
},
|
||||
"wlr/taskbar": {
|
||||
// "all-outputs": true,
|
||||
// "format": "{icon} {title} {app_id}",
|
||||
"format": "{icon}",
|
||||
"format": "{title} | {app_id}",
|
||||
// "format": "{icon}",
|
||||
"tooltip-format": "{title} | {app_id}",
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
|
||||
@ -1,33 +1,33 @@
|
||||
@import "./rose-pine.css";
|
||||
|
||||
* {
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-family:
|
||||
JetBrains Mono NF Propo,
|
||||
JetBrains Mono NF,
|
||||
FontAwesome,
|
||||
Roboto,
|
||||
Helvetica,
|
||||
Arial,
|
||||
sans-serif;
|
||||
font-size: 14px;
|
||||
/* font-feature-settings: "tnum"; */
|
||||
color: @text;
|
||||
background: @base-transparent;
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-family:
|
||||
JetBrains Mono NF Propo,
|
||||
JetBrains Mono NF,
|
||||
FontAwesome,
|
||||
Roboto,
|
||||
Helvetica,
|
||||
Arial,
|
||||
sans-serif;
|
||||
font-size: {{waybar_font_size}};
|
||||
/* font-feature-settings: "tnum"; */
|
||||
color: @text;
|
||||
background: @base-transparent;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
/* background-color: rgba(30, 30, 46, 0.5); */
|
||||
/* border-bottom: 2px solid rgba(147, 153, 178, 0.5); */
|
||||
/* border: 1px solid rgba(166, 173, 200, 1.0); */
|
||||
color: #ffffff;
|
||||
/* transition-property: background-color; */
|
||||
/* transition-duration: .5s; */
|
||||
background: transparent;
|
||||
/* background-color: rgba(30, 30, 46, 0.5); */
|
||||
/* border-bottom: 2px solid rgba(147, 153, 178, 0.5); */
|
||||
/* border: 1px solid rgba(166, 173, 200, 1.0); */
|
||||
color: #ffffff;
|
||||
/* transition-property: background-color; */
|
||||
/* transition-duration: .5s; */
|
||||
}
|
||||
|
||||
window#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -40,49 +40,49 @@ window#waybar.solo {
|
||||
*/
|
||||
|
||||
window#waybar.termite {
|
||||
background-color: red;
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
button {
|
||||
/* Use box-shadow instead of border so the text isn't offset */
|
||||
box-shadow: none;
|
||||
/* Avoid rounded borders under each button name */
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
transition-property: none;
|
||||
/* Use box-shadow instead of border so the text isn't offset */
|
||||
box-shadow: none;
|
||||
/* Avoid rounded borders under each button name */
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
transition-property: none;
|
||||
}
|
||||
|
||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||
button:hover {
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
border: none;
|
||||
-gtk-icon-effect: none;
|
||||
-gtk-icon-shadow: none;
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
border: none;
|
||||
-gtk-icon-effect: none;
|
||||
-gtk-icon-shadow: none;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
background-color: transparent;
|
||||
padding: 0 5px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: #64727d;
|
||||
box-shadow: inset 0 -3px #ffffff;
|
||||
background-color: #64727d;
|
||||
box-shadow: inset 0 -3px #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #eb4d4b;
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background-color: #64727d;
|
||||
border-bottom: 3px solid #ffffff;
|
||||
background-color: #64727d;
|
||||
border-bottom: 3px solid #ffffff;
|
||||
}
|
||||
|
||||
#clock,
|
||||
@ -101,37 +101,37 @@ button:hover {
|
||||
#idle_inhibitor,
|
||||
#scratchpad,
|
||||
#mpd {
|
||||
padding: 0 10px;
|
||||
border-radius: 99px;
|
||||
background-color: transparent;
|
||||
padding: 0 10px;
|
||||
border-radius: 99px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#window,
|
||||
#workspaces {
|
||||
margin: 0 4px;
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
/* If workspaces is the leftmost module, omit left margin */
|
||||
.modules-left > widget:first-child > #workspaces {
|
||||
margin-left: 0;
|
||||
.modules-left>widget:first-child>#workspaces {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* If workspaces is the rightmost module, omit right margin */
|
||||
.modules-right > widget:last-child > #workspaces {
|
||||
margin-right: 0;
|
||||
.modules-right>widget:last-child>#workspaces {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#clock {
|
||||
/* background-color: #64727D; */
|
||||
font-weight: bold;
|
||||
/* background-color: rgba(0, 0, 0, 0.3); */
|
||||
/* border-radius: 99px; */
|
||||
/* background-color: #64727D; */
|
||||
font-weight: bold;
|
||||
/* background-color: rgba(0, 0, 0, 0.3); */
|
||||
/* border-radius: 99px; */
|
||||
}
|
||||
|
||||
#battery {
|
||||
/* background-color: #f9e2af; */
|
||||
/* color: #000000; */
|
||||
margin-left: 4px;
|
||||
/* background-color: #f9e2af; */
|
||||
/* color: #000000; */
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -159,35 +159,35 @@ button:hover {
|
||||
*/
|
||||
|
||||
label:focus {
|
||||
background-color: #000000;
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
/* background-color: #f38ba8; */
|
||||
/* color: #000000; */
|
||||
border-radius: 99px 0px 0px 99px;
|
||||
padding: 0 0 0 10px;
|
||||
margin-left: 4px;
|
||||
/* background-color: #f38ba8; */
|
||||
/* color: #000000; */
|
||||
border-radius: 99px 0px 0px 99px;
|
||||
padding: 0 0 0 10px;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
#memory {
|
||||
/* background-color: #fab387; */
|
||||
/* color: #000000; */
|
||||
border-radius: 0px 99px 99px 0px;
|
||||
/* padding: 0 10px 0 0; */
|
||||
/* background-color: #fab387; */
|
||||
/* color: #000000; */
|
||||
border-radius: 0px 99px 99px 0px;
|
||||
/* padding: 0 10px 0 0; */
|
||||
}
|
||||
|
||||
#disk {
|
||||
background-color: #964b00;
|
||||
background-color: #964b00;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
background-color: #90b1b1;
|
||||
background-color: #90b1b1;
|
||||
}
|
||||
|
||||
#network {
|
||||
/* background-color: #a6e3a1; */
|
||||
/* color: #000000; */
|
||||
/* background-color: #a6e3a1; */
|
||||
/* color: #000000; */
|
||||
}
|
||||
|
||||
/*
|
||||
@ -197,146 +197,146 @@ label:focus {
|
||||
*/
|
||||
|
||||
#taskbar {
|
||||
margin-left: 4px;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
#taskbar button {
|
||||
color: #f0f0ff;
|
||||
background-color: rgba(30, 30, 46, 0.6);
|
||||
color: #f0f0ff;
|
||||
background-color: rgba(30, 30, 46, 0.6);
|
||||
}
|
||||
|
||||
#taskbar button:first-child {
|
||||
border-radius: 99px 0 0 99px;
|
||||
border-radius: 99px 0 0 99px;
|
||||
}
|
||||
|
||||
#taskbar button:last-child {
|
||||
border-radius: 0 99px 99px 0;
|
||||
border-radius: 0 99px 99px 0;
|
||||
}
|
||||
|
||||
#taskbar button:first-child:last-child {
|
||||
border-radius: 99px;
|
||||
border-radius: 99px;
|
||||
}
|
||||
|
||||
#taskbar button:hover {
|
||||
background-color: rgba(49, 50, 68, 0.6);
|
||||
background-color: rgba(49, 50, 68, 0.6);
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
background-color: rgba(88, 91, 112, 0.6);
|
||||
background-color: rgba(88, 91, 112, 0.6);
|
||||
}
|
||||
|
||||
#taskbar button.active:hover {
|
||||
background-color: rgba(108, 112, 134, 0.6);
|
||||
background-color: rgba(108, 112, 134, 0.6);
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
background-color: #f1c40f;
|
||||
color: #000000;
|
||||
background-color: #f1c40f;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
background-color: #90b1b1;
|
||||
color: #2a5c45;
|
||||
background-color: #90b1b1;
|
||||
color: #2a5c45;
|
||||
}
|
||||
|
||||
#wireplumber {
|
||||
background-color: #fff0f5;
|
||||
color: #000000;
|
||||
background-color: #fff0f5;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
#wireplumber.muted {
|
||||
background-color: #f53c3c;
|
||||
background-color: #f53c3c;
|
||||
}
|
||||
|
||||
#custom-media {
|
||||
background-color: #66cc99;
|
||||
color: #2a5c45;
|
||||
min-width: 100px;
|
||||
background-color: #66cc99;
|
||||
color: #2a5c45;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
#custom-media.custom-spotify {
|
||||
background-color: #66cc99;
|
||||
background-color: #66cc99;
|
||||
}
|
||||
|
||||
#custom-media.custom-vlc {
|
||||
background-color: #ffa000;
|
||||
background-color: #ffa000;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
background-color: #f0932b;
|
||||
background-color: #f0932b;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
background-color: #eb4d4b;
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#tray {
|
||||
/* background-color: #2980b9; */
|
||||
/* background-color: #2980b9; */
|
||||
}
|
||||
|
||||
#tray > .passive {
|
||||
-gtk-icon-effect: dim;
|
||||
#tray>.passive {
|
||||
-gtk-icon-effect: dim;
|
||||
}
|
||||
|
||||
#tray > .needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
background-color: #eb4d4b;
|
||||
#tray>.needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#idle_inhibitor {
|
||||
background-color: #2d3436;
|
||||
background-color: #2d3436;
|
||||
}
|
||||
|
||||
#idle_inhibitor.activated {
|
||||
background-color: #ecf0f1;
|
||||
color: #2d3436;
|
||||
background-color: #ecf0f1;
|
||||
color: #2d3436;
|
||||
}
|
||||
|
||||
#mpd {
|
||||
background-color: #66cc99;
|
||||
color: #2a5c45;
|
||||
background-color: #66cc99;
|
||||
color: #2a5c45;
|
||||
}
|
||||
|
||||
#mpd.disconnected {
|
||||
background-color: #f53c3c;
|
||||
background-color: #f53c3c;
|
||||
}
|
||||
|
||||
#mpd.stopped {
|
||||
background-color: #90b1b1;
|
||||
background-color: #90b1b1;
|
||||
}
|
||||
|
||||
#mpd.paused {
|
||||
background-color: #51a37a;
|
||||
background-color: #51a37a;
|
||||
}
|
||||
|
||||
#language {
|
||||
background: #00b093;
|
||||
color: #740864;
|
||||
padding: 0 5px;
|
||||
margin: 0 5px;
|
||||
min-width: 16px;
|
||||
background: #00b093;
|
||||
color: #740864;
|
||||
padding: 0 5px;
|
||||
margin: 0 5px;
|
||||
min-width: 16px;
|
||||
}
|
||||
|
||||
#keyboard-state {
|
||||
background: #97e1ad;
|
||||
color: #000000;
|
||||
padding: 0 0px;
|
||||
margin: 0 5px;
|
||||
min-width: 16px;
|
||||
background: #97e1ad;
|
||||
color: #000000;
|
||||
padding: 0 0px;
|
||||
margin: 0 5px;
|
||||
min-width: 16px;
|
||||
}
|
||||
|
||||
#keyboard-state > label {
|
||||
padding: 0 5px;
|
||||
#keyboard-state>label {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
#keyboard-state > label.locked {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
#keyboard-state>label.locked {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#scratchpad {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#scratchpad.empty {
|
||||
background-color: transparent;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
@ -30,38 +30,38 @@ hash = "62251f94eb67648d42cdfcfb8be0fad2"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "yazi-rs/plugins:git"
|
||||
rev = "d1c8baa"
|
||||
rev = "8f1d971"
|
||||
hash = "63b6c222bf2103b3023389dde5e2ecfe"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "yazi-rs/plugins:chmod"
|
||||
rev = "d1c8baa"
|
||||
rev = "8f1d971"
|
||||
hash = "8ad3e90b079190b4905f24a44f4ca06b"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "yazi-rs/plugins:full-border"
|
||||
rev = "d1c8baa"
|
||||
rev = "8f1d971"
|
||||
hash = "3996fc74044bc44144b323686f887e1"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "yazi-rs/plugins:mount"
|
||||
rev = "d1c8baa"
|
||||
hash = "435a2af56ecfb3d05755fd5e24977d8b"
|
||||
rev = "8f1d971"
|
||||
hash = "4fccaaf10c36dc2466e2438a386ff017"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "yazi-rs/plugins:smart-filter"
|
||||
rev = "d1c8baa"
|
||||
rev = "8f1d971"
|
||||
hash = "bcda8eeb3f4013bae156aecabfc745e8"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "yazi-rs/plugins:diff"
|
||||
rev = "d1c8baa"
|
||||
rev = "8f1d971"
|
||||
hash = "82376c3381ae915fd799d40f4dd4c6cd"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "AnirudhG07/rich-preview"
|
||||
rev = "843c3fa"
|
||||
hash = "b4040931f0d2f9670ddb4923e55cd881"
|
||||
rev = "831234e"
|
||||
hash = "ed3363e256e210593f0f8e4cec3e36a9"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "macydnah/office"
|
||||
@ -70,8 +70,8 @@ hash = "5805affd3ae8adcb3c72b6997d21c0a6"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "boydaihungst/mediainfo"
|
||||
rev = "2093ab7"
|
||||
hash = "16a10359fc2a3cd8cc8bcfbe00f744d3"
|
||||
rev = "7543154"
|
||||
hash = "212fe977a845f44da073a397e0170e60"
|
||||
|
||||
[[plugin.deps]]
|
||||
use = "iynaix/time-travel"
|
||||
|
||||
@ -282,7 +282,10 @@ function M:preload(job)
|
||||
tostring(cache_img_url),
|
||||
}):output()
|
||||
-- NOTE: Some audio types doesn't have cover image -> error ""
|
||||
if (audio_preload_output.stderr ~= nil and audio_preload_output.stderr ~= "") or audio_preload_err then
|
||||
if
|
||||
(audio_preload_output and audio_preload_output.stderr ~= nil and audio_preload_output.stderr ~= "")
|
||||
or audio_preload_err
|
||||
then
|
||||
err_msg = err_msg
|
||||
.. string.format("Failed to start `%s`, Do you have `%s` installed?\n", "ffmpeg", "ffmpeg")
|
||||
else
|
||||
@ -333,6 +336,11 @@ function M:preload(job)
|
||||
layer_index = max_layer - 1
|
||||
end
|
||||
end
|
||||
local cache_img_url_tmp = Url(cache_img_url .. ".tmp")
|
||||
if fs.cha(cache_img_url_tmp) then
|
||||
fs.remove("file", cache_img_url_tmp)
|
||||
end
|
||||
local tmp_file_path, _ = fs.unique_name(cache_img_url_tmp)
|
||||
cache_img_status, image_preload_err = magick_plugin
|
||||
.with_limit()
|
||||
:arg({
|
||||
@ -345,10 +353,18 @@ function M:preload(job)
|
||||
string.format("%dx%d>", rt.preview.max_width, rt.preview.max_height),
|
||||
"-quality",
|
||||
rt.preview.image_quality,
|
||||
string.format("PNG32:%s", cache_img_url),
|
||||
string.format("PNG32:%s", tostring(tmp_file_path)),
|
||||
})
|
||||
:status()
|
||||
if cache_img_status then
|
||||
os.rename(tostring(tmp_file_path), tostring(cache_img_url))
|
||||
end
|
||||
elseif mime == "svg+xml" and not is_valid_utf8_path then
|
||||
local cache_img_url_tmp = Url(cache_img_url .. ".tmp")
|
||||
if fs.cha(cache_img_url_tmp) then
|
||||
fs.remove("file", cache_img_url_tmp)
|
||||
end
|
||||
local tmp_file_path, _ = fs.unique_name(cache_img_url_tmp)
|
||||
-- svg under invalid utf8 path
|
||||
cache_img_status, image_preload_err = magick_plugin
|
||||
.with_limit()
|
||||
@ -363,9 +379,12 @@ function M:preload(job)
|
||||
string.format("%dx%d>", rt.preview.max_width, rt.preview.max_height),
|
||||
"-quality",
|
||||
rt.preview.image_quality,
|
||||
string.format("PNG32:%s", cache_img_url),
|
||||
string.format("PNG32:%s", tostring(tmp_file_path)),
|
||||
})
|
||||
:status()
|
||||
if cache_img_status then
|
||||
os.rename(tostring(tmp_file_path), tostring(cache_img_url))
|
||||
end
|
||||
else
|
||||
-- other image
|
||||
local no_skip_job = { skip = 0, file = job.file, args = {} }
|
||||
|
||||
@ -50,6 +50,8 @@ end)
|
||||
local M = {
|
||||
keys = {
|
||||
{ on = "q", run = "quit" },
|
||||
{ on = "<Esc>", run = "quit" },
|
||||
{ on = "<Enter>", run = { "enter", "quit" } },
|
||||
|
||||
{ on = "k", run = "up" },
|
||||
{ on = "j", run = "down" },
|
||||
|
||||
@ -15,7 +15,7 @@ Preview file types using `rich` command in Yazi. This plugin allows preview for
|
||||
## Requirements
|
||||
|
||||
- [Yazi](https://github.com/sxyazi/yazi) v25.4.8 or higher.
|
||||
- [rich-cli](https://github.com/Textualize/rich) v13.7.1 or higher.
|
||||
- [rich-cli](https://github.com/Textualize/rich-cli) v13.7.1 or higher.
|
||||
|
||||
## Installation
|
||||
|
||||
|
||||
@ -42,9 +42,10 @@ function M:peek(job)
|
||||
ya.emit("peek", { math.max(0, i - limit), only_if = job.file.url, upper_bound = true })
|
||||
else
|
||||
lines = lines:gsub("\t", string.rep(" ", rt.preview.tab_size))
|
||||
ya.preview_widgets(job, {
|
||||
ui.Text.parse(lines):area(job.area):wrap(rt.preview.wrap == "yes" and ui.Text.WRAP or ui.Text.WRAP_NO),
|
||||
})
|
||||
ya.preview_widget(
|
||||
job,
|
||||
ui.Text.parse(lines):area(job.area):wrap(rt.preview.wrap == "yes" and ui.Wrap.YES or ui.Wrap.NO)
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -112,11 +112,16 @@ prepend_previewers = [
|
||||
{mime = "application/bittorrent", run = "torrent-preview"},
|
||||
# Archive previewer
|
||||
{mime = "application/*zip", run = "ouch"},
|
||||
{mime = "application/tar", run = "ouch"},
|
||||
{mime = "application/bzip2", run = "ouch"},
|
||||
{mime = "application/7z-compressed", run = "ouch"},
|
||||
{mime = "application/rar", run = "ouch"},
|
||||
{mime = "application/x-tar", run = "ouch"},
|
||||
{mime = "application/x-bzip2", run = "ouch"},
|
||||
{mime = "application/x-7z-compressed", run = "ouch"},
|
||||
{mime = "application/x-rar", run = "ouch"},
|
||||
{mime = "application/vnd.rar", run = "ouch"},
|
||||
{mime = "application/x-xz", run = "ouch"},
|
||||
{mime = "application/xz", run = "ouch"},
|
||||
{mime = "application/x-zstd", run = "ouch"},
|
||||
{mime = "application/zstd", run = "ouch"},
|
||||
{mime = "application/java-archive", run = "ouch"},
|
||||
# Office Documents
|
||||
{mime = "application/openxmlformats-officedocument.*", run = "office"},
|
||||
{mime = "application/oasis.opendocument.*", run = "office"},
|
||||
|
||||
@ -195,3 +195,5 @@ export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
[ -s "/home/kristofers/.bun/_bun" ] && source "/home/kristofers/.bun/_bun"
|
||||
|
||||
. "$HOME/.local/share/../bin/env"
|
||||
|
||||
[ -f "$HOME/.ghcup/env" ] && . "$HOME/.ghcup/env" # ghcup-env
|
||||
|
||||
862
config/zsh/completions/_bevy
Normal file
862
config/zsh/completions/_bevy
Normal file
@ -0,0 +1,862 @@
|
||||
#compdef bevy
|
||||
|
||||
autoload -U is-at-least
|
||||
|
||||
_bevy() {
|
||||
typeset -A opt_args
|
||||
typeset -a _arguments_options
|
||||
local ret=1
|
||||
|
||||
if is-at-least 5.2; then
|
||||
_arguments_options=(-s -S -C)
|
||||
else
|
||||
_arguments_options=(-s -C)
|
||||
fi
|
||||
|
||||
local context curcontext="$curcontext" state line
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
'-v[Use verbose output]' \
|
||||
'--verbose[Use verbose output]' \
|
||||
'-h[Print help (see more with '\''--help'\'')]' \
|
||||
'--help[Print help (see more with '\''--help'\'')]' \
|
||||
'-V[Print version]' \
|
||||
'--version[Print version]' \
|
||||
":: :_bevy_commands" \
|
||||
"*::: :->bevy" \
|
||||
&& ret=0
|
||||
case $state in
|
||||
(bevy)
|
||||
words=($line[1] "${words[@]}")
|
||||
(( CURRENT += 1 ))
|
||||
curcontext="${curcontext%:*:*}:bevy-command-$line[1]:"
|
||||
case $line[1] in
|
||||
(new)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
'-t+[The name of the template to use for generating the project]:TEMPLATE:_default' \
|
||||
'--template=[The name of the template to use for generating the project]:TEMPLATE:_default' \
|
||||
'(--revision --tag)--branch=[Branch to use when installing from git]:BRANCH:_default' \
|
||||
'(--revision --branch)--tag=[Tag to use when installing from git]:TAG:_default' \
|
||||
'(--tag --branch)--revision=[Git revision to use when installing from git (e.g. a commit hash)]:REVISION:_default' \
|
||||
'--yes[Confirm all prompts automatically]' \
|
||||
'-v[Use verbose output]' \
|
||||
'--verbose[Use verbose output]' \
|
||||
'-h[Print help (see more with '\''--help'\'')]' \
|
||||
'--help[Print help (see more with '\''--help'\'')]' \
|
||||
':name -- The desired name for the new project:_default' \
|
||||
'*::ARGS -- Arguments to pass to `cargo-generate`:_default' \
|
||||
&& ret=0
|
||||
;;
|
||||
(build)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
'*--config=[Override a configuration value]:KEY=VALUE|PATH:_default' \
|
||||
'--rustflags=[custom flags to pass to all compiler invocations]:RUSTFLAGS:_default' \
|
||||
'*-Z+[Unstable (nightly-only) flags to Cargo, see \`cargo -Z help\` for details]:FLAG:_default' \
|
||||
'-p+[Package to build (see \`cargo help pkgid\`)]:SPEC:_default' \
|
||||
'--package=[Package to build (see \`cargo help pkgid\`)]:SPEC:_default' \
|
||||
'--exclude=[Exclude packages from the build]:SPEC:_default' \
|
||||
'--bin=[Build only the specified binary]:NAME:_default' \
|
||||
'--example=[Build only the specified example]:NAME:_default' \
|
||||
'--test=[Build only the specified test target]:NAME:_default' \
|
||||
'--bench=[Build only the specified bench target]:NAME:_default' \
|
||||
'*-F+[Space or comma separated list of features to activate]:FEATURES:_default' \
|
||||
'*--features=[Space or comma separated list of features to activate]:FEATURES:_default' \
|
||||
'--profile=[Build artifacts with the specified profile]:PROFILE-NAME:_default' \
|
||||
'-j+[Number of parallel jobs, defaults to # of CPUs]:N:_default' \
|
||||
'--jobs=[Number of parallel jobs, defaults to # of CPUs]:N:_default' \
|
||||
'--target=[Build for the target triple]:TRIPLE:_default' \
|
||||
'--target-dir=[Directory for all generated artifacts]:DIRECTORY:_default' \
|
||||
'--manifest-path=[Path to Cargo.toml]:PATH:_default' \
|
||||
'--yes[Confirm all prompts automatically]' \
|
||||
'--workspace[Build all packages in the workspace]' \
|
||||
'--lib[Build only this package'\''s library]' \
|
||||
'--bins[Build all binaries]' \
|
||||
'--examples[Build all examples]' \
|
||||
'--tests[Build all tests]' \
|
||||
'--benches[Build all benches]' \
|
||||
'--all-targets[Build all benches]' \
|
||||
'--all-features[Activate all available features]' \
|
||||
'--no-default-features[Do not activate the \`default\` feature]' \
|
||||
'-r[Build artifacts in release mode, with optimizations]' \
|
||||
'--release[Build artifacts in release mode, with optimizations]' \
|
||||
'--keep-going[Do not abort the build as soon as there is an error]' \
|
||||
'--ignore-rust-version[Ignore \`rust-version\` specification in packages]' \
|
||||
'--locked[Assert that \`Cargo.lock\` will remain unchanged]' \
|
||||
'--offline[Run without accessing the network]' \
|
||||
'--frozen[Equivalent to specifying both --locked and --offline]' \
|
||||
'-v[Use verbose output]' \
|
||||
'--verbose[Use verbose output]' \
|
||||
'-h[Print help (see more with '\''--help'\'')]' \
|
||||
'--help[Print help (see more with '\''--help'\'')]' \
|
||||
":: :_bevy__build_commands" \
|
||||
"*::: :->build" \
|
||||
&& ret=0
|
||||
|
||||
case $state in
|
||||
(build)
|
||||
words=($line[1] "${words[@]}")
|
||||
(( CURRENT += 1 ))
|
||||
curcontext="${curcontext%:*:*}:bevy-build-command-$line[1]:"
|
||||
case $line[1] in
|
||||
(web)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
'*--wasm-opt=[Use \`wasm-opt\` to optimize the wasm binary]:WASM_OPT:_default' \
|
||||
'*-U+[Enable unstable web features]:WEB FEATURE:((multi-threading\:"Enable building and running multi-threaded Wasm apps"))' \
|
||||
'*--unstable=[Enable unstable web features]:WEB FEATURE:((multi-threading\:"Enable building and running multi-threaded Wasm apps"))' \
|
||||
'-b[Bundle all web artifacts into a single folder]' \
|
||||
'--bundle[Bundle all web artifacts into a single folder]' \
|
||||
'-v[Use verbose output]' \
|
||||
'--verbose[Use verbose output]' \
|
||||
'-h[Print help (see more with '\''--help'\'')]' \
|
||||
'--help[Print help (see more with '\''--help'\'')]' \
|
||||
&& ret=0
|
||||
;;
|
||||
(help)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
":: :_bevy__build__help_commands" \
|
||||
"*::: :->help" \
|
||||
&& ret=0
|
||||
|
||||
case $state in
|
||||
(help)
|
||||
words=($line[1] "${words[@]}")
|
||||
(( CURRENT += 1 ))
|
||||
curcontext="${curcontext%:*:*}:bevy-build-help-command-$line[1]:"
|
||||
case $line[1] in
|
||||
(web)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
(help)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
(b)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
'*--config=[Override a configuration value]:KEY=VALUE|PATH:_default' \
|
||||
'--rustflags=[custom flags to pass to all compiler invocations]:RUSTFLAGS:_default' \
|
||||
'*-Z+[Unstable (nightly-only) flags to Cargo, see \`cargo -Z help\` for details]:FLAG:_default' \
|
||||
'-p+[Package to build (see \`cargo help pkgid\`)]:SPEC:_default' \
|
||||
'--package=[Package to build (see \`cargo help pkgid\`)]:SPEC:_default' \
|
||||
'--exclude=[Exclude packages from the build]:SPEC:_default' \
|
||||
'--bin=[Build only the specified binary]:NAME:_default' \
|
||||
'--example=[Build only the specified example]:NAME:_default' \
|
||||
'--test=[Build only the specified test target]:NAME:_default' \
|
||||
'--bench=[Build only the specified bench target]:NAME:_default' \
|
||||
'*-F+[Space or comma separated list of features to activate]:FEATURES:_default' \
|
||||
'*--features=[Space or comma separated list of features to activate]:FEATURES:_default' \
|
||||
'--profile=[Build artifacts with the specified profile]:PROFILE-NAME:_default' \
|
||||
'-j+[Number of parallel jobs, defaults to # of CPUs]:N:_default' \
|
||||
'--jobs=[Number of parallel jobs, defaults to # of CPUs]:N:_default' \
|
||||
'--target=[Build for the target triple]:TRIPLE:_default' \
|
||||
'--target-dir=[Directory for all generated artifacts]:DIRECTORY:_default' \
|
||||
'--manifest-path=[Path to Cargo.toml]:PATH:_default' \
|
||||
'--yes[Confirm all prompts automatically]' \
|
||||
'--workspace[Build all packages in the workspace]' \
|
||||
'--lib[Build only this package'\''s library]' \
|
||||
'--bins[Build all binaries]' \
|
||||
'--examples[Build all examples]' \
|
||||
'--tests[Build all tests]' \
|
||||
'--benches[Build all benches]' \
|
||||
'--all-targets[Build all benches]' \
|
||||
'--all-features[Activate all available features]' \
|
||||
'--no-default-features[Do not activate the \`default\` feature]' \
|
||||
'-r[Build artifacts in release mode, with optimizations]' \
|
||||
'--release[Build artifacts in release mode, with optimizations]' \
|
||||
'--keep-going[Do not abort the build as soon as there is an error]' \
|
||||
'--ignore-rust-version[Ignore \`rust-version\` specification in packages]' \
|
||||
'--locked[Assert that \`Cargo.lock\` will remain unchanged]' \
|
||||
'--offline[Run without accessing the network]' \
|
||||
'--frozen[Equivalent to specifying both --locked and --offline]' \
|
||||
'-v[Use verbose output]' \
|
||||
'--verbose[Use verbose output]' \
|
||||
'-h[Print help (see more with '\''--help'\'')]' \
|
||||
'--help[Print help (see more with '\''--help'\'')]' \
|
||||
":: :_bevy__build_commands" \
|
||||
"*::: :->build" \
|
||||
&& ret=0
|
||||
|
||||
case $state in
|
||||
(build)
|
||||
words=($line[1] "${words[@]}")
|
||||
(( CURRENT += 1 ))
|
||||
curcontext="${curcontext%:*:*}:bevy-build-command-$line[1]:"
|
||||
case $line[1] in
|
||||
(web)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
'*--wasm-opt=[Use \`wasm-opt\` to optimize the wasm binary]:WASM_OPT:_default' \
|
||||
'*-U+[Enable unstable web features]:WEB FEATURE:((multi-threading\:"Enable building and running multi-threaded Wasm apps"))' \
|
||||
'*--unstable=[Enable unstable web features]:WEB FEATURE:((multi-threading\:"Enable building and running multi-threaded Wasm apps"))' \
|
||||
'-b[Bundle all web artifacts into a single folder]' \
|
||||
'--bundle[Bundle all web artifacts into a single folder]' \
|
||||
'-v[Use verbose output]' \
|
||||
'--verbose[Use verbose output]' \
|
||||
'-h[Print help (see more with '\''--help'\'')]' \
|
||||
'--help[Print help (see more with '\''--help'\'')]' \
|
||||
&& ret=0
|
||||
;;
|
||||
(help)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
":: :_bevy__build__help_commands" \
|
||||
"*::: :->help" \
|
||||
&& ret=0
|
||||
|
||||
case $state in
|
||||
(help)
|
||||
words=($line[1] "${words[@]}")
|
||||
(( CURRENT += 1 ))
|
||||
curcontext="${curcontext%:*:*}:bevy-build-help-command-$line[1]:"
|
||||
case $line[1] in
|
||||
(web)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
(help)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
(run)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
'*--config=[Override a configuration value]:KEY=VALUE|PATH:_default' \
|
||||
'--rustflags=[custom flags to pass to all compiler invocations]:RUSTFLAGS:_default' \
|
||||
'*-Z+[Unstable (nightly-only) flags to Cargo, see \`cargo -Z help\` for details]:FLAG:_default' \
|
||||
'-p+[Package with the target to run]:SPEC:_default' \
|
||||
'--package=[Package with the target to run]:SPEC:_default' \
|
||||
'--bin=[Build only the specified binary]:NAME:_default' \
|
||||
'--example=[Build only the specified example]:NAME:_default' \
|
||||
'*-F+[Space or comma separated list of features to activate]:FEATURES:_default' \
|
||||
'*--features=[Space or comma separated list of features to activate]:FEATURES:_default' \
|
||||
'--profile=[Build artifacts with the specified profile]:PROFILE-NAME:_default' \
|
||||
'-j+[Number of parallel jobs, defaults to # of CPUs]:N:_default' \
|
||||
'--jobs=[Number of parallel jobs, defaults to # of CPUs]:N:_default' \
|
||||
'--target=[Build for the target triple]:TRIPLE:_default' \
|
||||
'--target-dir=[Directory for all generated artifacts]:DIRECTORY:_default' \
|
||||
'--manifest-path=[Path to Cargo.toml]:PATH:_default' \
|
||||
'--yes[Confirm all prompts automatically]' \
|
||||
'--all-features[Activate all available features]' \
|
||||
'--no-default-features[Do not activate the \`default\` feature]' \
|
||||
'-r[Build artifacts in release mode, with optimizations]' \
|
||||
'--release[Build artifacts in release mode, with optimizations]' \
|
||||
'--keep-going[Do not abort the build as soon as there is an error]' \
|
||||
'--ignore-rust-version[Ignore \`rust-version\` specification in packages]' \
|
||||
'--locked[Assert that \`Cargo.lock\` will remain unchanged]' \
|
||||
'--offline[Run without accessing the network]' \
|
||||
'--frozen[Equivalent to specifying both --locked and --offline]' \
|
||||
'-v[Use verbose output]' \
|
||||
'--verbose[Use verbose output]' \
|
||||
'-h[Print help (see more with '\''--help'\'')]' \
|
||||
'--help[Print help (see more with '\''--help'\'')]' \
|
||||
'::ARGS -- Arguments to pass to the underlying Bevy app:_default' \
|
||||
":: :_bevy__run_commands" \
|
||||
"*::: :->run" \
|
||||
&& ret=0
|
||||
|
||||
case $state in
|
||||
(run)
|
||||
words=($line[2] "${words[@]}")
|
||||
(( CURRENT += 1 ))
|
||||
curcontext="${curcontext%:*:*}:bevy-run-command-$line[2]:"
|
||||
case $line[2] in
|
||||
(web)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
'-p+[The port to run the web server on]:PORT:_default' \
|
||||
'--port=[The port to run the web server on]:PORT:_default' \
|
||||
'--host=[The host address to run the web server on]:HOST:_default' \
|
||||
'*-H+[Headers to add to the web-server responses, in the format \`name\:value\` or \`name=value\`]:HEADERS:_default' \
|
||||
'*--headers=[Headers to add to the web-server responses, in the format \`name\:value\` or \`name=value\`]:HEADERS:_default' \
|
||||
'*--wasm-opt=[Use \`wasm-opt\` to optimize the wasm binary]:WASM_OPT:_default' \
|
||||
'*-U+[Enable unstable web features]:WEB FEATURE:((multi-threading\:"Enable building and running multi-threaded Wasm apps"))' \
|
||||
'*--unstable=[Enable unstable web features]:WEB FEATURE:((multi-threading\:"Enable building and running multi-threaded Wasm apps"))' \
|
||||
'-o[Open the app in the browser]' \
|
||||
'--open[Open the app in the browser]' \
|
||||
'-b[Bundle all web artifacts into a single folder]' \
|
||||
'--bundle[Bundle all web artifacts into a single folder]' \
|
||||
'-v[Use verbose output]' \
|
||||
'--verbose[Use verbose output]' \
|
||||
'-h[Print help (see more with '\''--help'\'')]' \
|
||||
'--help[Print help (see more with '\''--help'\'')]' \
|
||||
&& ret=0
|
||||
;;
|
||||
(help)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
":: :_bevy__run__help_commands" \
|
||||
"*::: :->help" \
|
||||
&& ret=0
|
||||
|
||||
case $state in
|
||||
(help)
|
||||
words=($line[1] "${words[@]}")
|
||||
(( CURRENT += 1 ))
|
||||
curcontext="${curcontext%:*:*}:bevy-run-help-command-$line[1]:"
|
||||
case $line[1] in
|
||||
(web)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
(help)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
(r)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
'*--config=[Override a configuration value]:KEY=VALUE|PATH:_default' \
|
||||
'--rustflags=[custom flags to pass to all compiler invocations]:RUSTFLAGS:_default' \
|
||||
'*-Z+[Unstable (nightly-only) flags to Cargo, see \`cargo -Z help\` for details]:FLAG:_default' \
|
||||
'-p+[Package with the target to run]:SPEC:_default' \
|
||||
'--package=[Package with the target to run]:SPEC:_default' \
|
||||
'--bin=[Build only the specified binary]:NAME:_default' \
|
||||
'--example=[Build only the specified example]:NAME:_default' \
|
||||
'*-F+[Space or comma separated list of features to activate]:FEATURES:_default' \
|
||||
'*--features=[Space or comma separated list of features to activate]:FEATURES:_default' \
|
||||
'--profile=[Build artifacts with the specified profile]:PROFILE-NAME:_default' \
|
||||
'-j+[Number of parallel jobs, defaults to # of CPUs]:N:_default' \
|
||||
'--jobs=[Number of parallel jobs, defaults to # of CPUs]:N:_default' \
|
||||
'--target=[Build for the target triple]:TRIPLE:_default' \
|
||||
'--target-dir=[Directory for all generated artifacts]:DIRECTORY:_default' \
|
||||
'--manifest-path=[Path to Cargo.toml]:PATH:_default' \
|
||||
'--yes[Confirm all prompts automatically]' \
|
||||
'--all-features[Activate all available features]' \
|
||||
'--no-default-features[Do not activate the \`default\` feature]' \
|
||||
'-r[Build artifacts in release mode, with optimizations]' \
|
||||
'--release[Build artifacts in release mode, with optimizations]' \
|
||||
'--keep-going[Do not abort the build as soon as there is an error]' \
|
||||
'--ignore-rust-version[Ignore \`rust-version\` specification in packages]' \
|
||||
'--locked[Assert that \`Cargo.lock\` will remain unchanged]' \
|
||||
'--offline[Run without accessing the network]' \
|
||||
'--frozen[Equivalent to specifying both --locked and --offline]' \
|
||||
'-v[Use verbose output]' \
|
||||
'--verbose[Use verbose output]' \
|
||||
'-h[Print help (see more with '\''--help'\'')]' \
|
||||
'--help[Print help (see more with '\''--help'\'')]' \
|
||||
'::ARGS -- Arguments to pass to the underlying Bevy app:_default' \
|
||||
":: :_bevy__run_commands" \
|
||||
"*::: :->run" \
|
||||
&& ret=0
|
||||
|
||||
case $state in
|
||||
(run)
|
||||
words=($line[2] "${words[@]}")
|
||||
(( CURRENT += 1 ))
|
||||
curcontext="${curcontext%:*:*}:bevy-run-command-$line[2]:"
|
||||
case $line[2] in
|
||||
(web)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
'-p+[The port to run the web server on]:PORT:_default' \
|
||||
'--port=[The port to run the web server on]:PORT:_default' \
|
||||
'--host=[The host address to run the web server on]:HOST:_default' \
|
||||
'*-H+[Headers to add to the web-server responses, in the format \`name\:value\` or \`name=value\`]:HEADERS:_default' \
|
||||
'*--headers=[Headers to add to the web-server responses, in the format \`name\:value\` or \`name=value\`]:HEADERS:_default' \
|
||||
'*--wasm-opt=[Use \`wasm-opt\` to optimize the wasm binary]:WASM_OPT:_default' \
|
||||
'*-U+[Enable unstable web features]:WEB FEATURE:((multi-threading\:"Enable building and running multi-threaded Wasm apps"))' \
|
||||
'*--unstable=[Enable unstable web features]:WEB FEATURE:((multi-threading\:"Enable building and running multi-threaded Wasm apps"))' \
|
||||
'-o[Open the app in the browser]' \
|
||||
'--open[Open the app in the browser]' \
|
||||
'-b[Bundle all web artifacts into a single folder]' \
|
||||
'--bundle[Bundle all web artifacts into a single folder]' \
|
||||
'-v[Use verbose output]' \
|
||||
'--verbose[Use verbose output]' \
|
||||
'-h[Print help (see more with '\''--help'\'')]' \
|
||||
'--help[Print help (see more with '\''--help'\'')]' \
|
||||
&& ret=0
|
||||
;;
|
||||
(help)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
":: :_bevy__run__help_commands" \
|
||||
"*::: :->help" \
|
||||
&& ret=0
|
||||
|
||||
case $state in
|
||||
(help)
|
||||
words=($line[1] "${words[@]}")
|
||||
(( CURRENT += 1 ))
|
||||
curcontext="${curcontext%:*:*}:bevy-run-help-command-$line[1]:"
|
||||
case $line[1] in
|
||||
(web)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
(help)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
(lint)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
'*--config=[Override a configuration value]:KEY=VALUE|PATH:_default' \
|
||||
'--rustflags=[custom flags to pass to all compiler invocations]:RUSTFLAGS:_default' \
|
||||
'*-Z+[Unstable (nightly-only) flags to Cargo, see \`cargo -Z help\` for details]:FLAG:_default' \
|
||||
'-p+[Package to check (see \`cargo help pkgid\`)]:SPEC:_default' \
|
||||
'--package=[Package to check (see \`cargo help pkgid\`)]:SPEC:_default' \
|
||||
'--exclude=[Exclude packages from the check]:SPEC:_default' \
|
||||
'--bin=[Check only the specified binary]:NAME:_default' \
|
||||
'--example=[Check only the specified example]:NAME:_default' \
|
||||
'--test=[Check only the specified test target]:NAME:_default' \
|
||||
'--bench=[Check only the specified bench target]:NAME:_default' \
|
||||
'*-F+[Space or comma separated list of features to activate]:FEATURES:_default' \
|
||||
'*--features=[Space or comma separated list of features to activate]:FEATURES:_default' \
|
||||
'--profile=[Build artifacts with the specified profile]:PROFILE-NAME:_default' \
|
||||
'-j+[Number of parallel jobs, defaults to # of CPUs]:N:_default' \
|
||||
'--jobs=[Number of parallel jobs, defaults to # of CPUs]:N:_default' \
|
||||
'--target=[Build for the target triple]:TRIPLE:_default' \
|
||||
'--target-dir=[Directory for all generated artifacts]:DIRECTORY:_default' \
|
||||
'--manifest-path=[Path to Cargo.toml]:PATH:_default' \
|
||||
'--version[Show version information]' \
|
||||
'--fix[Automatically fix lint warnings reported by bevy_lint]' \
|
||||
'--workspace[Check all packages in the workspace]' \
|
||||
'--lib[Check only this package'\''s library]' \
|
||||
'--bins[Check all binaries]' \
|
||||
'--examples[Check all examples]' \
|
||||
'--tests[Check all tests]' \
|
||||
'--benches[Check all benches]' \
|
||||
'--all-targets[Check all benches]' \
|
||||
'--all-features[Activate all available features]' \
|
||||
'--no-default-features[Do not activate the \`default\` feature]' \
|
||||
'-r[Build artifacts in release mode, with optimizations]' \
|
||||
'--release[Build artifacts in release mode, with optimizations]' \
|
||||
'--keep-going[Do not abort the build as soon as there is an error]' \
|
||||
'--ignore-rust-version[Ignore \`rust-version\` specification in packages]' \
|
||||
'--locked[Assert that \`Cargo.lock\` will remain unchanged]' \
|
||||
'--offline[Run without accessing the network]' \
|
||||
'--frozen[Equivalent to specifying both --locked and --offline]' \
|
||||
'-v[Use verbose output]' \
|
||||
'--verbose[Use verbose output]' \
|
||||
'-h[Print help (see more with '\''--help'\'')]' \
|
||||
'--help[Print help (see more with '\''--help'\'')]' \
|
||||
'::ARGS -- Arguments to forward to `bevy_lint`:_default' \
|
||||
":: :_bevy__lint_commands" \
|
||||
"*::: :->lint" \
|
||||
&& ret=0
|
||||
|
||||
case $state in
|
||||
(lint)
|
||||
words=($line[2] "${words[@]}")
|
||||
(( CURRENT += 1 ))
|
||||
curcontext="${curcontext%:*:*}:bevy-lint-command-$line[2]:"
|
||||
case $line[2] in
|
||||
(web)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
'-v[Use verbose output]' \
|
||||
'--verbose[Use verbose output]' \
|
||||
'-h[Print help (see more with '\''--help'\'')]' \
|
||||
'--help[Print help (see more with '\''--help'\'')]' \
|
||||
'*::ARGS -- Arguments to forward to `bevy_lint`:_default' \
|
||||
&& ret=0
|
||||
;;
|
||||
(install)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
'--yes[Confirm all prompts automatically]' \
|
||||
'-v[Use verbose output]' \
|
||||
'--verbose[Use verbose output]' \
|
||||
'-h[Print help (see more with '\''--help'\'')]' \
|
||||
'--help[Print help (see more with '\''--help'\'')]' \
|
||||
'::version:_default' \
|
||||
'*::ARGS -- Arguments to forward to `bevy_lint`:_default' \
|
||||
&& ret=0
|
||||
;;
|
||||
(list)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
'-v[Use verbose output]' \
|
||||
'--verbose[Use verbose output]' \
|
||||
'-h[Print help (see more with '\''--help'\'')]' \
|
||||
'--help[Print help (see more with '\''--help'\'')]' \
|
||||
'*::ARGS -- Arguments to forward to `bevy_lint`:_default' \
|
||||
&& ret=0
|
||||
;;
|
||||
(help)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
":: :_bevy__lint__help_commands" \
|
||||
"*::: :->help" \
|
||||
&& ret=0
|
||||
|
||||
case $state in
|
||||
(help)
|
||||
words=($line[1] "${words[@]}")
|
||||
(( CURRENT += 1 ))
|
||||
curcontext="${curcontext%:*:*}:bevy-lint-help-command-$line[1]:"
|
||||
case $line[1] in
|
||||
(web)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
(install)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
(list)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
(help)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
(completions)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
'-v[Use verbose output]' \
|
||||
'--verbose[Use verbose output]' \
|
||||
'-h[Print help (see more with '\''--help'\'')]' \
|
||||
'--help[Print help (see more with '\''--help'\'')]' \
|
||||
':shell:(bash elvish fish powershell zsh)' \
|
||||
&& ret=0
|
||||
;;
|
||||
(help)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
":: :_bevy__help_commands" \
|
||||
"*::: :->help" \
|
||||
&& ret=0
|
||||
|
||||
case $state in
|
||||
(help)
|
||||
words=($line[1] "${words[@]}")
|
||||
(( CURRENT += 1 ))
|
||||
curcontext="${curcontext%:*:*}:bevy-help-command-$line[1]:"
|
||||
case $line[1] in
|
||||
(new)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
(build)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
":: :_bevy__help__build_commands" \
|
||||
"*::: :->build" \
|
||||
&& ret=0
|
||||
|
||||
case $state in
|
||||
(build)
|
||||
words=($line[1] "${words[@]}")
|
||||
(( CURRENT += 1 ))
|
||||
curcontext="${curcontext%:*:*}:bevy-help-build-command-$line[1]:"
|
||||
case $line[1] in
|
||||
(web)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
(run)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
":: :_bevy__help__run_commands" \
|
||||
"*::: :->run" \
|
||||
&& ret=0
|
||||
|
||||
case $state in
|
||||
(run)
|
||||
words=($line[1] "${words[@]}")
|
||||
(( CURRENT += 1 ))
|
||||
curcontext="${curcontext%:*:*}:bevy-help-run-command-$line[1]:"
|
||||
case $line[1] in
|
||||
(web)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
(lint)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
":: :_bevy__help__lint_commands" \
|
||||
"*::: :->lint" \
|
||||
&& ret=0
|
||||
|
||||
case $state in
|
||||
(lint)
|
||||
words=($line[1] "${words[@]}")
|
||||
(( CURRENT += 1 ))
|
||||
curcontext="${curcontext%:*:*}:bevy-help-lint-command-$line[1]:"
|
||||
case $line[1] in
|
||||
(web)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
(install)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
(list)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
(completions)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
(help)
|
||||
_arguments "${_arguments_options[@]}" : \
|
||||
&& ret=0
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
(( $+functions[_bevy_commands] )) ||
|
||||
_bevy_commands() {
|
||||
local commands; commands=(
|
||||
'new:Create a new Bevy project from a specified template' \
|
||||
'build:Build your Bevy app' \
|
||||
'b:Build your Bevy app' \
|
||||
'run:Run your Bevy app' \
|
||||
'r:Run your Bevy app' \
|
||||
'lint:Check the current project using Bevy-specific lints' \
|
||||
'completions:Prints the auto-completion script for a specific shell' \
|
||||
'help:Print this message or the help of the given subcommand(s)' \
|
||||
)
|
||||
_describe -t commands 'bevy commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__build_commands] )) ||
|
||||
_bevy__build_commands() {
|
||||
local commands; commands=(
|
||||
'web:Build your app for the browser' \
|
||||
'help:Print this message or the help of the given subcommand(s)' \
|
||||
)
|
||||
_describe -t commands 'bevy build commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__build__help_commands] )) ||
|
||||
_bevy__build__help_commands() {
|
||||
local commands; commands=(
|
||||
'web:Build your app for the browser' \
|
||||
'help:Print this message or the help of the given subcommand(s)' \
|
||||
)
|
||||
_describe -t commands 'bevy build help commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__build__help__help_commands] )) ||
|
||||
_bevy__build__help__help_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy build help help commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__build__help__web_commands] )) ||
|
||||
_bevy__build__help__web_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy build help web commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__build__web_commands] )) ||
|
||||
_bevy__build__web_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy build web commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__completions_commands] )) ||
|
||||
_bevy__completions_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy completions commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__help_commands] )) ||
|
||||
_bevy__help_commands() {
|
||||
local commands; commands=(
|
||||
'new:Create a new Bevy project from a specified template' \
|
||||
'build:Build your Bevy app' \
|
||||
'run:Run your Bevy app' \
|
||||
'lint:Check the current project using Bevy-specific lints' \
|
||||
'completions:Prints the auto-completion script for a specific shell' \
|
||||
'help:Print this message or the help of the given subcommand(s)' \
|
||||
)
|
||||
_describe -t commands 'bevy help commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__help__build_commands] )) ||
|
||||
_bevy__help__build_commands() {
|
||||
local commands; commands=(
|
||||
'web:Build your app for the browser' \
|
||||
)
|
||||
_describe -t commands 'bevy help build commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__help__build__web_commands] )) ||
|
||||
_bevy__help__build__web_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy help build web commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__help__completions_commands] )) ||
|
||||
_bevy__help__completions_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy help completions commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__help__help_commands] )) ||
|
||||
_bevy__help__help_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy help help commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__help__lint_commands] )) ||
|
||||
_bevy__help__lint_commands() {
|
||||
local commands; commands=(
|
||||
'web:Lint your app for the browser' \
|
||||
'install:Install a \`bevy_lint\` version' \
|
||||
'list:List all available \`bevy_lint\` versions' \
|
||||
)
|
||||
_describe -t commands 'bevy help lint commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__help__lint__install_commands] )) ||
|
||||
_bevy__help__lint__install_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy help lint install commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__help__lint__list_commands] )) ||
|
||||
_bevy__help__lint__list_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy help lint list commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__help__lint__web_commands] )) ||
|
||||
_bevy__help__lint__web_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy help lint web commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__help__new_commands] )) ||
|
||||
_bevy__help__new_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy help new commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__help__run_commands] )) ||
|
||||
_bevy__help__run_commands() {
|
||||
local commands; commands=(
|
||||
'web:Run your app in the browser' \
|
||||
)
|
||||
_describe -t commands 'bevy help run commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__help__run__web_commands] )) ||
|
||||
_bevy__help__run__web_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy help run web commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__lint_commands] )) ||
|
||||
_bevy__lint_commands() {
|
||||
local commands; commands=(
|
||||
'web:Lint your app for the browser' \
|
||||
'install:Install a \`bevy_lint\` version' \
|
||||
'list:List all available \`bevy_lint\` versions' \
|
||||
'help:Print this message or the help of the given subcommand(s)' \
|
||||
)
|
||||
_describe -t commands 'bevy lint commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__lint__help_commands] )) ||
|
||||
_bevy__lint__help_commands() {
|
||||
local commands; commands=(
|
||||
'web:Lint your app for the browser' \
|
||||
'install:Install a \`bevy_lint\` version' \
|
||||
'list:List all available \`bevy_lint\` versions' \
|
||||
'help:Print this message or the help of the given subcommand(s)' \
|
||||
)
|
||||
_describe -t commands 'bevy lint help commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__lint__help__help_commands] )) ||
|
||||
_bevy__lint__help__help_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy lint help help commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__lint__help__install_commands] )) ||
|
||||
_bevy__lint__help__install_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy lint help install commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__lint__help__list_commands] )) ||
|
||||
_bevy__lint__help__list_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy lint help list commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__lint__help__web_commands] )) ||
|
||||
_bevy__lint__help__web_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy lint help web commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__lint__install_commands] )) ||
|
||||
_bevy__lint__install_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy lint install commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__lint__list_commands] )) ||
|
||||
_bevy__lint__list_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy lint list commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__lint__web_commands] )) ||
|
||||
_bevy__lint__web_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy lint web commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__new_commands] )) ||
|
||||
_bevy__new_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy new commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__run_commands] )) ||
|
||||
_bevy__run_commands() {
|
||||
local commands; commands=(
|
||||
'web:Run your app in the browser' \
|
||||
'help:Print this message or the help of the given subcommand(s)' \
|
||||
)
|
||||
_describe -t commands 'bevy run commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__run__help_commands] )) ||
|
||||
_bevy__run__help_commands() {
|
||||
local commands; commands=(
|
||||
'web:Run your app in the browser' \
|
||||
'help:Print this message or the help of the given subcommand(s)' \
|
||||
)
|
||||
_describe -t commands 'bevy run help commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__run__help__help_commands] )) ||
|
||||
_bevy__run__help__help_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy run help help commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__run__help__web_commands] )) ||
|
||||
_bevy__run__help__web_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy run help web commands' commands "$@"
|
||||
}
|
||||
(( $+functions[_bevy__run__web_commands] )) ||
|
||||
_bevy__run__web_commands() {
|
||||
local commands; commands=()
|
||||
_describe -t commands 'bevy run web commands' commands "$@"
|
||||
}
|
||||
|
||||
if [ "$funcstack[1]" = "_bevy" ]; then
|
||||
_bevy "$@"
|
||||
else
|
||||
compdef _bevy bevy
|
||||
fi
|
||||
0
local/bin/swap-wallpaper
Normal file → Executable file
0
local/bin/swap-wallpaper
Normal file → Executable file
Loading…
Reference in New Issue
Block a user