Compare commits
No commits in common. "03cbb41004ced3bd0e01b3f82ef0d4d031bf8f38" and "1ed9e44ffa92a878f80e4756c4d56c8e69ff0d8e" have entirely different histories.
03cbb41004
...
1ed9e44ffa
8 changed files with 54 additions and 140 deletions
|
|
@ -11,7 +11,6 @@ PKG_TSV_FILE=${PKG_TSV_FILE:-bootstrap/packages_stable.tsv}
|
||||||
packages_repo="${BOOTSTRAP_PACKAGES:-$(grep -e ' R ' "$PKG_TSV_FILE" | cut -f1 -d' ')}"
|
packages_repo="${BOOTSTRAP_PACKAGES:-$(grep -e ' R ' "$PKG_TSV_FILE" | cut -f1 -d' ')}"
|
||||||
packages_aur="${BOOTSTRAP_PACKAGES_AUR:-$(grep -e ' A ' "$PKG_TSV_FILE" | cut -f1 -d' ')}"
|
packages_aur="${BOOTSTRAP_PACKAGES_AUR:-$(grep -e ' A ' "$PKG_TSV_FILE" | cut -f1 -d' ')}"
|
||||||
packages_pipx="${BOOTSTRAP_PACKAGES_PIPX:-$(grep -e ' P ' "$PKG_TSV_FILE" | cut -f1,5 -d' ')}"
|
packages_pipx="${BOOTSTRAP_PACKAGES_PIPX:-$(grep -e ' P ' "$PKG_TSV_FILE" | cut -f1,5 -d' ')}"
|
||||||
packages_uv="${BOOTSTRAP_PACKAGES_PIPX:-$(grep -e ' U ' "$PKG_TSV_FILE" | cut -f1,5 -d' ')}"
|
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
local cmd=""
|
local cmd=""
|
||||||
|
|
@ -19,7 +18,7 @@ main() {
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-v | --version)
|
-v | --version)
|
||||||
printf "Package bootstrap script.\n\n©Marty Oehme\n\nVersion: 0.4\n"
|
printf "Package bootstrap script.\n\n©Marty Oehme\n\nVersion: 0.3\n"
|
||||||
;;
|
;;
|
||||||
-h | --help)
|
-h | --help)
|
||||||
printf "Usage: install [-f|--force][-v|--version][-h|--help]\n\n-f Do not ask for any confirmations but force update and installation.\n"
|
printf "Usage: install [-f|--force][-v|--version][-h|--help]\n\n-f Do not ask for any confirmations but force update and installation.\n"
|
||||||
|
|
@ -73,14 +72,6 @@ install_packages() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# check if any packages in list
|
|
||||||
has_pkg() { # 1=variable containing packages
|
|
||||||
if [ -n "$1" ]; then
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
return 1
|
|
||||||
}
|
|
||||||
|
|
||||||
install_pipx() {
|
install_pipx() {
|
||||||
if type pipx >/dev/null 2>&1; then
|
if type pipx >/dev/null 2>&1; then
|
||||||
echo "Existing pipx installation found .........................................."
|
echo "Existing pipx installation found .........................................."
|
||||||
|
|
@ -93,18 +84,6 @@ install_pipx() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
install_uv() {
|
|
||||||
if type uv >/dev/null 2>&1; then
|
|
||||||
echo "Existing uv installation found .........................................."
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
if "$unattended"; then
|
|
||||||
paru -S --noconfirm uv
|
|
||||||
else
|
|
||||||
paru -S uv
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
install_pipx_pkgs() {
|
install_pipx_pkgs() {
|
||||||
while IFS= read -r line; do
|
while IFS= read -r line; do
|
||||||
if [ -z "$line" ]; then return; fi
|
if [ -z "$line" ]; then return; fi
|
||||||
|
|
@ -118,20 +97,6 @@ install_pipx_pkgs() {
|
||||||
done <<<"$packages_pipx"
|
done <<<"$packages_pipx"
|
||||||
}
|
}
|
||||||
|
|
||||||
install_uv_pkgs() {
|
|
||||||
while IFS= read -r line; do
|
|
||||||
if [ -z "$line" ]; then return; fi
|
|
||||||
prog=$(echo "$line" | cut -f1 -d' ')
|
|
||||||
injections=$(echo "$line" | cut -f2 -d' ')
|
|
||||||
|
|
||||||
cmd_with_args="uv tool install"
|
|
||||||
for inject_args in ${injections//,/ }; do
|
|
||||||
cmd_with_args+=" --with $inject_args"
|
|
||||||
done
|
|
||||||
$cmd_with_args "$prog"
|
|
||||||
done <<<"$packages_uv"
|
|
||||||
}
|
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
unattended=$1
|
unattended=$1
|
||||||
echo "Beginning package bootstrap ..............................................."
|
echo "Beginning package bootstrap ..............................................."
|
||||||
|
|
@ -140,20 +105,11 @@ install() {
|
||||||
echo "Installing apps ..........................................................."
|
echo "Installing apps ..........................................................."
|
||||||
update_repos "$unattended"
|
update_repos "$unattended"
|
||||||
install_packages "$unattended"
|
install_packages "$unattended"
|
||||||
|
echo "Done ......................................................................"
|
||||||
if has_pkg "$packages_pipx"; then
|
echo "Installing pipx ..........................................................."
|
||||||
echo "Installing pipx ..........................................................."
|
install_pipx
|
||||||
install_pipx
|
echo "Installing pipx packages .................................................."
|
||||||
echo "Installing pipx packages .................................................."
|
install_pipx_pkgs
|
||||||
install_pipx_pkgs
|
|
||||||
fi
|
|
||||||
|
|
||||||
if has_pkg "$packages_uv"; then
|
|
||||||
echo "Installing uv ..........................................................."
|
|
||||||
install_uv
|
|
||||||
echo "Installing uv packages .................................................."
|
|
||||||
install_uv_pkgs
|
|
||||||
fi
|
|
||||||
echo "Done ......................................................................"
|
echo "Done ......................................................................"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,10 +29,9 @@ bash-language-server Bash language server implementation based on Tree Sitter an
|
||||||
bat Cat clone with syntax highlighting and git integration R
|
bat Cat clone with syntax highlighting and git integration R
|
||||||
bats Bash Automated Testing System R
|
bats Bash Automated Testing System R
|
||||||
bc An arbitrary precision calculator language R
|
bc An arbitrary precision calculator language R
|
||||||
beancount A personal double entry accounting and budgeting software U git+https://github.com/bratekarate/beancount-categorizer.git,beancount-dkb,fava,git+https://github.com/andreasgerstmayr/fava-dashboards.git,python-magic,smart-importer,neovim
|
beancount A personal double entry accounting and budgeting software P git+https://github.com/bratekarate/beancount-categorizer.git,beancount-dkb,fava,python-magic,smart-importer
|
||||||
beanquery A customizable light-weight SQL query tool that works on tabular data, including Beancount U
|
|
||||||
bearssl Implementation of the SSL/TLS protocol (RFC 5246) written in C R
|
bearssl Implementation of the SSL/TLS protocol (RFC 5246) written in C R
|
||||||
beets Organize your music collection from the command line U beetcamp,beets-describe,beets-ydl,pyacoustid,pylast
|
beets Organize your music collection from the command line P beetcamp,deets-describe,beets-ydl,pyacoustid,pylast
|
||||||
bemenu-dmenu Symlink for using bemenu (native wayland support) as a drop-in replacement to dmenu A
|
bemenu-dmenu Symlink for using bemenu (native wayland support) as a drop-in replacement to dmenu A
|
||||||
bemoji Emoji picker that remembers your favorites A
|
bemoji Emoji picker that remembers your favorites A
|
||||||
bibclean BibTeX and Scribe bibliography prettyprinter and syntax checker A
|
bibclean BibTeX and Scribe bibliography prettyprinter and syntax checker A
|
||||||
|
|
@ -70,7 +69,7 @@ edir Program to rename, remove, and copy files and directories using your editor
|
||||||
efm-langserver General purpose Language Server A
|
efm-langserver General purpose Language Server A
|
||||||
enca Charset analyser and converter R
|
enca Charset analyser and converter R
|
||||||
entr Run arbitrary commands when files change R
|
entr Run arbitrary commands when files change R
|
||||||
euporie View and work with ipnb Python notebooks from the cli U
|
euporie View and work with ipnb Python notebooks from the cli P
|
||||||
exercism-bin Command line client for exercism.io A
|
exercism-bin Command line client for exercism.io A
|
||||||
exfat-utils Utilities for exFAT file system R
|
exfat-utils Utilities for exFAT file system R
|
||||||
eza A modern replacement for ls (community fork of exa) R
|
eza A modern replacement for ls (community fork of exa) R
|
||||||
|
|
@ -158,7 +157,7 @@ maim Utility to take a screenshot using imlib2 R
|
||||||
mako Lightweight notification daemon for Wayland R
|
mako Lightweight notification daemon for Wayland R
|
||||||
man-db A utility for reading man pages R
|
man-db A utility for reading man pages R
|
||||||
man-pages Linux man pages R
|
man-pages Linux man pages R
|
||||||
markdown-anki-decks Construct and modify anki decks directly with markdown U
|
markdown-anki-decks Construct and modify anki decks directly with markdown P
|
||||||
markdownlint-cli MarkdownLint Command Line Interface A
|
markdownlint-cli MarkdownLint Command Line Interface A
|
||||||
masterpdfeditor-free A complete solution for creation and editing PDF files - Free version without watermark A
|
masterpdfeditor-free A complete solution for creation and editing PDF files - Free version without watermark A
|
||||||
mbsync-git free (GPL) mailbox synchronization program A
|
mbsync-git free (GPL) mailbox synchronization program A
|
||||||
|
|
@ -209,7 +208,7 @@ offpunk Fork of the command-line Gemini client AV-98 with added offline capabili
|
||||||
oh-my-zsh-git A community-driven framework for managing your zsh configuration. Includes 180+ optional plugins and over 120 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community A
|
oh-my-zsh-git A community-driven framework for managing your zsh configuration. Includes 180+ optional plugins and over 120 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community A
|
||||||
os-prober Utility to detect other OSes on a set of drives R
|
os-prober Utility to detect other OSes on a set of drives R
|
||||||
pacman-contrib Contributed scripts and tools for pacman systems R
|
pacman-contrib Contributed scripts and tools for pacman systems R
|
||||||
papis Papis is a powerful and highly extensible command-line based document and bibliography manager. U whoosh,papis-zotero,papis-scihub,git+https://git.martyoeh.me/Marty/papis-extract.git,git+https://github.com/supersambo/papis-tui,pybtex-apa-style,git+https://git.martyoeh.me/Marty/papis-bbt-formatter.git
|
papis Papis is a powerful and highly extensible command-line based document and bibliography manager. P whoosh,papis-zotero,papis-scihub,git+https://git.martyoeh.me/Marty/papis-extract.git,git+https://github.com/supersambo/papis-tui,pybtex-apa-style,git+https://git.martyoeh.me/Marty/papis-bbt-formatter.git
|
||||||
parallel A shell tool for executing jobs in parallel R
|
parallel A shell tool for executing jobs in parallel R
|
||||||
parsec-bin Remotely connect to a gaming pc for a low latency remote computing experience A
|
parsec-bin Remotely connect to a gaming pc for a low latency remote computing experience A
|
||||||
paru-bin Feature packed AUR helper A
|
paru-bin Feature packed AUR helper A
|
||||||
|
|
@ -234,7 +233,7 @@ protonvpn Official ProtonVPN metapackage that installs protonvpn-gui and protonv
|
||||||
ptpython Python REPL build on top of prompt_toolkit A
|
ptpython Python REPL build on top of prompt_toolkit A
|
||||||
pulsemixer CLI and curses mixer for pulseaudio R
|
pulsemixer CLI and curses mixer for pulseaudio R
|
||||||
pup Command line tool for processing HTML A
|
pup Command line tool for processing HTML A
|
||||||
pv A terminal-based tool for monitoring the progress of data through a pipeline R
|
pv A terminal-based tool for monitoring the progress of data through a pipeline. R
|
||||||
pyright Type checker for the Python language R
|
pyright Type checker for the Python language R
|
||||||
python-adblock Brave's adblock library in Python R
|
python-adblock Brave's adblock library in Python R
|
||||||
python-dictcc commandline tool for dict.cc A
|
python-dictcc commandline tool for dict.cc A
|
||||||
|
|
@ -259,7 +258,6 @@ python-pyqt6-networkauth Python bindings for QtNetworkAuth R
|
||||||
python-readability-lxml Fast html to text parser (article readability tool) python library R
|
python-readability-lxml Fast html to text parser (article readability tool) python library R
|
||||||
python-slugify A Python slugify application that handles unicode R
|
python-slugify A Python slugify application that handles unicode R
|
||||||
python-tasklib Python library for interacting with taskwarrior databases R
|
python-tasklib Python library for interacting with taskwarrior databases R
|
||||||
python-tgpt Programmatic access to tgpt through python U
|
|
||||||
qemu-desktop A QEMU setup for desktop environments R
|
qemu-desktop A QEMU setup for desktop environments R
|
||||||
qt5-wayland Provides APIs for Wayland R
|
qt5-wayland Provides APIs for Wayland R
|
||||||
qt5-xmlpatterns Support for XPath, XQuery, XSLT and XML schema validation R
|
qt5-xmlpatterns Support for XPath, XQuery, XSLT and XML schema validation R
|
||||||
|
|
@ -313,7 +311,7 @@ tidy-viewer CLI csv pretty printer that uses column styling A
|
||||||
timew Timewarrior, A command line time tracking application R
|
timew Timewarrior, A command line time tracking application R
|
||||||
tinyxxd Standalone version of the hex dump utility that comes with ViM R
|
tinyxxd Standalone version of the hex dump utility that comes with ViM R
|
||||||
tlp Linux Advanced Power Management R
|
tlp Linux Advanced Power Management R
|
||||||
toilet Free replacement for the FIGlet utility R
|
toilet free replacement for the FIGlet utility. A
|
||||||
topgrade-bin Invoke the upgrade procedure of multiple package managers A
|
topgrade-bin Invoke the upgrade procedure of multiple package managers A
|
||||||
traceroute Tracks the route taken by packets over an IP network R
|
traceroute Tracks the route taken by packets over an IP network R
|
||||||
translate-shell A command-line interface and interactive shell for Google Translate R
|
translate-shell A command-line interface and interactive shell for Google Translate R
|
||||||
|
|
|
||||||
|
Can't render this file because it has a wrong number of fields in line 32.
|
|
|
@ -2,9 +2,15 @@ Name Description Source Target
|
||||||
adbfs-rootless-git fuse filesystem over adb tool for android devices, no device root required A
|
adbfs-rootless-git fuse filesystem over adb tool for android devices, no device root required A
|
||||||
arch-install-scripts Scripts to aid in installing Arch Linux R
|
arch-install-scripts Scripts to aid in installing Arch Linux R
|
||||||
blueberry Bluetooth configuration tool R
|
blueberry Bluetooth configuration tool R
|
||||||
|
dotter-rs-bin A dotfile manager and templater written in Rust A
|
||||||
|
eza A modern replacement for ls (community fork of exa) R
|
||||||
feishin-appimage A modern self-hosted music player. A
|
feishin-appimage A modern self-hosted music player. A
|
||||||
|
khal CLI calendar application built around CalDAV R
|
||||||
m4b-tool-bin A command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b A
|
m4b-tool-bin A command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b A
|
||||||
nodejs-markmap-cli Create markmaps (mindmaps from markdown) from CLI A
|
nodejs-markmap-cli Create markmaps (mindmaps from markdown) from CLI A
|
||||||
|
pv A terminal-based tool for monitoring the progress of data through a pipeline R
|
||||||
qpwgraph PipeWire Graph Qt GUI Interface R
|
qpwgraph PipeWire Graph Qt GUI Interface R
|
||||||
texlive-latexextra TeX Live - LaTeX additional packages R
|
texlive-latexextra TeX Live - LaTeX additional packages R
|
||||||
|
toilet Free replacement for the FIGlet utility R
|
||||||
|
vifm A file manager with curses interface, which provides Vi[m]-like environment R
|
||||||
woeusb-ng Simple tool that enable you to create your own usb stick with Windows installer. A
|
woeusb-ng Simple tool that enable you to create your own usb stick with Windows installer. A
|
||||||
|
|
|
||||||
|
|
|
@ -2,11 +2,10 @@
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"modules-left": ["river/tags", "custom/events", "custom/vidl", "river/window"],
|
"modules-left": ["river/tags", "custom/events", "custom/vidl", "river/window"],
|
||||||
"modules-center": ["clock", "custom/media"],
|
"modules-center": ["clock", "custom/media"],
|
||||||
"modules-right": ["river/mode", "custom/wireguard", "custom/archupdates", "pulseaudio", "backlight", "network", "cpu", "memory", "temperature", "tray", "battery"],
|
"modules-right": ["river/mode", "custom/wireguard", "custom/archupdates", "pulseaudio", "backlight", "network", "cpu", "memory", "temperature", "battery", "tray"],
|
||||||
"custom/archupdates": {
|
"custom/archupdates": {
|
||||||
"format": "{icon}",
|
"format": "{} {icon}",
|
||||||
"format-alt": "{} {icon}",
|
"format-alt-click": "right",
|
||||||
"format-alt-click": "click-right",
|
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"default": ""
|
"default": ""
|
||||||
},
|
},
|
||||||
|
|
@ -17,22 +16,17 @@
|
||||||
},
|
},
|
||||||
"backlight": {
|
"backlight": {
|
||||||
"device": "intel_backlight",
|
"device": "intel_backlight",
|
||||||
"format": "{icon}",
|
"format": "{percent}% {icon}",
|
||||||
"format-alt": "{percent}% {icon}",
|
"format-icons": ["滋", "", "", ""],
|
||||||
"format-alt-click": "click-right",
|
|
||||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
|
||||||
"tooltip-format": "{percent}% {icon}",
|
|
||||||
"on-scroll-up": "brightnessctl set 1%+",
|
"on-scroll-up": "brightnessctl set 1%+",
|
||||||
"on-scroll-down": "brightnessctl set 1%-"
|
"on-scroll-down": "brightnessctl set 1%-"
|
||||||
},
|
},
|
||||||
"battery": {
|
"battery": {
|
||||||
"format": "{icon}",
|
"format": "{capacity}% {icon}",
|
||||||
"format-warning": "{capacity}% {icon}",
|
"format-alt":"{capacity}% ({time}) {icon}",
|
||||||
"format-critical": "{capacity}% {icon}",
|
|
||||||
"format-alt":"{capacity}% {icon}",
|
|
||||||
"format-alt-click": "click-right",
|
"format-alt-click": "click-right",
|
||||||
"format-icons": ["", "", "", "", ""],
|
"format-icons": ["", "", "", "", ""],
|
||||||
"interval": 10,
|
"interval": 60,
|
||||||
"states": {
|
"states": {
|
||||||
"warning": 30,
|
"warning": 30,
|
||||||
"critical": 15
|
"critical": 15
|
||||||
|
|
@ -45,15 +39,14 @@
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"interval": 10,
|
"interval": 10,
|
||||||
"format": "",
|
"format": "{usage}% ",
|
||||||
"format-alt": "{usage}% ",
|
|
||||||
"format-alt-click": "click-right",
|
|
||||||
"max-length": 10,
|
"max-length": 10,
|
||||||
"states": {
|
"states": {
|
||||||
"warning": 50,
|
"warning": 50,
|
||||||
"critical": 80
|
"critical": 80
|
||||||
},
|
},
|
||||||
"on-click": "$TERMINAL start --class float htop"
|
"on-click": "$TERMINAL start --class float top",
|
||||||
|
"on-click-right": "$TERMINAL start --class float glances"
|
||||||
},
|
},
|
||||||
"custom/events": {
|
"custom/events": {
|
||||||
"exec-if": "command -v khal >/dev/null 2>&1",
|
"exec-if": "command -v khal >/dev/null 2>&1",
|
||||||
|
|
@ -61,7 +54,7 @@
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"interval": 300,
|
"interval": 300,
|
||||||
"on-click": "$TERMINAL start --class float ikhal",
|
"on-click": "$TERMINAL start --class float ikhal",
|
||||||
"format": "{icon}{0}", // issue tracked here https://github.com/Alexays/Waybar/issues/3623
|
"format": "{icon}{}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"event": " ",
|
"event": " ",
|
||||||
"no-event": "",
|
"no-event": "",
|
||||||
|
|
@ -69,12 +62,9 @@
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"interval": 30,
|
"interval": 30,
|
||||||
"format": "{icon}",
|
"format": "{avail:0.1f}G ",
|
||||||
"format-alt": "{used:0.1f}G/{total:0.1f}G ",
|
"format-alt": "{used:0.1f}G/{total:0.1f}G ",
|
||||||
"format-alt-click": "click-right",
|
"format-alt-click": "click-right",
|
||||||
"tooltip": true,
|
|
||||||
"tooltip-format": "{used:0.1f}G/{total:0.1f}G \nUsed: {percentage} %\nSwap: {swapPercentage} %",
|
|
||||||
"format-icons": ["", "", "", "", "", "", "", ""],
|
|
||||||
"max-length": 10
|
"max-length": 10
|
||||||
},
|
},
|
||||||
"mpd": {
|
"mpd": {
|
||||||
|
|
@ -103,7 +93,7 @@
|
||||||
},
|
},
|
||||||
"custom/media": {
|
"custom/media": {
|
||||||
"format": "{icon}{}",
|
"format": "{icon}{}",
|
||||||
"format-alt-click": "click-right",
|
"format-alt-click": "right",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"Playing": " ",
|
"Playing": " ",
|
||||||
|
|
@ -118,11 +108,11 @@
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
"format": "{ifname}",
|
"format": "{ifname}",
|
||||||
"format-wifi": "",
|
"format-wifi": "{signalStrength}% ",
|
||||||
"format-ethernet": " ",
|
"format-ethernet": "{ipaddr}/{cidr} ",
|
||||||
"format-disconnected": " ",
|
"format-disconnected": "",
|
||||||
"tooltip-format": "{ifname} via {gwaddr} ",
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||||
"tooltip-format-wifi": "{essid}: {bandwidthDownBits}-{bandwidthUpBits} ({signalStrength}%) {ifname}",
|
"tooltip-format-wifi": "{essid}: {bandwidthDownBits}-{bandwidthUpBits} ({signalStrength}%) {ifname}",
|
||||||
"tooltip-format-ethernet": "{ifname} ",
|
"tooltip-format-ethernet": "{ifname} ",
|
||||||
"tooltip-format-disconnected": "Disconnected",
|
"tooltip-format-disconnected": "Disconnected",
|
||||||
"max-length": 50,
|
"max-length": 50,
|
||||||
|
|
@ -130,11 +120,9 @@
|
||||||
// "on-click-right": "sudo rfkill toggle wlan"
|
// "on-click-right": "sudo rfkill toggle wlan"
|
||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"format": "{icon}",
|
"format": "{volume}% {icon}",
|
||||||
"format-alt": "{volume}% {icon}",
|
|
||||||
"format-bluetooth": "{volume}% {icon} ",
|
"format-bluetooth": "{volume}% {icon} ",
|
||||||
"format-alt-click": "click-right",
|
"format-muted": "",
|
||||||
"format-muted": "",
|
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"headphone": "",
|
"headphone": "",
|
||||||
"hands-free": "",
|
"hands-free": "",
|
||||||
|
|
@ -142,24 +130,22 @@
|
||||||
"phone": "",
|
"phone": "",
|
||||||
"portable": "",
|
"portable": "",
|
||||||
"car": "",
|
"car": "",
|
||||||
"default": ["", "", ""]
|
"default": ["", ""]
|
||||||
},
|
},
|
||||||
"scroll-step": 2,
|
"scroll-step": 1,
|
||||||
"on-click": "$TERMINAL start --class float pulsemixer",
|
"on-click": "$TERMINAL start --class float pulsemixer",
|
||||||
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +1%",
|
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +1%",
|
||||||
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -1%"
|
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -1%"
|
||||||
},
|
},
|
||||||
"river/tags": {
|
"river/tags": {
|
||||||
"num-tags": 10,
|
"num-tags": 10,
|
||||||
"tag-labels": [ "", "", "", "", "", "", "", "", "", "" ],
|
"tag-labels": [ "", "", "", "", "", "", "", "", "", "" ]
|
||||||
},
|
},
|
||||||
"river/mode": {
|
"river/mode": {
|
||||||
"format": "{} ",
|
"format": "{} ",
|
||||||
},
|
},
|
||||||
"river/window": {
|
"river/window": {
|
||||||
"format": " ",
|
"format": " {}",
|
||||||
"format-alt": " {}",
|
|
||||||
"format-alt-click": "click-right",
|
|
||||||
"max-length": 70
|
"max-length": 70
|
||||||
},
|
},
|
||||||
"temperature": {
|
"temperature": {
|
||||||
|
|
@ -167,9 +153,7 @@
|
||||||
"hwmon-path": "/sys/class/hwmon/hwmon5/temp1_input",
|
"hwmon-path": "/sys/class/hwmon/hwmon5/temp1_input",
|
||||||
"critical-threshold": 80,
|
"critical-threshold": 80,
|
||||||
// "format-critical": "{temperatureC}° ",
|
// "format-critical": "{temperatureC}° ",
|
||||||
"format": "",
|
"format": "{temperatureC}° ",
|
||||||
"format-alt": "{temperatureC}° ",
|
|
||||||
"format-alt-click": "click-right",
|
|
||||||
"on-click": "$TERMINAL start --class float watch sensors"
|
"on-click": "$TERMINAL start --class float watch sensors"
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
|
|
@ -188,20 +172,20 @@
|
||||||
"pia": "",
|
"pia": "",
|
||||||
"netbird": ""
|
"netbird": ""
|
||||||
},
|
},
|
||||||
"format-alt": "{} {icon}",
|
|
||||||
"format-alt-click": "click-right",
|
|
||||||
"exec": "~/.config/waybar/modules/wireguard json",
|
"exec": "~/.config/waybar/modules/wireguard json",
|
||||||
"exec-if": "command -v nmcli >/dev/null 2>&1",
|
"exec-if": "command -v nmcli >/dev/null 2>&1",
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"signal": 6,
|
"signal": 6,
|
||||||
"interval": 20,
|
"interval": 60,
|
||||||
},
|
},
|
||||||
"custom/vidl": {
|
"custom/vidl": {
|
||||||
"format": "",
|
"format": "{icon}{}",
|
||||||
"format-alt": " {}",
|
"format-alt-click": "right",
|
||||||
"format-alt-click": "click-right",
|
"format-icons": {
|
||||||
|
"default": " "
|
||||||
|
},
|
||||||
"exec": "wc -l ~/.local/share/vidl/vidl_queue | cut -d' ' -f1",
|
"exec": "wc -l ~/.local/share/vidl/vidl_queue | cut -d' ' -f1",
|
||||||
"exec-if": "[ $(vidl -p) = 'running' ] && [ $(vidl -P) -gt 0 ]",
|
"exec-if": "[ -f ~/.local/share/vidl/vidl_queue ]",
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"on-click": "$TERMINAL start --class float nvim ~/.local/share/vidl/vidl_queue"
|
"on-click": "$TERMINAL start --class float nvim ~/.local/share/vidl/vidl_queue"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -45,13 +45,6 @@ window#waybar.hidden {
|
||||||
color: @base0C;
|
color: @base0C;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* give coherent background */
|
|
||||||
.modules-right {
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
background-color: @base01;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock,
|
#clock,
|
||||||
#battery,
|
#battery,
|
||||||
#cpu,
|
#cpu,
|
||||||
|
|
@ -71,7 +64,7 @@ window#waybar.hidden {
|
||||||
#custom-events,
|
#custom-events,
|
||||||
#custom-vidl,
|
#custom-vidl,
|
||||||
#custom-media {
|
#custom-media {
|
||||||
padding: 0 5px;
|
padding: 0 10px;
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
color: @base05;
|
color: @base05;
|
||||||
background-color: @base01;
|
background-color: @base01;
|
||||||
|
|
@ -91,10 +84,6 @@ window#waybar.hidden {
|
||||||
background-color: @base02;
|
background-color: @base02;
|
||||||
}
|
}
|
||||||
|
|
||||||
#mode.interact_float {
|
|
||||||
background-color: @base0D;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Mark active output through highlighted window background */
|
/* Mark active output through highlighted window background */
|
||||||
#window {
|
#window {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@ local formatters = {
|
||||||
liquid = { "prettier" },
|
liquid = { "prettier" },
|
||||||
lua = { "stylua" },
|
lua = { "stylua" },
|
||||||
markdown = { "prettier", "injected" },
|
markdown = { "prettier", "injected" },
|
||||||
nim = { "nimpretty" },
|
|
||||||
python = { "ruff_fix", "ruff_format", "ruff_organize_imports" },
|
python = { "ruff_fix", "ruff_format", "ruff_organize_imports" },
|
||||||
quarto = { "prettier", "injected" },
|
quarto = { "prettier", "injected" },
|
||||||
sh = { "shfmt" },
|
sh = { "shfmt" },
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@ local servers = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
marksman = {},
|
marksman = {},
|
||||||
nim_langserver = {},
|
|
||||||
basedpyright = {},
|
basedpyright = {},
|
||||||
ruff = {},
|
ruff = {},
|
||||||
serve_d = {},
|
serve_d = {},
|
||||||
|
|
@ -288,7 +287,6 @@ return {
|
||||||
|
|
||||||
local python_path
|
local python_path
|
||||||
-- ensure python virtualenv is determined automatically on lsp start
|
-- ensure python virtualenv is determined automatically on lsp start
|
||||||
-- we primarily use pyright for cmp lsp completion & hover info
|
|
||||||
lspconfig.basedpyright.setup({
|
lspconfig.basedpyright.setup({
|
||||||
on_attach = function(client, bufnr)
|
on_attach = function(client, bufnr)
|
||||||
on_attach(client, bufnr)
|
on_attach(client, bufnr)
|
||||||
|
|
@ -301,13 +299,12 @@ return {
|
||||||
client.config.settings.python.pythonPath = python_path
|
client.config.settings.python.pythonPath = python_path
|
||||||
end,
|
end,
|
||||||
settings = {
|
settings = {
|
||||||
-- disable imports and linting since, using ruff for it
|
-- disable imports and linting since, we use ruff for that
|
||||||
pyright = {
|
pyright = {
|
||||||
disableOrganizeImports = true,
|
disableOrganizeImports = true,
|
||||||
},
|
},
|
||||||
python = {
|
python = {
|
||||||
analysis = {
|
analysis = {
|
||||||
-- ignore all files, use ruff for linting
|
|
||||||
ignore = { "*" },
|
ignore = { "*" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ Options:
|
||||||
|
|
||||||
urls=("$@")
|
urls=("$@")
|
||||||
|
|
||||||
while getopts "t:f:d:hcpP" opt; do
|
while getopts "t:f:d:hcp" opt; do
|
||||||
case "$opt" in
|
case "$opt" in
|
||||||
# v) verbose=1
|
# v) verbose=1
|
||||||
# ;;
|
# ;;
|
||||||
|
|
@ -50,9 +50,6 @@ while getopts "t:f:d:hcpP" opt; do
|
||||||
ONLY_DO=clear
|
ONLY_DO=clear
|
||||||
;;
|
;;
|
||||||
p)
|
p)
|
||||||
ONLY_DO=status
|
|
||||||
;;
|
|
||||||
P)
|
|
||||||
ONLY_DO=remaining
|
ONLY_DO=remaining
|
||||||
;;
|
;;
|
||||||
h | \? | *)
|
h | \? | *)
|
||||||
|
|
@ -158,7 +155,6 @@ is_in_queue() { # 1=url
|
||||||
}
|
}
|
||||||
|
|
||||||
add_to_queue() { # 1=url
|
add_to_queue() { # 1=url
|
||||||
|
|
||||||
if is_in_queue "$1"; then return; fi
|
if is_in_queue "$1"; then return; fi
|
||||||
echo "$1" >>"$queue_file"
|
echo "$1" >>"$queue_file"
|
||||||
echo "added $url to queue."
|
echo "added $url to queue."
|
||||||
|
|
@ -197,14 +193,6 @@ print_queue_remaining() {
|
||||||
wc -l "$queue_file" | cut -f1 -d' '
|
wc -l "$queue_file" | cut -f1 -d' '
|
||||||
}
|
}
|
||||||
|
|
||||||
print_status() {
|
|
||||||
if is_only_instance; then
|
|
||||||
printf "stopped\n"
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
printf "running\n"
|
|
||||||
}
|
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
setup
|
setup
|
||||||
if [ "$ONLY_DO" = "clear" ]; then
|
if [ "$ONLY_DO" = "clear" ]; then
|
||||||
|
|
@ -213,9 +201,6 @@ main() {
|
||||||
elif [ "$ONLY_DO" = "remaining" ]; then
|
elif [ "$ONLY_DO" = "remaining" ]; then
|
||||||
print_queue_remaining
|
print_queue_remaining
|
||||||
exit
|
exit
|
||||||
elif [ "$ONLY_DO" = "status" ]; then
|
|
||||||
print_status
|
|
||||||
exit
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for url in "$@"; do
|
for url in "$@"; do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue