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"
|
||||
|
||||
@ -71,8 +71,8 @@ depends = [ "shell" ]
|
||||
depends = [ "torrent", "zathura", "email" ]
|
||||
|
||||
[misc.files]
|
||||
"config/batrc" = "~/.config/bat/config"
|
||||
"config/tmThemes/" = "~/.config/silicon/themes/"
|
||||
"config/bat/" = "~/.config/bat/"
|
||||
"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/"
|
||||
@ -178,9 +179,12 @@ depends = [ "zsh", "tmux", "fish" ]
|
||||
[dev.files]
|
||||
"config/sqruff/" = "~/.config/sqruff/"
|
||||
"config/asm-lsp/" = "~/.config/asm-lsp/"
|
||||
"config/containers/" = "~/.config/containers/"
|
||||
|
||||
|
||||
[apps.files]
|
||||
"config/Vencord/" = "~/.config/Vencord/"
|
||||
"config/obs-studio/" = "~/.config/obs-studio/"
|
||||
|
||||
[gtk.files]
|
||||
"config/gtk-3.0/" = "~/.config/gtk-3.0/"
|
||||
|
||||
@ -3,10 +3,7 @@
|
||||
"autoUpdate": true,
|
||||
"autoUpdateNotification": true,
|
||||
"useQuickCss": true,
|
||||
"themeLinks": [
|
||||
"@dark https://raw.githubusercontent.com/rose-pine/discord/refs/heads/main/dist/rose-pine.css",
|
||||
"@light https://raw.githubusercontent.com/rose-pine/discord/refs/heads/main/dist/rose-pine-moon.css"
|
||||
],
|
||||
"themeLinks": [],
|
||||
"enableReactDevtools": true,
|
||||
"frameless": true,
|
||||
"transparent": true,
|
||||
@ -127,7 +124,8 @@
|
||||
"MemberCount": {
|
||||
"enabled": true,
|
||||
"memberList": true,
|
||||
"toolTip": true
|
||||
"toolTip": true,
|
||||
"voiceActivity": true
|
||||
},
|
||||
"MessageLinkEmbeds": {
|
||||
"enabled": true,
|
||||
@ -353,7 +351,9 @@
|
||||
"enabled": true
|
||||
},
|
||||
"QuickReply": {
|
||||
"enabled": true
|
||||
"enabled": true,
|
||||
"ignoreBlockedAndIgnored": true,
|
||||
"shouldMention": 2
|
||||
},
|
||||
"ReadAllNotificationsButton": {
|
||||
"enabled": true
|
||||
@ -410,7 +410,8 @@
|
||||
},
|
||||
"GameActivityToggle": {
|
||||
"enabled": true,
|
||||
"oldIcon": false
|
||||
"oldIcon": false,
|
||||
"location": "PANEL"
|
||||
},
|
||||
"GifPaste": {
|
||||
"enabled": true
|
||||
@ -420,7 +421,7 @@
|
||||
"saveZoomValues": true,
|
||||
"preventCarouselFromClosingOnClick": true,
|
||||
"invertScroll": true,
|
||||
"zoom": 2.2,
|
||||
"zoom": 2.8,
|
||||
"size": 300,
|
||||
"zoomSpeed": 0.5,
|
||||
"nearestNeighbour": false,
|
||||
@ -674,7 +675,8 @@
|
||||
"BetterSettings": {
|
||||
"enabled": true,
|
||||
"disableFade": true,
|
||||
"eagerLoad": true
|
||||
"eagerLoad": true,
|
||||
"organizeMenu": true
|
||||
},
|
||||
"FriendsSince": {
|
||||
"enabled": true
|
||||
@ -716,7 +718,8 @@
|
||||
"enabled": true,
|
||||
"latency": 2,
|
||||
"detectDiscordKotlin": true,
|
||||
"showMillis": false
|
||||
"showMillis": false,
|
||||
"ignoreSelf": false
|
||||
},
|
||||
"NoServerEmojis": {
|
||||
"enabled": false
|
||||
@ -850,6 +853,18 @@
|
||||
},
|
||||
"ExpressionCloner": {
|
||||
"enabled": true
|
||||
},
|
||||
"CopyStickerLinks": {
|
||||
"enabled": false
|
||||
},
|
||||
"ImageFilename": {
|
||||
"enabled": false
|
||||
},
|
||||
"DisableDeepLinks": {
|
||||
"enabled": true
|
||||
},
|
||||
"AutoDNDWhilePlaying": {
|
||||
"enabled": false
|
||||
}
|
||||
},
|
||||
"notifications": {
|
||||
@ -864,8 +879,12 @@
|
||||
"authenticated": true,
|
||||
"url": "https://api.vencord.dev/",
|
||||
"settingsSync": true,
|
||||
"settingsSyncVersion": 1754940454935
|
||||
"settingsSyncVersion": 1765994185131
|
||||
},
|
||||
"enabledThemes": [],
|
||||
"eagerPatches": false
|
||||
"eagerPatches": false,
|
||||
"uiElements": {
|
||||
"chatBarButtons": {},
|
||||
"messagePopoverButtons": {}
|
||||
}
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
[default_config]
|
||||
version = "0.10.0"
|
||||
assembler = "gas"
|
||||
instruction_set = "riscv"
|
||||
instruction_set = "arm"
|
||||
|
||||
[default_config.opts]
|
||||
# compiler = "zig"
|
||||
|
||||
1
config/bat/themes
Symbolic link
1
config/bat/themes
Symbolic link
@ -0,0 +1 @@
|
||||
../tmThemes/
|
||||
@ -57,7 +57,7 @@ update_ms = 1000
|
||||
|
||||
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
|
||||
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
|
||||
proc_sorting = "memory"
|
||||
proc_sorting = "cpu direct"
|
||||
|
||||
#* Reverse sorting order, True or False.
|
||||
proc_reversed = False
|
||||
|
||||
10
config/containers/containers.toml
Normal file
10
config/containers/containers.toml
Normal file
@ -0,0 +1,10 @@
|
||||
[engine]
|
||||
cgroup_manager = "cgroupfs"
|
||||
events_logger = "file"
|
||||
runtime = "crun"
|
||||
|
||||
[network]
|
||||
network_backend = "cni"
|
||||
|
||||
[storage]
|
||||
driver = "overlay"
|
||||
@ -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
|
||||
|
||||
@ -1,19 +1,15 @@
|
||||
# Source startup file
|
||||
# if test -f "$XDG_CONFIG_HOME/zsh/startup"
|
||||
# source "$XDG_CONFIG_HOME/zsh/startup"
|
||||
# end
|
||||
#!/usr/bin/env fish
|
||||
|
||||
|
||||
# Starship prompt
|
||||
starship init fish | source
|
||||
zoxide init fish | source
|
||||
|
||||
# Aliases
|
||||
if test -f "$XDG_CONFIG_HOME/fish/alias.fish"
|
||||
source "$XDG_CONFIG_HOME/fish/alias.fish"
|
||||
end
|
||||
set -g fish_history_size 1000000
|
||||
|
||||
# Environment variables
|
||||
set -x KEYTIMEOUT 1
|
||||
set -gx fish_complete_path "$XDG_CONFIG_HOME/fish/completions" $fish_complete_path
|
||||
|
||||
# fzf configuration
|
||||
set -gx FZF_DEFAULT_OPTS "--height 40% --layout=reverse --border"
|
||||
set -gx FZF_DEFAULT_COMMAND "fd --type f"
|
||||
|
||||
# Functions
|
||||
function cd
|
||||
@ -54,4 +50,16 @@ 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
|
||||
#
|
||||
# # Environment setup
|
||||
# if test -f "$HOME/.local/share/bin/env"
|
||||
# source "$HOME/.local/share/bin/env"
|
||||
# end
|
||||
#
|
||||
# # Bun completions
|
||||
# if test -f "/home/kristofers/.bun/_bun"
|
||||
# source "/home/kristofers/.bun/_bun"
|
||||
# end
|
||||
|
||||
@ -12,3 +12,4 @@ squareMagnifier=true
|
||||
uiColor=#ffffff
|
||||
uploadHistoryMax=25
|
||||
useJpgForClipboard=true
|
||||
useGrimAdapter=true
|
||||
|
||||
@ -1 +0,0 @@
|
||||
../../local/share/themes/rose-pine-gtk/gtk-3.0/dist/gtk-dark.css
|
||||
@ -1 +0,0 @@
|
||||
../../local/share/themes/rose-pine-gtk/gtk-3.0/dist/gtk.css
|
||||
1
config/gtk-3.0/gtk.css
Normal file
1
config/gtk-3.0/gtk.css
Normal file
@ -0,0 +1 @@
|
||||
@import url("resource:///org/numixproject/gtk/dist/gtk.css");
|
||||
@ -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
|
||||
|
||||
@ -1 +0,0 @@
|
||||
../../local/share/themes/gtk4/gtk4/rose-pine.css
|
||||
@ -1,4 +1,3 @@
|
||||
|
||||
@define-color accent_bg_color #c4a7e7;
|
||||
@define-color accent_fg_color #191724;
|
||||
@define-color accent_color #c4a7e7;
|
||||
@ -30,7 +29,6 @@
|
||||
@define-color headerbar_backdrop_color @window_bg_color;
|
||||
@define-color headerbar_shade_color #191724;
|
||||
|
||||
|
||||
@define-color card_bg_color #1f1d2e;
|
||||
@define-color card_fg_color #e0def4;
|
||||
@define-color card_shade_color #1f1d2e;
|
||||
@ -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.
|
||||
@ -286,13 +292,10 @@ 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-pulse"
|
||||
spawn-at-startup "wireplumber"
|
||||
spawn-at-startup "waybar"
|
||||
// spawn-at-startup "eww" "daemon"
|
||||
// spawn-at-startup "eww" "open bar"
|
||||
spawn-at-startup "mako"
|
||||
// spawn-at-startup "dbus-update-activation-environment" "WAYLAND_DISPLAY" "XDG_CURRENT_DESKTOP" "DISPLAY" "XAUTHORITY"
|
||||
spawn-at-startup "nextcloud"
|
||||
@ -300,7 +303,7 @@ spawn-at-startup "nextcloud"
|
||||
spawn-at-startup "xrdb" "~/.config/x11/xresources"
|
||||
spawn-at-startup "transmission-daemon"
|
||||
spawn-at-startup "{{browser}}"
|
||||
spawn-at-startup "kotatogram-desktop"
|
||||
spawn-at-startup "flatpak" "run" "com.ayugram.desktop"
|
||||
spawn-at-startup "vesktop"
|
||||
spawn-at-startup "swap-wallpaper"
|
||||
|
||||
@ -383,17 +386,19 @@ window-rule {
|
||||
window-rule {
|
||||
match at-startup=true app-id="floorp"
|
||||
open-maximized true
|
||||
open-on-workspace "browser"
|
||||
open-on-workspace "1"
|
||||
}
|
||||
|
||||
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"
|
||||
open-on-workspace "8"
|
||||
opacity 0.95
|
||||
}
|
||||
|
||||
@ -541,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; }
|
||||
|
||||
1
config/obs-studio
Submodule
1
config/obs-studio
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit b48939f1fa01687094c86a443a9372c0351f79b4
|
||||
@ -11,6 +11,7 @@ alias \
|
||||
mkdir="mkdir -pv" \
|
||||
mv="mv -iv" \
|
||||
nsxiv="nsxiv -a" \
|
||||
img="oculante" \
|
||||
rm="rm -vI" \
|
||||
wget="wget --hsts-file=$XDG_DATA_HOME/wget-hsts" \
|
||||
keychain="keychain --dir $XDG_RUNTIME_DIR/keychain"
|
||||
@ -20,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,11 +6,21 @@ 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"
|
||||
|
||||
# Disable files
|
||||
export LESSHISTFILE=-
|
||||
@ -25,20 +35,15 @@ unsetopt PROMPT_SP
|
||||
# Default Apps
|
||||
export BROWSER="floorp"
|
||||
export EDITOR="nvim"
|
||||
export IMAGE="nsxiv"
|
||||
export IMAGE="oculante"
|
||||
export READER="zathura"
|
||||
export TERMINAL="{{terminal}}"
|
||||
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"
|
||||
|
||||
@ -114,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"
|
||||
|
||||
@ -12,7 +12,8 @@
|
||||
"spacing": 0, // Gaps between modules (4px)
|
||||
// Choose the order of the modules
|
||||
"modules-left": [
|
||||
"wlr/taskbar"
|
||||
// "wlr/taskbar"
|
||||
"cffi/niri-taskbar"
|
||||
],
|
||||
"modules-center": [],
|
||||
"modules-right": [
|
||||
@ -22,7 +23,7 @@
|
||||
"memory",
|
||||
"battery",
|
||||
// "pulseaudio"
|
||||
"custom/waybar-media",
|
||||
// "custom/waybar-media",
|
||||
"clock"
|
||||
],
|
||||
// "modules-right": ["cpu", "memory", "battery", "network", "tray"],
|
||||
@ -49,6 +50,16 @@
|
||||
"on-click": "niri msg action quit"
|
||||
},
|
||||
"wlr/taskbar": {
|
||||
// "all-outputs": true,
|
||||
"format": "{title} | {app_id}",
|
||||
// "format": "{icon}",
|
||||
"tooltip-format": "{title} | {app_id}",
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
"on-click-right": "fullscreen"
|
||||
},
|
||||
"cffi/niri-taskbar": {
|
||||
"module_path": "/usr/lib/waybar/libniri_taskbar.so",
|
||||
// "all-outputs": true,
|
||||
// "format": "{icon} {title} {app_id}",
|
||||
"format": "{icon}",
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
Helvetica,
|
||||
Arial,
|
||||
sans-serif;
|
||||
font-size: 14px;
|
||||
font-size: {{waybar_font_size}};
|
||||
/* font-feature-settings: "tnum"; */
|
||||
color: @text;
|
||||
background: @base-transparent;
|
||||
@ -112,12 +112,12 @@ button:hover {
|
||||
}
|
||||
|
||||
/* If workspaces is the leftmost module, omit left margin */
|
||||
.modules-left > widget:first-child > #workspaces {
|
||||
.modules-left>widget:first-child>#workspaces {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* If workspaces is the rightmost module, omit right margin */
|
||||
.modules-right > widget:last-child > #workspaces {
|
||||
.modules-right>widget:last-child>#workspaces {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
@ -274,11 +274,11 @@ label:focus {
|
||||
/* background-color: #2980b9; */
|
||||
}
|
||||
|
||||
#tray > .passive {
|
||||
#tray>.passive {
|
||||
-gtk-icon-effect: dim;
|
||||
}
|
||||
|
||||
#tray > .needs-attention {
|
||||
#tray>.needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
@ -325,11 +325,11 @@ label:focus {
|
||||
min-width: 16px;
|
||||
}
|
||||
|
||||
#keyboard-state > label {
|
||||
#keyboard-state>label {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
#keyboard-state > label.locked {
|
||||
#keyboard-state>label.locked {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
|
||||
@ -1,157 +0,0 @@
|
||||
* {
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-family:
|
||||
JetBrains Mono NF,
|
||||
FontAwesome,
|
||||
Roboto,
|
||||
Helvetica,
|
||||
Arial,
|
||||
sans-serif;
|
||||
font-size: 13px;
|
||||
color: #c0caf5;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
border-top: 3px solid transparent;
|
||||
color: #c0caf5;
|
||||
transition-property: background-color;
|
||||
transition-duration: 0.5s;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#window {
|
||||
border-radius: 20px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
window#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
window#waybar.chromium {
|
||||
background-color: #000;
|
||||
border: none;
|
||||
}
|
||||
|
||||
button {
|
||||
/* Use box-shadow instead of border so the text isn't offset */
|
||||
box-shadow: inset 0 3px transparent;
|
||||
/* Avoid rounded borders under each button name */
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||
button:hover {
|
||||
background: inherit;
|
||||
box-shadow: inset 0 3px #c0caf5;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
color: #c0caf5;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
box-shadow: inset 0 3px #c0caf5;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #db4b4b;
|
||||
}
|
||||
|
||||
#mode {
|
||||
border-bottom: 3px solid #c0caf5;
|
||||
}
|
||||
|
||||
#clock,
|
||||
#battery,
|
||||
#cpu,
|
||||
#memory,
|
||||
#disk,
|
||||
#temperature,
|
||||
#backlight,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#custom-media,
|
||||
#tray,
|
||||
#mode,
|
||||
#idle_inhibitor,
|
||||
#scratchpad,
|
||||
#mpd,
|
||||
#custom-wireguard,
|
||||
#custom-github,
|
||||
#custom-dunst {
|
||||
padding: 0 10px;
|
||||
font-weight: bold;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#custom-pipewire.muted {
|
||||
color: #414868;
|
||||
}
|
||||
|
||||
#window,
|
||||
#workspaces {
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
/* If workspaces is the leftmost module, omit left margin */
|
||||
.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;
|
||||
}
|
||||
|
||||
#battery.charging,
|
||||
#battery.plugged {
|
||||
color: #1abc9c;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
color: #c0caf5;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
color: #e0af68;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
color: #db4b4b;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
color: #414868;
|
||||
}
|
||||
|
||||
#custom-media {
|
||||
color: #41a6b5;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
color: #db4b4b;
|
||||
}
|
||||
|
||||
#tray>.passive {
|
||||
-gtk-icon-effect: dim;
|
||||
}
|
||||
|
||||
#tray>.needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
}
|
||||
|
||||
#network.disconnected {
|
||||
color: #db4b4b;
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
autostart="picom nextcloud transmission-daemon discord syncthing mullvad-vpn spotify-launcher kotatogram-desktop floorp"
|
||||
autostart="picom nextcloud transmission-daemon discord syncthing mullvad-vpn spotify-launcher AyuGram floorp"
|
||||
|
||||
for program in $autostart; do
|
||||
pidof -sx "$program" || "$program" &
|
||||
|
||||
@ -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
|
||||
@ -665,7 +665,6 @@ _bun_test_completion() {
|
||||
'--timeout[Set the per-test timeout in milliseconds, default is 5000.]:timeout' \
|
||||
'--update-snapshots[Update snapshot files]' \
|
||||
'--rerun-each[Re-run each test file <NUMBER> times, helps catch certain bugs]:rerun' \
|
||||
'--only[Only run tests that are marked with "test.only()"]' \
|
||||
'--todo[Include tests that are marked with "test.todo()"]' \
|
||||
'--coverage[Generate a coverage profile]' \
|
||||
'--bail[Exit the test suite after <NUMBER> failures. If you do not specify a number, it defaults to 1.]:bail' \
|
||||
|
||||
8
local/bin/podman-cleanup
Executable file
8
local/bin/podman-cleanup
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if command -v podman >/dev/null; then
|
||||
export XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR:-/run/user/$(id -u)}"
|
||||
podman --runtime-flag timeout=5s stop --all 2>/dev/null || true
|
||||
podman --runtime-flag timeout=5s rm --all --force 2>/dev/null || true
|
||||
rm -rf "${XDG_RUNTIME_DIR}/libpod" "${XDG_RUNTIME_DIR}/containers" 2>/dev/null || true
|
||||
fi
|
||||
2
local/bin/swap-wallpaper
Normal file → Executable file
2
local/bin/swap-wallpaper
Normal file → Executable file
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
WALLPAPER_DIR="$HOME/Pictures/wallpapers/PoE2/3880x2160/"
|
||||
WALLPAPER_DIR="$HOME/Pictures/wallpapers/Linux-Dynamic-Wallpapers/"
|
||||
|
||||
if pgrep -x "Hyprland" >/dev/null; then
|
||||
CURRENT_WALL=$(hyprctl hyprpaper listloaded)
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Image viewer
|
||||
Exec=/usr/bin/nsxiv -aio %f
|
||||
# Exec=/usr/bin/nsxiv -aio %f
|
||||
Exec=/usr/bin/oculante %f
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,43 +0,0 @@
|
||||
|
||||
@define-color accent_bg_color #907aa9;
|
||||
@define-color accent_fg_color #faf4ed;
|
||||
@define-color accent_color #907aa9;
|
||||
|
||||
@define-color destructive_bg_color #b4637a;
|
||||
@define-color destructive_fg_color #faf4ed;
|
||||
@define-color destructive_color #b4637a;
|
||||
|
||||
@define-color success_bg_color #56949f;
|
||||
@define-color success_fg_color #575279;
|
||||
@define-color success_color #56949f;
|
||||
|
||||
@define-color warning_bg_color #ea9d34;
|
||||
@define-color warning_fg_color #575279;
|
||||
@define-color warning_color #ea9d34;
|
||||
|
||||
@define-color error_bg_color #b4637a;
|
||||
@define-color error_fg_color #575279;
|
||||
@define-color error_color #b4637a;
|
||||
|
||||
@define-color window_bg_color #faf4ed;
|
||||
@define-color window_fg_color #575279;
|
||||
|
||||
@define-color view_bg_color #f2e9e1;
|
||||
@define-color view_fg_color #575279;
|
||||
|
||||
@define-color headerbar_bg_color #faf4ed;
|
||||
@define-color headerbar_fg_color #575279;
|
||||
@define-color headerbar_backdrop_color @window_bg_color;
|
||||
@define-color headerbar_shade_color #faf4ed;
|
||||
|
||||
|
||||
@define-color card_bg_color #fffaf3;
|
||||
@define-color card_fg_color #575279;
|
||||
@define-color card_shade_color #fffaf3;
|
||||
|
||||
@define-color popover_bg_color #f2e9e1;
|
||||
@define-color popover_fg_color #575279;
|
||||
|
||||
@define-color sidebar_backdrop_color #f2e9e1;
|
||||
@define-color sidebar_bg_color #f2e9e1;
|
||||
@define-color sidebar_fg_color #575279;
|
||||
@ -1,43 +0,0 @@
|
||||
|
||||
@define-color accent_bg_color #c4a7e7;
|
||||
@define-color accent_fg_color #232136;
|
||||
@define-color accent_color #c4a7e7;
|
||||
|
||||
@define-color destructive_bg_color #eb6f92;
|
||||
@define-color destructive_fg_color #232136;
|
||||
@define-color destructive_color #eb6f92;
|
||||
|
||||
@define-color success_bg_color #9ccfd8;
|
||||
@define-color success_fg_color #e0def4;
|
||||
@define-color success_color #9ccfd8;
|
||||
|
||||
@define-color warning_bg_color #f6c177;
|
||||
@define-color warning_fg_color #e0def4;
|
||||
@define-color warning_color #f6c177;
|
||||
|
||||
@define-color error_bg_color #eb6f92;
|
||||
@define-color error_fg_color #e0def4;
|
||||
@define-color error_color #eb6f92;
|
||||
|
||||
@define-color window_bg_color #232136;
|
||||
@define-color window_fg_color #e0def4;
|
||||
|
||||
@define-color view_bg_color #393552;
|
||||
@define-color view_fg_color #e0def4;
|
||||
|
||||
@define-color headerbar_bg_color #232136;
|
||||
@define-color headerbar_fg_color #e0def4;
|
||||
@define-color headerbar_backdrop_color @window_bg_color;
|
||||
@define-color headerbar_shade_color #232136;
|
||||
|
||||
|
||||
@define-color card_bg_color #2a273f;
|
||||
@define-color card_fg_color #e0def4;
|
||||
@define-color card_shade_color #2a273f;
|
||||
|
||||
@define-color popover_bg_color #393552;
|
||||
@define-color popover_fg_color #e0def4;
|
||||
|
||||
@define-color sidebar_backdrop_color #393552;
|
||||
@define-color sidebar_bg_color #393552;
|
||||
@define-color sidebar_fg_color #e0def4;
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
Before Width: | Height: | Size: 154 KiB |
@ -1,38 +0,0 @@
|
||||
checkbox-checked-dark
|
||||
checkbox-checked-insensitive-dark
|
||||
checkbox-checked-insensitive
|
||||
checkbox-checked
|
||||
checkbox-mixed-dark
|
||||
checkbox-mixed-insensitive-dark
|
||||
checkbox-mixed-insensitive
|
||||
checkbox-mixed
|
||||
checkbox-unchecked-dark
|
||||
checkbox-unchecked-insensitive-dark
|
||||
checkbox-unchecked-insensitive
|
||||
checkbox-unchecked
|
||||
grid-selection-checked-dark
|
||||
grid-selection-checked
|
||||
grid-selection-unchecked-dark
|
||||
grid-selection-unchecked
|
||||
menuitem-checkbox-checked-hover
|
||||
menuitem-checkbox-checked-insensitive
|
||||
menuitem-checkbox-checked
|
||||
menuitem-checkbox-mixed-hover
|
||||
menuitem-checkbox-mixed-insensitive
|
||||
menuitem-checkbox-mixed
|
||||
menuitem-radio-checked-hover
|
||||
menuitem-radio-checked-insensitive
|
||||
menuitem-radio-checked
|
||||
pane-handle
|
||||
radio-checked-dark
|
||||
radio-checked-insensitive-dark
|
||||
radio-checked-insensitive
|
||||
radio-checked
|
||||
radio-mixed-dark
|
||||
radio-mixed-insensitive-dark
|
||||
radio-mixed-insensitive
|
||||
radio-mixed
|
||||
radio-unchecked-dark
|
||||
radio-unchecked-insensitive-dark
|
||||
radio-unchecked-insensitive
|
||||
radio-unchecked
|
||||
@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
for f in "$@"; do
|
||||
rsvg-convert -d 300 -p 300 -f svg "$f" -o "${f}.bak" ; mv "${f}.bak" "$f"
|
||||
done
|
||||
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="133pt" height="133pt" viewBox="0 0 133 133" version="1.1">
|
||||
<g id="surface1">
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:#f0f0f3;fill-opacity:0.3;" d="M 97.101562 32.648438 C 94.074219 32.746094 91.046875 34.015625 88.898438 36.199219 L 55.304688 68.164062 L 43.816406 55.273438 C 39.714844 49.804688 30.730469 49.21875 25.976562 54.101562 C 21.222656 58.984375 21.875 68.164062 27.277344 72.265625 L 47.136719 93.621094 C 54.949219 101.433594 58.464844 100.390625 66.339844 92.480469 C 66.339844 92.480469 93.425781 59.894531 109.308594 48.894531 C 112.824219 45.574219 114.289062 44.628906 112.433594 40.136719 C 110.613281 35.613281 101.886719 32.488281 97.101562 32.648438 Z M 97.101562 32.648438 "/>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 851 B |
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="133pt" height="133pt" viewBox="0 0 133 133" version="1.1">
|
||||
<g id="surface1">
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:#c4a7e7;fill-opacity:1;" d="M 97.101562 32.648438 C 94.074219 32.746094 91.046875 34.015625 88.898438 36.199219 L 55.304688 68.164062 L 43.816406 55.273438 C 39.714844 49.804688 30.730469 49.21875 25.976562 54.101562 C 21.222656 58.984375 21.875 68.164062 27.277344 72.265625 L 47.136719 93.621094 C 54.949219 101.433594 58.464844 100.390625 66.339844 92.480469 C 66.339844 92.480469 93.425781 59.894531 109.308594 48.894531 C 112.824219 45.574219 114.289062 44.628906 112.433594 40.136719 C 110.613281 35.613281 101.886719 32.488281 97.101562 32.648438 Z M 97.101562 32.648438 "/>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 849 B |
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="133pt" height="133pt" viewBox="0 0 133 133" version="1.1">
|
||||
<g id="surface1">
|
||||
<path style=" stroke:none;fill-rule:nonzero;fill:#f0f0f3;fill-opacity:0.3;" d="M 33.332031 58.332031 L 100 58.332031 L 100 75 L 33.332031 75 Z M 33.332031 58.332031 "/>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 387 B |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user