hyprlock
@@ -27,3 +27,7 @@ diff <(command1) <(command2)
|
||||
|
||||
# To generate a patch file from two files:
|
||||
diff -Naur <file-1> <file-2> > <patch-file>
|
||||
|
||||
# site by side
|
||||
diffy -y
|
||||
sdiff
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
syntax: bash
|
||||
tags: [ iostat, monitoring ]
|
||||
tags: [ iostat, monitoring, hdd ]
|
||||
---
|
||||
explanation: for storage I/O statistics
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ bind = $mainMod SHIFT, E, exec, kitty -e yazi # Open yazi
|
||||
bind =$mainMod, SPACE, exec, walker # lunch rofi application menu
|
||||
# bind =$mainMod, SPACE, exec,rofi -show # lunch rofi application menu
|
||||
bind = $mainMod, l, exec, hyprlock # Screenlock
|
||||
bind = $mainMod, q, exec, copyq show # Clipboard
|
||||
bind = ,Print, exec, flameshot screen --path ~/Bilder/ # flameshot
|
||||
bind = ALT,Print, exec, flameshot gui --path ~/Bilder/ # flameshot area with default path
|
||||
bind = CTRL,Print, exec, flameshot gui # flameshot area
|
||||
@@ -25,7 +24,8 @@ bind = CTRL,Print, exec, flameshot gui # flameshot area
|
||||
# # Pin active window
|
||||
# bind = $mainMod_SHIFT, P, pin,
|
||||
# bind = $mainMod_CRTL, P, pin,
|
||||
bind = SUPER, V, exec, kitty --class clipse -e clipse
|
||||
# bind = SUPER, V, exec, kitty --class clipse -e clipse
|
||||
bind = SUPER, V, exec, clipse-gui
|
||||
|
||||
|
||||
# Media keys
|
||||
|
||||
@@ -94,3 +94,8 @@ windowrulev2 = immediate, title:^(TEKKEN™8)$
|
||||
# clipse clipboard
|
||||
windowrulev2 = float, class:(clipse)
|
||||
windowrulev2 = size 622 652, class:(clipse)
|
||||
windowrulev2 = size 600 800,title:(Clipse GUI)
|
||||
windowrulev2 = center, title:(Clipse GUI)
|
||||
windowrulev2 = float, title:(Clipse GUI)
|
||||
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 1.5 MiB |
@@ -1,208 +1,25 @@
|
||||
general { disable_loading_bar = false
|
||||
hide_cursor = true
|
||||
grace = 0
|
||||
no_fade_in = false
|
||||
}
|
||||
|
||||
background {
|
||||
monitor =
|
||||
path = $HOME/Bilder/Wallpaper_Wide/mountain_2.png
|
||||
# path = screenshot
|
||||
# color = $color7
|
||||
|
||||
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||
blur_size = 4
|
||||
blur_passes = 3 # 0 disables blurring
|
||||
noise = 0.0117
|
||||
contrast = 1.3000 # Vibrant!!!
|
||||
brightness = 0.8000
|
||||
vibrancy = 0.2100
|
||||
vibrancy_darkness = 0.0
|
||||
}
|
||||
|
||||
# Time Hour
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo -e "$(date +"%H")"
|
||||
color = rgba(186, 193, 191, 1)
|
||||
font_size = 150
|
||||
font_family = Monaspace Neon
|
||||
position = 0, -350
|
||||
halign = center
|
||||
valign = top
|
||||
shadow_passes = 1
|
||||
shadow_size = 4
|
||||
}
|
||||
|
||||
# Time Minutes
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo -e "$(date +"%M")"
|
||||
color = rgba(186, 193, 191, 1)
|
||||
font_size = 150
|
||||
font_family = Monaspace Neon
|
||||
position = 0, -500
|
||||
halign = center
|
||||
valign = top
|
||||
shadow_passes = 1
|
||||
shadow_size = 5
|
||||
}
|
||||
|
||||
# Date
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:120000] printf "<span font_weight='bold'>$(date +'%a %d %B %Y')</span>"
|
||||
color = $C_PRIMARY
|
||||
position = 0, -700
|
||||
font_size = 30
|
||||
font_family = Monaspace Neon
|
||||
halign = center
|
||||
valign = top
|
||||
shadow_passes = 1
|
||||
}
|
||||
|
||||
input-field {
|
||||
monitor =
|
||||
size = 300, 50
|
||||
outline_thickness = 3
|
||||
outer_color = rgb(151515)
|
||||
inner_color = rgb(200, 200, 200)
|
||||
font_color = rgb(10, 10, 10)
|
||||
fade_on_empty = true
|
||||
placeholder-text = <i>Input Password...</i>
|
||||
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> # can be set to empty
|
||||
fail_transition = 300 # transition time in ms between normal outer_color and fail_color
|
||||
capslock_color = -1
|
||||
numlock_color = -1
|
||||
|
||||
position = 0, -800
|
||||
halign = center
|
||||
valign = top
|
||||
}
|
||||
|
||||
# Music
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:500] echo ""
|
||||
color = rgb(200, 200, 200)
|
||||
position = 15, 0
|
||||
font_size = 16
|
||||
font_family = Noto Sans
|
||||
|
||||
valign = bottom
|
||||
halign = left
|
||||
|
||||
shadow_passes = 1
|
||||
}
|
||||
|
||||
# Battery
|
||||
#label {
|
||||
# monitor =
|
||||
# text = cmd[update:1000] echo " $(cat /sys/class/power_supply/BAT0/capacity)%"
|
||||
# color = $C_PRIMARY
|
||||
# position = -10, 0
|
||||
# font_size = 25
|
||||
# font_family = Noto Sans
|
||||
#
|
||||
# valign = top
|
||||
# halign = right
|
||||
#
|
||||
# shadow_passes = 1
|
||||
#}
|
||||
|
||||
# Logos in the corners cause why not
|
||||
#label {
|
||||
# monitor =
|
||||
# text = <span font_weight="ultrabold"> </span>
|
||||
# color = $C_PRIMARY
|
||||
# position = 5, -37
|
||||
# font_size = 25
|
||||
# font_family = Noto Sans
|
||||
#
|
||||
# valign = bottom
|
||||
# halign = right
|
||||
#}
|
||||
|
||||
#
|
||||
#image {
|
||||
# monitor = ${image.monitor}
|
||||
# path = ${image.path}
|
||||
# border_color = 0xffdddddd
|
||||
# border_size = 4
|
||||
# size = 150
|
||||
# position = 0, 200
|
||||
# halign = center
|
||||
# valign = center
|
||||
#}
|
||||
|
||||
# Uptime
|
||||
label {
|
||||
monitor =
|
||||
color = $C_PRIMARY
|
||||
text = cmd[update:1000] echo " $(uptime -p | sed -e 's/^up //' -e 's/,//' -e 's/hour/h/' -e 's/hours/h/' -e 's/minutes/min/' -e 's/ //1' -e's/ //2' )"
|
||||
|
||||
font_size = 14
|
||||
font_family = Monaspace Neon
|
||||
shadow_passes = 1
|
||||
|
||||
position = 1600, -700
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# WEATHER
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "$($HOME/.config/hypr/scripts/hyprlock/weather.sh)"
|
||||
color = rgba(255, 255, 255, 1)
|
||||
font_size = 14
|
||||
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
||||
position = 0, -5
|
||||
halign = center
|
||||
valign = top
|
||||
zindex = 5
|
||||
}
|
||||
|
||||
# Weather label (maybe without)
|
||||
# shape {
|
||||
# monitor =
|
||||
# size = 140, 70
|
||||
# color = rgba(200, 200, 200, 1.0)
|
||||
# rounding = 15
|
||||
# rotate = 0
|
||||
# position = 870, 480
|
||||
# halign = center
|
||||
# valign = center
|
||||
# xray = false
|
||||
# zindex = 1
|
||||
# }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#$hyprlockDir = $HOME/.config/hyprlock
|
||||
$hyprlockDir = $HOME/.config/hypr/hyprlock
|
||||
|
||||
# Source the colors from wallbash
|
||||
# See the file first to see the equivalent colors
|
||||
#https://github.com/mahaveergurjar/Hyprlock-Dots/tree/main
|
||||
#source = $hyprlockDir/colors.conf
|
||||
source = $hyprlockDir/colors.conf
|
||||
|
||||
# Script Path
|
||||
#$music = $hyprlockDir/scripts/playerctlock.sh
|
||||
#$album = $hyprlockDir/scripts/hlock_mpris.sh
|
||||
#$battery = $hyprlockDir/scripts/battery.sh
|
||||
#$location = $hyprlockDir/scripts/location.sh
|
||||
#$weather = $hyprlockDir/scripts/weather.sh
|
||||
$music = $hyprlockDir/scripts/playerctlock.sh
|
||||
$album = $hyprlockDir/scripts/hlock_mpris.sh
|
||||
$battery = $hyprlockDir/scripts/battery.sh
|
||||
$location = $hyprlockDir/scripts/location.sh
|
||||
$weather = $hyprlockDir/scripts/weather.sh
|
||||
|
||||
# source = $hyprlockDir/layouts/layout1.conf
|
||||
# source = $hyprlockDir/layouts/layout5.conf
|
||||
# source = $hyprlockDir/layouts/layout6.conf
|
||||
# source = $hyprlockDir/layouts/layout8.conf
|
||||
# source = $hyprlockDir/layouts/layout9.conf
|
||||
source = $hyprlockDir/layouts/layout9.conf
|
||||
# source = $hyprlockDir/layouts/layout10.conf
|
||||
# source = $hyprlockDir/layouts/layout11.conf
|
||||
#source = $hyprlockDir/layouts/layout11.conf
|
||||
#source = $hyprlockDir/layouts/layout12.conf
|
||||
#source = $hyprlockDir/layouts/layout13.conf
|
||||
|
||||
|
||||
|
||||
@@ -112,5 +112,6 @@ $primary_5_rgba = rgba(18,14,50,0.5) # primary color 1
|
||||
$primary_6_rgba = rgba(63,48,114,0.5) # primary color 2
|
||||
$primary_7_rgba = rgba(104,116,206,0.5) # primary color 3
|
||||
$primary_8_rgba = rgba(212,131,203,0.5) # primary color 4
|
||||
$primary_9_rgba = rgba(30, 30, 30,0.9l) # primary color 4
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
$wall = $HOME/.config/hyprlock/wallpapers/9.png
|
||||
# $wall = $HOME/.config/hyprlock/wallpapers/hyprlock.png
|
||||
$wall = $HOME/Bilder/Wallpaper_Wide/OWL.png
|
||||
$mpris_art = /tmp/hyde-mpris.png
|
||||
$artfile = /tmp/hyde-mpris-blurred.png
|
||||
source = $HOME/.config/hyprlock/fonts/SF Pro Display Bold
|
||||
# source = $HOME/.config/hyprlock/fonts/SF Pro Display Bold
|
||||
|
||||
|
||||
# BACKGROUND
|
||||
background {
|
||||
monitor =
|
||||
@@ -23,15 +26,15 @@ general {
|
||||
# Profie-Photo
|
||||
image {
|
||||
monitor =
|
||||
path = ~/.config/hyprlock/wallpapers/me.jpeg
|
||||
path = ~/.config/hypr//hyprlock/wallpapers/me.jpg
|
||||
border_size = 2
|
||||
border_color = $primary_3_rgba
|
||||
size = 100
|
||||
border_color = $primary_9_rgba
|
||||
size = 120
|
||||
rounding = -1
|
||||
rotate = 0
|
||||
reload_time = -1
|
||||
reload_cmd =
|
||||
position = 25, 170
|
||||
position = 25, 210
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
@@ -45,7 +48,7 @@ label {
|
||||
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
|
||||
dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_center = true
|
||||
font_size = 20
|
||||
font_size = 25
|
||||
font_family = SF Pro Display Bold
|
||||
position = 25, 80
|
||||
halign = center
|
||||
@@ -80,7 +83,7 @@ label {
|
||||
shape {
|
||||
monitor =
|
||||
size = 500, 500
|
||||
color = $primary_9_rgba
|
||||
color = $primary_9_rgba
|
||||
rounding = 30
|
||||
border_size = 0
|
||||
border_color = $primary_8_rgba
|
||||
@@ -123,6 +126,100 @@ label {
|
||||
valign = center
|
||||
}
|
||||
|
||||
# Music blur div
|
||||
shape {
|
||||
monitor =
|
||||
size = 500, 120
|
||||
color = $primary_7_rgba
|
||||
rounding = 20
|
||||
rotate = 0
|
||||
halign = center
|
||||
valign = center
|
||||
position=0,-35%
|
||||
zindex = 1
|
||||
}
|
||||
|
||||
# Music Album Art
|
||||
image {
|
||||
monitor =
|
||||
path = $mpris_art
|
||||
size = 150
|
||||
rounding = 5
|
||||
rotate = 0
|
||||
reload_time = 0
|
||||
reload_cmd =
|
||||
halign = center
|
||||
valign = center
|
||||
position = -45%, -40%
|
||||
zindex = 5
|
||||
}
|
||||
|
||||
# PLAYER TITLE
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "$($music --title)"
|
||||
color = rgba(255, 255, 255, 0.8)
|
||||
font_size = 12
|
||||
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
||||
halign = center
|
||||
valign = center
|
||||
position = -40%, -40%
|
||||
zindex = 5
|
||||
}
|
||||
|
||||
# PLAYER LENGTH
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] $music --length
|
||||
color = rgba(255, 255, 255, 1)
|
||||
font_size = 11
|
||||
font_family = JetBrains Mono Nerd Font Mono
|
||||
position = -45%, -530
|
||||
halign = right
|
||||
valign = center
|
||||
zindex = 5
|
||||
}
|
||||
|
||||
# PLAYER STATUS
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "$($music --status)"
|
||||
color = rgba(255, 255, 255, 1)
|
||||
font_size = 14
|
||||
font_family = JetBrains Mono Nerd Font Mono
|
||||
position = 20%, -510
|
||||
halign = right
|
||||
valign = center
|
||||
zindex = 5
|
||||
}
|
||||
|
||||
# PLAYER SOURCE
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "$($music --source)"
|
||||
color = rgba(255, 255, 255, 0.6)
|
||||
font_size = 10
|
||||
font_family = JetBrains Mono Nerd Font Mono
|
||||
position = 47%, -480
|
||||
halign = left
|
||||
valign = center
|
||||
zindex = 5
|
||||
}
|
||||
|
||||
# PLAYER ARTIST
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "$($music --artist)"
|
||||
color = rgba(255, 255, 255, 0.8)
|
||||
font_size = 10
|
||||
font_family = JetBrains Mono Nerd Font Mono ExtraBold
|
||||
position = 50%, -530
|
||||
halign = left
|
||||
valign = center
|
||||
zindex = 5
|
||||
}
|
||||
|
||||
|
||||
# INPUT FIELD
|
||||
input-field {
|
||||
monitor =
|
||||
@@ -141,4 +238,4 @@ input-field {
|
||||
position = 34, -268
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
$hyprlockDir = $HOME/.config/hyprlock
|
||||
|
||||
# Source the colors from wallbash
|
||||
# See the file first to see the equivalent colors
|
||||
source = $hyprlockDir/colors.conf
|
||||
|
||||
# Script Path
|
||||
$music = $hyprlockDir/scripts/playerctlock.sh
|
||||
$album = $hyprlockDir/scripts/hlock_mpris.sh
|
||||
$battery = $hyprlockDir/scripts/battery.sh
|
||||
$location = $hyprlockDir/scripts/location.sh
|
||||
$weather = $hyprlockDir/scripts/weather.sh
|
||||
|
||||
# source = $hyprlockDir/layouts/layout2.conf
|
||||
# source = $hyprlockDir/layouts/layout3.conf
|
||||
# source = $hyprlockDir/layouts/layout4.conf
|
||||
# source = $hyprlockDir/layouts/layout7.conf
|
||||
# source = $hyprlockDir/layouts/layout12.conf
|
||||
source = $hyprlockDir/layouts/layout14.conf
|
||||
@@ -4,85 +4,85 @@ THUMB=/tmp/hyde-mpris
|
||||
THUMB_BLURRED=/tmp/hyde-mpris-blurred
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "Usage: $0 --title | --arturl | --artist | --position | --length | --album | --source"
|
||||
exit 1
|
||||
echo "Usage: $0 --title | --arturl | --artist | --position | --length | --album | --source"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Function to get metadata using playerctl
|
||||
get_metadata() {
|
||||
key=$1
|
||||
playerctl metadata --format "{{ $key }}" 2>/dev/null
|
||||
|
||||
key=$1
|
||||
playerctl metadata --format "{{ $key }}" 2>/dev/null
|
||||
|
||||
}
|
||||
|
||||
# Function to determine the source and return an icon and text
|
||||
get_source_info() {
|
||||
trackid=$(get_metadata "mpris:trackid")
|
||||
if [[ "$trackid" == *"firefox"* ]]; then
|
||||
echo -e "Firefox "
|
||||
elif [[ "$trackid" == *"spotify"* ]]; then
|
||||
echo -e "Spotify "
|
||||
elif [[ "$trackid" == *"chromium"* ]]; then
|
||||
echo -e "Chrome "
|
||||
elif [[ "$trackid" == *"YoutubeMusic"* ]]; then
|
||||
echo -e "YouTubeMusic "
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
trackid=$(get_metadata "mpris:trackid")
|
||||
if [[ "$trackid" == *"Feishin"* ]]; then
|
||||
echo -e "Feishin "
|
||||
elif [[ "$trackid" == *"spotify"* ]]; then
|
||||
echo -e "Spotify "
|
||||
elif [[ "$trackid" == *"chromium"* ]]; then
|
||||
echo -e "Chrome "
|
||||
elif [[ "$trackid" == *"YoutubeMusic"* ]]; then
|
||||
echo -e "YouTubeMusic "
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
}
|
||||
|
||||
# Function to get position using playerctl
|
||||
get_position() {
|
||||
playerctl position 2>/dev/null
|
||||
playerctl position 2>/dev/null
|
||||
}
|
||||
|
||||
# Function to convert microseconds to minutes and seconds
|
||||
convert_length() {
|
||||
local length=$1
|
||||
local seconds=$((length / 1000000))
|
||||
local minutes=$((seconds / 60))
|
||||
local remaining_seconds=$((seconds % 60))
|
||||
printf "%d:%02d m" $minutes $remaining_seconds
|
||||
local length=$1
|
||||
local seconds=$((length / 1000000))
|
||||
local minutes=$((seconds / 60))
|
||||
local remaining_seconds=$((seconds % 60))
|
||||
printf "%d:%02d m" $minutes $remaining_seconds
|
||||
}
|
||||
|
||||
# Function to convert seconds to minutes and seconds
|
||||
convert_position() {
|
||||
local position=$1
|
||||
local seconds=${position%.*} # Remove fractional part if exists
|
||||
local minutes=$((seconds / 60))
|
||||
local remaining_seconds=$((seconds % 60))
|
||||
printf "%d:%02d" $minutes $remaining_seconds
|
||||
local position=$1
|
||||
local seconds=${position%.*} # Remove fractional part if exists
|
||||
local minutes=$((seconds / 60))
|
||||
local remaining_seconds=$((seconds % 60))
|
||||
printf "%d:%02d" $minutes $remaining_seconds
|
||||
}
|
||||
|
||||
PLAYER=$(playerctl -l | grep -E 'Feishin|spotify|brave' | head -n 1)
|
||||
# Function to fetch album art and create blurred version
|
||||
fetch_thumb() {
|
||||
artUrl=$(playerctl -p spotify metadata --format '{{mpris:artUrl}}')
|
||||
[[ "${artUrl}" = "$(cat "${THUMB}.inf")" ]] && return 0
|
||||
[[ -z "$PLAYER" ]] && echo "❌ No media player running (Feishin or Spotify)" && exit 1
|
||||
artUrl=$(playerctl -p "$PLAYER" metadata --format '{{mpris:artUrl}}')
|
||||
[[ "${artUrl}" = "$(cat "${THUMB}.inf")" ]] && return 0
|
||||
|
||||
printf "%s\n" "$artUrl" > "${THUMB}.inf"
|
||||
printf "%s\n" "$artUrl" >"${THUMB}.inf"
|
||||
|
||||
curl -so "${THUMB}.png" "$artUrl"
|
||||
magick "${THUMB}.png" -quality 50 "${THUMB}.png"
|
||||
# Create blurred version
|
||||
magick "${THUMB}.png" -blur 200x7 -resize 1920x^ -gravity center -extent 1920x1080\! "${THUMB_BLURRED}.png"
|
||||
curl -so "${THUMB}.png" "$artUrl"
|
||||
magick "${THUMB}.png" -quality 50 "${THUMB}.png"
|
||||
# Create blurred version
|
||||
magick "${THUMB}.png" -blur 200x7 -resize 1920x^ -gravity center -extent 1920x1080\! "${THUMB_BLURRED}.png"
|
||||
|
||||
pkill -USR2 hyprlock
|
||||
pkill -USR2 hyprlock
|
||||
}
|
||||
|
||||
# Run fetch_thumb function in the background
|
||||
{ fetch_thumb ;} || { rm -f "${THUMB}*" && exit 1;} &
|
||||
{ fetch_thumb; } || { rm -f "${THUMB}*" && exit 1; } &
|
||||
|
||||
# Parse the argument
|
||||
case "$1" in
|
||||
--title)
|
||||
title=$(get_metadata "xesam:title")
|
||||
if [ -z "$title" ]; then
|
||||
echo ""
|
||||
else
|
||||
echo "${title:0:50}" # Limit the output to 50 characters
|
||||
fi
|
||||
;;
|
||||
title=$(get_metadata "xesam:title")
|
||||
if [ -z "$title" ]; then
|
||||
echo ""
|
||||
else
|
||||
echo "${title:0:50}" # Limit the output to 50 characters
|
||||
fi
|
||||
;;
|
||||
# --arturl)
|
||||
# fetch_thumb & # Run fetch_thumb in the background
|
||||
# url=$(get_metadata "mpris:artUrl")
|
||||
@@ -91,60 +91,61 @@ case "$1" in
|
||||
# fi
|
||||
# ;;
|
||||
--artist)
|
||||
artist=$(get_metadata "xesam:artist")
|
||||
if [ -z "$artist" ]; then
|
||||
echo ""
|
||||
else
|
||||
echo "${artist:0:50}" # Limit the output to 50 characters
|
||||
fi
|
||||
;;
|
||||
artist=$(get_metadata "xesam:artist")
|
||||
if [ -z "$artist" ]; then
|
||||
echo ""
|
||||
else
|
||||
echo "${artist:0:50}" # Limit the output to 50 characters
|
||||
fi
|
||||
;;
|
||||
--position)
|
||||
position=$(get_position)
|
||||
length=$(get_metadata "mpris:length")
|
||||
if [ -z "$position" ] || [ -z "$length" ]; then
|
||||
echo ""
|
||||
else
|
||||
position_formatted=$(convert_position "$position")
|
||||
length_formatted=$(convert_length "$length")
|
||||
echo "$position_formatted/$length_formatted"
|
||||
fi
|
||||
;;
|
||||
position=$(get_position)
|
||||
length=$(get_metadata "mpris:length")
|
||||
if [ -z "$position" ] || [ -z "$length" ]; then
|
||||
echo ""
|
||||
else
|
||||
position_formatted=$(convert_position "$position")
|
||||
length_formatted=$(convert_length "$length")
|
||||
echo "$position_formatted/$length_formatted"
|
||||
fi
|
||||
;;
|
||||
--length)
|
||||
length=$(get_metadata "mpris:length")
|
||||
if [ -z "$length" ]; then
|
||||
echo ""
|
||||
else
|
||||
convert_length "$length"
|
||||
fi
|
||||
;;
|
||||
length=$(get_metadata "mpris:length")
|
||||
if [ -z "$length" ]; then
|
||||
echo ""
|
||||
else
|
||||
convert_length "$length"
|
||||
fi
|
||||
;;
|
||||
--status)
|
||||
status=$(playerctl status 2>/dev/null)
|
||||
if [[ $status == "Playing" ]]; then
|
||||
echo ""
|
||||
elif [[ $status == "Paused" ]]; then
|
||||
echo ""
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
;;
|
||||
status=$(playerctl status 2>/dev/null)
|
||||
if [[ $status == "Playing" ]]; then
|
||||
echo ""
|
||||
elif [[ $status == "Paused" ]]; then
|
||||
echo ""
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
;;
|
||||
--album)
|
||||
album=$(playerctl metadata --format "{{ xesam:album }}" 2>/dev/null)
|
||||
if [[ -n $album ]]; then
|
||||
echo "$album"
|
||||
else
|
||||
status=$(playerctl status 2>/dev/null)
|
||||
if [[ -n $status ]]; then
|
||||
echo "Not album"
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
album=$(playerctl metadata --format "{{ xesam:album }}" 2>/dev/null)
|
||||
if [[ -n $album ]]; then
|
||||
echo "$album"
|
||||
else
|
||||
status=$(playerctl status 2>/dev/null)
|
||||
if [[ -n $status ]]; then
|
||||
echo "Not album"
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
--source)
|
||||
get_source_info
|
||||
;;
|
||||
get_source_info
|
||||
;;
|
||||
*)
|
||||
echo "Invalid option: $1"
|
||||
echo "Usage: $0 --title | --arturl | --artist | --position | --length | --album | --source" ; exit 1
|
||||
;;
|
||||
echo "Invalid option: $1"
|
||||
echo "Usage: $0 --title | --arturl | --artist | --position | --length | --album | --source"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -1,148 +0,0 @@
|
||||
#!/bin/env bash
|
||||
|
||||
THUMB=/tmp/hyde-mpris
|
||||
THUMB_BLURRED=/tmp/hyde-mpris-blurred
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "Usage: $0 --title | --arturl | --artist | --position | --length | --album | --source"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Function to get metadata using playerctl
|
||||
get_metadata() {
|
||||
key=$1
|
||||
playerctl metadata --format "{{ $key }}" 2>/dev/null
|
||||
|
||||
|
||||
}
|
||||
|
||||
# Function to determine the source and return an icon and text
|
||||
get_source_info() {
|
||||
trackid=$(get_metadata "mpris:trackid")
|
||||
if [[ "$trackid" == *"firefox"* ]]; then
|
||||
echo -e "Firefox "
|
||||
elif [[ "$trackid" == *"spotify"* ]]; then
|
||||
echo -e "Spotify "
|
||||
elif [[ "$trackid" == *"chromium"* ]]; then
|
||||
echo -e "Chrome "
|
||||
elif [[ "$trackid" == *"YoutubeMusic"* ]]; then
|
||||
echo -e "YouTubeMusic "
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
}
|
||||
|
||||
# Function to get position using playerctl
|
||||
get_position() {
|
||||
playerctl position 2>/dev/null
|
||||
}
|
||||
|
||||
# Function to convert microseconds to minutes and seconds
|
||||
convert_length() {
|
||||
local length=$1
|
||||
local seconds=$((length / 1000000))
|
||||
local minutes=$((seconds / 60))
|
||||
local remaining_seconds=$((seconds % 60))
|
||||
printf "%d:%02d m" $minutes $remaining_seconds
|
||||
}
|
||||
|
||||
# Function to convert seconds to minutes and seconds
|
||||
convert_position() {
|
||||
local position=$1
|
||||
local seconds=${position%.*} # Remove fractional part if exists
|
||||
local minutes=$((seconds / 60))
|
||||
local remaining_seconds=$((seconds % 60))
|
||||
printf "%d:%02d" $minutes $remaining_seconds
|
||||
}
|
||||
|
||||
# Function to fetch album art and create blurred version
|
||||
fetch_thumb() {
|
||||
artUrl=$(playerctl -p spotify metadata --format '{{mpris:artUrl}}')
|
||||
[[ "${artUrl}" = "$(cat "${THUMB}.inf")" ]] && return 0
|
||||
|
||||
printf "%s\n" "$artUrl" > "${THUMB}.inf"
|
||||
|
||||
curl -so "${THUMB}.png" "$artUrl"
|
||||
magick "${THUMB}.png" -quality 50 "${THUMB}.png"
|
||||
# Create blurred version
|
||||
pkill -USR2 hyprlock
|
||||
}
|
||||
|
||||
# Run fetch_thumb function in the background
|
||||
{ fetch_thumb ;} || { rm -f "${THUMB}*" && exit 1;} &
|
||||
|
||||
# Parse the argument
|
||||
case "$1" in
|
||||
--title)
|
||||
title=$(get_metadata "xesam:title")
|
||||
if [ -z "$title" ]; then
|
||||
echo ""
|
||||
else
|
||||
echo "${title:0:50}" # Limit the output to 50 characters
|
||||
fi
|
||||
;;
|
||||
# --arturl)
|
||||
# fetch_thumb & # Run fetch_thumb in the background
|
||||
# url=$(get_metadata "mpris:artUrl")
|
||||
# if [[ "$(playerctl -p status)" != "Playing" ]]; then
|
||||
# rm -f /tmp/hyde-mpris*
|
||||
# fi
|
||||
# ;;
|
||||
--artist)
|
||||
artist=$(get_metadata "xesam:artist")
|
||||
if [ -z "$artist" ]; then
|
||||
echo ""
|
||||
else
|
||||
echo "${artist:0:50}" # Limit the output to 50 characters
|
||||
fi
|
||||
;;
|
||||
--position)
|
||||
position=$(get_position)
|
||||
length=$(get_metadata "mpris:length")
|
||||
if [ -z "$position" ] || [ -z "$length" ]; then
|
||||
echo ""
|
||||
else
|
||||
position_formatted=$(convert_position "$position")
|
||||
length_formatted=$(convert_length "$length")
|
||||
echo "$position_formatted/$length_formatted"
|
||||
fi
|
||||
;;
|
||||
--length)
|
||||
length=$(get_metadata "mpris:length")
|
||||
if [ -z "$length" ]; then
|
||||
echo ""
|
||||
else
|
||||
convert_length "$length"
|
||||
fi
|
||||
;;
|
||||
--status)
|
||||
status=$(playerctl status 2>/dev/null)
|
||||
if [[ $status == "Playing" ]]; then
|
||||
echo ""
|
||||
elif [[ $status == "Paused" ]]; then
|
||||
echo ""
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
;;
|
||||
--album)
|
||||
album=$(playerctl metadata --format "{{ xesam:album }}" 2>/dev/null)
|
||||
if [[ -n $album ]]; then
|
||||
echo "$album"
|
||||
else
|
||||
status=$(playerctl status 2>/dev/null)
|
||||
if [[ -n $status ]]; then
|
||||
echo "Not album"
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
--source)
|
||||
get_source_info
|
||||
;;
|
||||
*)
|
||||
echo "Invalid option: $1"
|
||||
echo "Usage: $0 --title | --arturl | --artist | --position | --length | --album | --source" ; exit 1
|
||||
;;
|
||||
esac
|
||||
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 18 MiB |
|
Before Width: | Height: | Size: 739 KiB |
|
Before Width: | Height: | Size: 4.0 MiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 2.9 MiB |
|
Before Width: | Height: | Size: 304 KiB |
|
Before Width: | Height: | Size: 3.9 MiB |
|
Before Width: | Height: | Size: 53 KiB |
|
After Width: | Height: | Size: 126 KiB |
|
After Width: | Height: | Size: 660 KiB |
|
Before Width: | Height: | Size: 53 KiB |
@@ -1,27 +0,0 @@
|
||||
#!/bin/env bash
|
||||
|
||||
THUMB=/tmp/hyde-mpris
|
||||
THUMB_BLURRED=/tmp/hyde-mpris-blurred
|
||||
THUMB_RECTANGLE=/tmp/blurred_rectangle.png
|
||||
|
||||
fetch_thumb() {
|
||||
artUrl=$(playerctl -p spotify metadata --format '{{mpris:artUrl}}')
|
||||
[[ "${artUrl}" = "$(cat "${THUMB}.inf")" ]] && return 0
|
||||
|
||||
printf "%s\n" "$artUrl" >"${THUMB}.inf"
|
||||
|
||||
curl -so "${THUMB}.png" "$artUrl"
|
||||
magick "${THUMB}.png" -quality 50 "${THUMB}.png"
|
||||
# Create blurred version
|
||||
magick "${THUMB}.png" -blur 200x7 -resize 1920x^ -gravity center -extent 1920x1080\! "${THUMB_BLURRED}.png"
|
||||
magick -size 800x200 xc:none -fill black -draw "rectangle 0,0 800,200" -blur 0x3 "${THUMB_RECTANGLE}"
|
||||
# fi
|
||||
pkill -USR2 hyprlock
|
||||
}
|
||||
|
||||
# if [ ! -f "${THUMB_RECTANGLE}" ]; then
|
||||
# magick -size 800x200 xc:none -fill black -draw "rectangle 0,0 800,200" -blur 0x3 "${THUMB_RECTANGLE}"
|
||||
# fi
|
||||
|
||||
# Run fetch_thumb function in the background
|
||||
{ playerctl -p spotify metadata --format '{{title}} {{artist}}' && fetch_thumb; } || { rm -f "${THUMB}*" && exit 1; } &
|
||||
@@ -36,6 +36,7 @@ masterpdfeditor
|
||||
mcmojave-cursors-git
|
||||
mkv-extractor-qt
|
||||
selectdefaultapplication-git
|
||||
clipse-gui
|
||||
mpv-shim-default-shaders
|
||||
netscanner-bin
|
||||
nomacs-qt6-git
|
||||
|
||||
@@ -28,7 +28,7 @@ wheel_scroll_lines=3
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\b\xcc\0\0\x1\xda\0\0\vP\0\0\x3\xce\0\0\b\xcd\0\0\x1\xdb\0\0\vO\0\0\x3\xcd\0\0\0\0\0\0\0\0\rp\0\0\b\xcd\0\0\x1\xdb\0\0\vO\0\0\x3\xcd)
|
||||
|
||||
[SettingsWindow]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x6\xa3\0\0\x5^\0\0\0\0\0\0\0\0\0\0\x6\xb7\0\0\x5x\0\0\0\0\x2\0\0\0\rp\0\0\0\0\0\0\0\0\0\0\x6\xa3\0\0\x5^)
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4\x8e\0\0\x2\xa8\0\0\0\0\0\0\0\0\0\0\x4\x9c\0\0\x2\xbc\0\0\0\0\x2\0\0\0\rp\0\0\0\0\0\0\0\0\0\0\x4\x8e\0\0\x2\xa8)
|
||||
|
||||
[Troubleshooting]
|
||||
force_raster_widgets=1
|
||||
|
||||
@@ -28,7 +28,7 @@ wheel_scroll_lines=3
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\xf5\0\0\x1\x80\0\0\x3\xdb\0\0\x3\x90\0\0\0\xf5\0\0\x1\x80\0\0\x3\xdb\0\0\x3\x90\0\0\0\0\x2\0\0\0\rp\0\0\0\xf5\0\0\x1\x80\0\0\x3\xdb\0\0\x3\x90)
|
||||
|
||||
[SettingsWindow]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4l\0\0\x2\xa7\0\0\0\0\0\0\0\0\0\0\x4\x7f\0\0\x2\xbb\0\0\0\0\x2\0\0\0\rp\0\0\0\0\0\0\0\0\0\0\x4l\0\0\x2\xa7)
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4\xa4\0\0\x2\xa8\0\0\0\0\0\0\0\0\0\0\x4\xa4\0\0\x2\xa8\0\0\0\0\x2\0\0\0\rp\0\0\0\0\0\0\0\0\0\0\x4\xa4\0\0\x2\xa8)
|
||||
|
||||
[Troubleshooting]
|
||||
force_raster_widgets=1
|
||||
|
||||
@@ -138,7 +138,7 @@
|
||||
// "tooltip-format-disconnected": "MPD (disconnected)",
|
||||
// },
|
||||
"mpris": {
|
||||
"format": "{player_icon} {dynamic}",
|
||||
"format": "{player_icon} {artist} - {title} [{position}/{length}]",
|
||||
"format-paused": "{status_icon} <i>{dynamic}</i>",
|
||||
"player-icons": {
|
||||
"default": "▶",
|
||||
@@ -148,7 +148,7 @@
|
||||
"paused": "⏸",
|
||||
},
|
||||
"interval": 1,
|
||||
// "ignored-players": ["firefox"]
|
||||
"ignored-players": ["firefox", "brave"],
|
||||
},
|
||||
"clock#time": {
|
||||
"interval": 1,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#files: 1030 version: 5.9
|
||||
#files: 1032 version: 5.9
|
||||
|
||||
_comps=(
|
||||
'-' '_precommand'
|
||||
@@ -692,7 +692,7 @@ _comps=(
|
||||
'infocmp' '_terminals'
|
||||
'initctl' '_initctl'
|
||||
'initdb' '_pgsql_utils'
|
||||
'insmod' '_modutils'
|
||||
'insmod' '_insmod'
|
||||
'install' '_install'
|
||||
'install-info' '_texinfo'
|
||||
'integer' '_typeset'
|
||||
@@ -736,18 +736,16 @@ _comps=(
|
||||
'jq' '_jq'
|
||||
'jrnl' '_jrnl'
|
||||
'kak' '_kak'
|
||||
'kcmshell5' '_systemsettings'
|
||||
'kcmshell6' '_systemsettings'
|
||||
'kdeconnect-cli' '_kdeconnect'
|
||||
'kde-inhibit' '_kde-inhibit'
|
||||
'kernel-install' '_kernel-install'
|
||||
'keyring' '_keyring'
|
||||
'keystone' '_openstack'
|
||||
'keytool' '_java'
|
||||
'kfmclient' '_kfmclient'
|
||||
'kill' '_kill'
|
||||
'killall' '_killall'
|
||||
'killall5' '_killall'
|
||||
'kinfocenter' '_systemsettings'
|
||||
'kioclient' '_kfmclient'
|
||||
'kitchen' '_kitchen'
|
||||
'kitty' '_kitty'
|
||||
@@ -758,8 +756,6 @@ _comps=(
|
||||
'konsoleprofile' '_konsole'
|
||||
'kpartx' '_kpartx'
|
||||
'kpdf' '_pdf'
|
||||
'krunner' '_krunner'
|
||||
'kscreen-doctor' '_kscreen-doctor'
|
||||
'ksh' '_sh'
|
||||
'ksh88' '_sh'
|
||||
'ksh93' '_sh'
|
||||
@@ -812,7 +808,7 @@ _comps=(
|
||||
'lsblk' '_lsblk'
|
||||
'lsdiff' '_patchutils'
|
||||
'lsinitcpio' '_mkinitcpio'
|
||||
'lsmod' '_modutils'
|
||||
'lsmod' '_lsmod'
|
||||
'lsns' '_lsns'
|
||||
'lsof' '_lsof'
|
||||
'lsusb' '_lsusb'
|
||||
@@ -1093,7 +1089,6 @@ _comps=(
|
||||
'pkginfo' '_pkginfo'
|
||||
'pkgrm' '_pkgrm'
|
||||
'pkill' '_pgrep'
|
||||
'plasmashell' '_plasmashell'
|
||||
'play' '_play'
|
||||
'playerctl' '_playerctl'
|
||||
'pldd' '_pids'
|
||||
@@ -1236,7 +1231,7 @@ _comps=(
|
||||
'rmlint' '_rmlint'
|
||||
'rmlint.sh' '_rmlint'
|
||||
'rmm' '_mh'
|
||||
'rmmod' '_modutils'
|
||||
'rmmod' '_rmmod'
|
||||
'route' '_route'
|
||||
'rrdtool' '_rrdtool'
|
||||
'rsh' '_rlogin'
|
||||
@@ -1421,7 +1416,6 @@ _comps=(
|
||||
'systemd-run' '_systemd-run'
|
||||
'systemd-tmpfiles' '_systemd-tmpfiles'
|
||||
'systemd-tty-ask-password-agent' '_systemd'
|
||||
'systemsettings' '_systemsettings'
|
||||
'tac' '_tac'
|
||||
'tacker' '_openstack'
|
||||
'tail' '_tail'
|
||||
@@ -1536,6 +1530,7 @@ _comps=(
|
||||
'unxz' '_xz'
|
||||
'unzip' '_zip'
|
||||
'updpkgsums' '_updpkgsums'
|
||||
'upower' '_upower'
|
||||
'uptime' '_uptime'
|
||||
'urxvt' '_urxvt'
|
||||
'urxvt256c' '_urxvt'
|
||||
@@ -1908,206 +1903,206 @@ autoload -Uz _afew _android _arch-audit _archlinux-java _artisan \
|
||||
_buku _bun _bundle _busctl _bw \
|
||||
_bwrap _cap _cargo _cask _ccache \
|
||||
_cf _cheat _checkupdates _choc _chromium \
|
||||
_clang-check _clang-format _clang-tidy _cmake _coffee \
|
||||
_conan _concourse _console _coredumpctl _cppcheck \
|
||||
_cpu-x _curl _dad _dart _dasel \
|
||||
_delta _dget _dhcpcd _diana _direnv \
|
||||
_docpad _dolphin _downgrade _drush _dust \
|
||||
_ecdsautil _emacs _emacsclient _emulator _envdir \
|
||||
_exportfs _eza _fab _fail2ban-client _fastfetch \
|
||||
_fd _ffind _flameshot _fleetctl _flutter \
|
||||
_fvm _fwupdmgr _gas _ghc _gist \
|
||||
_git-flow _git-pulls _git-revise _git-wtf _glances \
|
||||
_glow _golang _google _gpgconf _gpg-tui \
|
||||
_grpcurl _gtk-launch _hello _hg _hledger \
|
||||
_homestead _hostnamectl _httpie _hyprctl _hyprpm \
|
||||
_ibus _img2sixel _include-what-you-use _inxi _jmeter \
|
||||
_jmeter-plugins _jonas _journalctl _jrnl _kak \
|
||||
_kdeconnect _kde-inhibit _kernel-install _kitchen _kitty \
|
||||
_knife _konsole _krunner _kscreen-doctor _language_codes \
|
||||
_lftp _libinput _lilypond _localectl _loginctl \
|
||||
_lunchy _machinectl _mc _meson _middleman \
|
||||
_mina _mix _mkcert _mkinitcpio _mpv \
|
||||
_mssh _mullvad _mussh _mvn _nano \
|
||||
_nanoc _neofetch _networkctl _networkQuality _nftables \
|
||||
_ninja _node _nvm _oomctl _openssl \
|
||||
_openvpn3 _optirun _paccache _pacdiff _pacignore \
|
||||
_paclist _paclog-pkglist _pacman _pacscripts _pacsearch \
|
||||
_pacsort _pactree _paru _patchelf _patool \
|
||||
_periscope _pgsql_utils _phing _pip _pixz \
|
||||
_pkcon _plasmashell _play _playerctl _pm2 \
|
||||
_poetry _port _protoc _pulseaudio _pygmentize \
|
||||
_qmk _qpdf _rails _ralio _rankmirrors \
|
||||
_redis-cli _resolvectl _rfkill _rg _rkt \
|
||||
_rmlint _rslsync _rspec _rsvm _rubocop \
|
||||
_run0 _sbt _scala _scrcpy _screencapture \
|
||||
_scrub _sdd _sd_hosts_or_user_at_host _sdkmanager _sd_machines \
|
||||
_sd_outputmodes _sd_unit_files _setcap _setup.py _sfdx \
|
||||
_shellcheck _showoff _shtab _spt _sqv \
|
||||
_srm _stack _starship _streamlink _subliminal \
|
||||
_supervisorctl _svm _swaync _swaync-client _swww \
|
||||
_systemctl _systemd _systemd-analyze _systemd-delta _systemd-inhibit \
|
||||
_systemd-nspawn _systemd-path _systemd-run _systemd-tmpfiles _systemsettings \
|
||||
_task _taskwarrior-tui _teamocil _thor _timedatectl \
|
||||
_tldr _tmuxinator _tox _tsc _ts-node \
|
||||
_udevadm _udiskie _udiskie-canonical_paths _udiskie-mount _udiskie-umount \
|
||||
_udisks2 _udisksctl _ufw _updpkgsums _varlinkctl \
|
||||
_virtualbox _visidata _vnstat _wemux _wezterm \
|
||||
_wg-quick _wl-copy _wlogout _wl-paste _wpctl \
|
||||
_xsel _yarn _yazi _yt-dlp _zcash-cli \
|
||||
_cdr _all_labels _all_matches _alternative _approximate \
|
||||
_arg_compile _arguments _bash_completions _cache_invalid _call_function \
|
||||
_combination _complete _complete_debug _complete_help _complete_help_generic \
|
||||
_complete_tag _comp_locale _correct _correct_filename _correct_word \
|
||||
_describe _description _dispatch _expand _expand_alias \
|
||||
_expand_word _extensions _external_pwds _generic _guard \
|
||||
_history _history_complete_word _ignored _list _main_complete \
|
||||
_match _menu _message _most_recent_file _multi_parts \
|
||||
_next_label _next_tags _normal _nothing _numbers \
|
||||
_oldlist _pick_variant _prefix _read_comp _regex_arguments \
|
||||
_regex_words _requested _retrieve_cache _sep_parts _sequence \
|
||||
_set_command _setup _store_cache _sub_commands _tags \
|
||||
_user_expand _values _wanted _acpi _acpitool \
|
||||
_alsa-utils _analyseplugin _basenc _brctl _btrfs \
|
||||
_capabilities _chattr _chcon _choom _chrt \
|
||||
_cpupower _cryptsetup _dkms _e2label _ethtool \
|
||||
_findmnt _free _fuse_arguments _fusermount _fuse_values \
|
||||
_gpasswd _htop _iconvconfig _ionice _ipset \
|
||||
_iptables _iwconfig _kpartx _losetup _lsattr \
|
||||
_lsblk _lsns _lsusb _ltrace _mat \
|
||||
_mat2 _mdadm _mii-tool _modutils _mondo \
|
||||
_networkmanager _nsenter _opkg _perf _pidof \
|
||||
_pmap _qdbus _schedtool _selinux_contexts _selinux_roles \
|
||||
_selinux_types _selinux_users _setpriv _setsid _slabtop \
|
||||
_ss _sshfs _strace _sysstat _tload \
|
||||
_tpb _tracepath _tune2fs _uml _unshare \
|
||||
_valgrind _vserver _wakeup_capable_devices _wipefs _wpa_cli \
|
||||
_a2ps _aap _abcde _absolute_command_paths _ack \
|
||||
_adb _ansible _ant _antiword _apachectl \
|
||||
_apm _arch_archives _arch_namespace _arp _arping \
|
||||
_asciidoctor _asciinema _at _attr _augeas \
|
||||
_avahi _awk _base64 _basename _bash \
|
||||
_baudrates _baz _beep _bibtex _bind_addresses \
|
||||
_bison _bittorrent _bogofilter _bpf_filters _bpython \
|
||||
_bzip2 _bzr _cabal _cal _calendar \
|
||||
_canonical_paths _cat _ccal _cdcd _cdrdao \
|
||||
_cdrecord _chkconfig _chmod _chown _chroot \
|
||||
_chsh _cksum _clay _cmdambivalent _cmdstring \
|
||||
_cmp _column _comm _composer _compress \
|
||||
_configure _cowsay _cp _cpio _cplay \
|
||||
_crontab _cscope _csplit _cssh _ctags \
|
||||
_ctags_tags _curl _cut _cvs _darcs \
|
||||
_date _date_formats _dates _dbus _dconf \
|
||||
_dd _devtodo _df _dhclient _dict \
|
||||
_dict_words _diff _diff3 _diff_options _diffstat \
|
||||
_dig _directories _dir_list _django _dmesg \
|
||||
_dmidecode _dns_types _doas _domains _dos2unix \
|
||||
_drill _dropbox _dsh _dtruss _du \
|
||||
_dvi _ecasound _ed _elfdump _elinks \
|
||||
_email_addresses _enscript _entr _env _espeak \
|
||||
_etags _fakeroot _feh _fetchmail _ffmpeg \
|
||||
_figlet _file_modes _files _file_systems _find \
|
||||
_find_net_interfaces _finger _flac _flex _fmt \
|
||||
_fold _fortune _fsh _fuser _gcc \
|
||||
_gcore _gdb _gem _genisoimage _getconf \
|
||||
_getent _getfacl _getmail _getopt _ghostscript \
|
||||
_git _global _global_tags _gnu_generic _gnupod \
|
||||
_gnutls _go _gpg _gphoto2 _gprof \
|
||||
_gradle _graphicsmagick _grep _groff _groups \
|
||||
_growisofs _gsettings _guilt _gzip _have_glob_qual \
|
||||
_head _hexdump _host _hostname _hosts \
|
||||
_iconv _id _ifconfig _iftop _imagemagick \
|
||||
_initctl _init_d _install _iostat _ip \
|
||||
_ipsec _irssi _ispell _java _java_class \
|
||||
_joe _join _jq _killall _knock \
|
||||
_kvno _last _ldconfig _ldd _ld_debug \
|
||||
_less _lha _libvirt _links _list_files \
|
||||
_lldb _ln _loadkeys _locale _localedef \
|
||||
_locales _locate _logger _look _lp \
|
||||
_ls _lsof _lua _luarocks _lynx \
|
||||
_lz4 _lzop _mail _mailboxes _make \
|
||||
_man _md5sum _mencal _mh _mime_types \
|
||||
_mkdir _mkfifo _mknod _mktemp _module \
|
||||
_monotone _moosic _mosh _mount _mpc \
|
||||
_mt _mtools _mtr _mutt _mv \
|
||||
_my_accounts _myrepos _mysqldiff _mysql_utils _ncftp \
|
||||
_netcat _net_interfaces _netstat _newsgroups _nginx \
|
||||
_ngrep _nice _nkf _nl _nm \
|
||||
_nmap _npm _nslookup _numfmt _objdump \
|
||||
_object_files _od _openstack _opustools _other_accounts \
|
||||
_pack _pandoc _paste _patch _patchutils \
|
||||
_path_commands _path_files _pax _pbm _pdf \
|
||||
_perforce _perl _perl_basepods _perldoc _perl_modules \
|
||||
_pgids _pgrep _php _picocom _pids \
|
||||
_pine _ping _pip _pkgadd _pkg-config \
|
||||
_pkginfo _pkg_instance _pkgrm _pon _ports \
|
||||
_postfix _postgresql _postscript _pr _printenv \
|
||||
_printers _process_names _prove _ps _pspdf \
|
||||
_psutils _ptx _pump _pv _pwgen \
|
||||
_pydoc _python _python_modules _qemu _quilt \
|
||||
_rake _ranlib _rar _rclone _rcs \
|
||||
_readelf _readlink _remote_files _renice _ri \
|
||||
_rlogin _rm _rmdir _route _rrdtool \
|
||||
_rsync _rubber _ruby _runit _samba \
|
||||
_sccs _scons _screen _script _seafile \
|
||||
_sed _seq _service _services _setfacl \
|
||||
_sh _shasum _showmount _shred _shuf \
|
||||
_shutdown _signals _sisu _slrn _smartmontools \
|
||||
_socket _sort _spamassassin _split _sqlite \
|
||||
_sqsh _ssh _ssh_hosts _stat _stdbuf \
|
||||
_stgit _stow _strings _strip _stty \
|
||||
_su _subversion _sudo _surfraw _swaks \
|
||||
_swanctl _swift _sys_calls _sysctl _tac \
|
||||
_tail _tar _tar_archive _tardy _tcpdump \
|
||||
_tcptraceroute _tee _telnet _terminals _tex \
|
||||
_texi _texinfo _tidy _tiff _tilde_files \
|
||||
_timeout _time_zone _tin _tla _tmux \
|
||||
_todo.sh _toilet _top _topgit _totd \
|
||||
_touch _tput _tr _transmission _tree \
|
||||
_truncate _truss _tty _ttys _twidge \
|
||||
_twisted _umountable _unace _uname _unexpand \
|
||||
_uniq _unison _units _uptime _urls \
|
||||
_user_admin _user_at_host _users _users_on _vi \
|
||||
_vim _visudo _vmstat _vorbis _vpnc \
|
||||
_w _w3m _watch _wc _webbrowser \
|
||||
_wget _whereis _who _whois _wiggle \
|
||||
_xargs _xmlsoft _xmlstarlet _xmms2 _xxd \
|
||||
_xz _yafc _yodl _yp _zcat \
|
||||
_zdump _zfs _zfs_dataset _zfs_pool _zip \
|
||||
_zsh _acroread _code _dcop _eog \
|
||||
_evince _geany _gnome-gv _gqview _gv \
|
||||
_kdeconnect _kfmclient _matlab _mozilla _mplayer \
|
||||
_mupdf _nautilus _nedit _netscape _okular \
|
||||
_pdftk _qiv _rdesktop _setxkbmap _sublimetext \
|
||||
_urxvt _vnc _x_arguments _xauth _xautolock \
|
||||
_x_borderwidth _xclip _x_color _x_colormapid _x_cursor \
|
||||
_x_display _xdvi _x_extension _xfig _x_font \
|
||||
_xft_fonts _x_geometry _xinput _x_keysym _xloadimage \
|
||||
_x_locale _x_modifier _xmodmap _x_name _xournal \
|
||||
_xpdf _xrandr _x_resource _xscreensaver _x_selection_timeout \
|
||||
_xset _xt_arguments _xterm _x_title _xt_session_id \
|
||||
_x_utils _xv _x_visual _x_window _xwit \
|
||||
_zeal _add-zle-hook-widget _add-zsh-hook _alias _aliases \
|
||||
__arguments _arrays _assign _autocd _bindkey \
|
||||
_brace_parameter _builtin _cd _command _command_names \
|
||||
_compadd _compdef _completers _condition _default \
|
||||
_delimiters _directory_stack _dirs _disable _dynamic_directory_name \
|
||||
_echotc _echoti _emulate _enable _equal \
|
||||
_exec _fc _file_descriptors _first _functions \
|
||||
_globflags _globqual_delims _globquals _hash _history_modifiers \
|
||||
_in_vared _jobs _jobs_bg _jobs_builtin _jobs_fg \
|
||||
_kill _limit _limits _math _math_params \
|
||||
_mere _module_math_func _options _options_set _options_unset \
|
||||
_parameter _parameters _precommand _print _prompt \
|
||||
_ps1234 _read _redirect _run-help _sched \
|
||||
_set _setopt _source _strftime _subscript \
|
||||
_suffix_alias_files _tcpsys _tilde _trap _ttyctl \
|
||||
_typeset _ulimit _unhash _user_math_func _value \
|
||||
_vared _vars _vcs_info _vcs_info_hooks _wait \
|
||||
_which _widgets _zargs _zattr _zcalc \
|
||||
_zcalc_line _zcompile _zed _zftp _zle \
|
||||
_zmodload _zmv _zparseopts _zpty _zsh-mime-handler \
|
||||
_zsocket _zstyle _ztodo
|
||||
_clang-check _clang-format _clang-tidy _cmake _code \
|
||||
_coffee _conan _concourse _console _coredumpctl \
|
||||
_cppcheck _cpu-x _curl _dad _dart \
|
||||
_dasel _delta _dget _dhcpcd _diana \
|
||||
_direnv _docpad _dolphin _downgrade _drush \
|
||||
_dust _ecdsautil _emacs _emacsclient _emulator \
|
||||
_envdir _exportfs _eza _fab _fail2ban-client \
|
||||
_fastfetch _fd _ffind _flameshot _fleetctl \
|
||||
_flutter _fvm _fwupdmgr _gas _ghc \
|
||||
_gist _git-flow _git-pulls _git-revise _git-wtf \
|
||||
_glances _glow _golang _google _gpgconf \
|
||||
_gpg-tui _grpcurl _gtk-launch _hello _hg \
|
||||
_hledger _homestead _hostnamectl _httpie _hyprctl \
|
||||
_hyprpm _ibus _img2sixel _include-what-you-use _insmod \
|
||||
_inxi _jmeter _jmeter-plugins _jonas _journalctl \
|
||||
_jrnl _kak _kdeconnect _kde-inhibit _kernel-install \
|
||||
_keyring _kitchen _kitty _knife _konsole \
|
||||
_language_codes _lftp _libinput _lilypond _localectl \
|
||||
_loginctl _lsmod _lunchy _machinectl _mc \
|
||||
_meson _middleman _mina _mix _mkcert \
|
||||
_mkinitcpio _mpv _mssh _mullvad _mussh \
|
||||
_mvn _nano _nanoc _neofetch _networkctl \
|
||||
_networkQuality _nftables _ninja _node _nvm \
|
||||
_oomctl _openssl _openvpn3 _optirun _paccache \
|
||||
_pacdiff _pacignore _paclist _paclog-pkglist _pacman \
|
||||
_pacscripts _pacsearch _pacsort _pactree _paru \
|
||||
_patchelf _patool _periscope _pgsql_utils _phing \
|
||||
_pip _pixz _pkcon _play _playerctl \
|
||||
_pm2 _poetry _port _protoc _pulseaudio \
|
||||
_pygmentize _qmk _qpdf _rails _ralio \
|
||||
_rankmirrors _redis-cli _resolvectl _rfkill _rg \
|
||||
_rkt _rmlint _rmmod _rslsync _rspec \
|
||||
_rsvm _rubocop _run0 _sbt _scala \
|
||||
_scrcpy _screencapture _scrub _sdd _sd_hosts_or_user_at_host \
|
||||
_sdkmanager _sd_machines _sd_outputmodes _sd_unit_files _setcap \
|
||||
_setup.py _sfdx _shellcheck _showoff _shtab \
|
||||
_spt _sqv _srm _stack _starship \
|
||||
_streamlink _subliminal _supervisorctl _svm _swaync \
|
||||
_swaync-client _swww _systemctl _systemd _systemd-analyze \
|
||||
_systemd-delta _systemd-inhibit _systemd-nspawn _systemd-path _systemd-run \
|
||||
_systemd-tmpfiles _task _taskwarrior-tui _teamocil _thor \
|
||||
_timedatectl _tldr _tmuxinator _tox _tsc \
|
||||
_ts-node _udevadm _udiskie _udiskie-canonical_paths _udiskie-mount \
|
||||
_udiskie-umount _udisks2 _udisksctl _ufw _updpkgsums \
|
||||
_upower _varlinkctl _virtualbox _visidata _vnstat \
|
||||
_wemux _wezterm _wg-quick _wl-copy _wlogout \
|
||||
_wl-paste _wpctl _xsel _yarn _yazi \
|
||||
_yt-dlp _zcash-cli _cdr _all_labels _all_matches \
|
||||
_alternative _approximate _arg_compile _arguments _bash_completions \
|
||||
_cache_invalid _call_function _combination _complete _complete_debug \
|
||||
_complete_help _complete_help_generic _complete_tag _comp_locale _correct \
|
||||
_correct_filename _correct_word _describe _description _dispatch \
|
||||
_expand _expand_alias _expand_word _extensions _external_pwds \
|
||||
_generic _guard _history _history_complete_word _ignored \
|
||||
_list _main_complete _match _menu _message \
|
||||
_most_recent_file _multi_parts _next_label _next_tags _normal \
|
||||
_nothing _numbers _oldlist _pick_variant _prefix \
|
||||
_read_comp _regex_arguments _regex_words _requested _retrieve_cache \
|
||||
_sep_parts _sequence _set_command _setup _store_cache \
|
||||
_sub_commands _tags _user_expand _values _wanted \
|
||||
_acpi _acpitool _alsa-utils _analyseplugin _basenc \
|
||||
_brctl _btrfs _capabilities _chattr _chcon \
|
||||
_choom _chrt _cpupower _cryptsetup _dkms \
|
||||
_e2label _ethtool _findmnt _free _fuse_arguments \
|
||||
_fusermount _fuse_values _gpasswd _htop _iconvconfig \
|
||||
_ionice _ipset _iptables _iwconfig _kpartx \
|
||||
_losetup _lsattr _lsblk _lsns _lsusb \
|
||||
_ltrace _mat _mat2 _mdadm _mii-tool \
|
||||
_modutils _mondo _networkmanager _nsenter _opkg \
|
||||
_perf _pidof _pmap _qdbus _schedtool \
|
||||
_selinux_contexts _selinux_roles _selinux_types _selinux_users _setpriv \
|
||||
_setsid _slabtop _ss _sshfs _strace \
|
||||
_sysstat _tload _tpb _tracepath _tune2fs \
|
||||
_uml _unshare _valgrind _vserver _wakeup_capable_devices \
|
||||
_wipefs _wpa_cli _a2ps _aap _abcde \
|
||||
_absolute_command_paths _ack _adb _ansible _ant \
|
||||
_antiword _apachectl _apm _arch_archives _arch_namespace \
|
||||
_arp _arping _asciidoctor _asciinema _at \
|
||||
_attr _augeas _avahi _awk _base64 \
|
||||
_basename _bash _baudrates _baz _beep \
|
||||
_bibtex _bind_addresses _bison _bittorrent _bogofilter \
|
||||
_bpf_filters _bpython _bzip2 _bzr _cabal \
|
||||
_cal _calendar _canonical_paths _cat _ccal \
|
||||
_cdcd _cdrdao _cdrecord _chkconfig _chmod \
|
||||
_chown _chroot _chsh _cksum _clay \
|
||||
_cmdambivalent _cmdstring _cmp _column _comm \
|
||||
_composer _compress _configure _cowsay _cp \
|
||||
_cpio _cplay _crontab _cscope _csplit \
|
||||
_cssh _ctags _ctags_tags _curl _cut \
|
||||
_cvs _darcs _date _date_formats _dates \
|
||||
_dbus _dconf _dd _devtodo _df \
|
||||
_dhclient _dict _dict_words _diff _diff3 \
|
||||
_diff_options _diffstat _dig _directories _dir_list \
|
||||
_django _dmesg _dmidecode _dns_types _doas \
|
||||
_domains _dos2unix _drill _dropbox _dsh \
|
||||
_dtruss _du _dvi _ecasound _ed \
|
||||
_elfdump _elinks _email_addresses _enscript _entr \
|
||||
_env _espeak _etags _fakeroot _feh \
|
||||
_fetchmail _ffmpeg _figlet _file_modes _files \
|
||||
_file_systems _find _find_net_interfaces _finger _flac \
|
||||
_flex _fmt _fold _fortune _fsh \
|
||||
_fuser _gcc _gcore _gdb _gem \
|
||||
_genisoimage _getconf _getent _getfacl _getmail \
|
||||
_getopt _ghostscript _git _global _global_tags \
|
||||
_gnu_generic _gnupod _gnutls _go _gpg \
|
||||
_gphoto2 _gprof _gradle _graphicsmagick _grep \
|
||||
_groff _groups _growisofs _gsettings _guilt \
|
||||
_gzip _have_glob_qual _head _hexdump _host \
|
||||
_hostname _hosts _iconv _id _ifconfig \
|
||||
_iftop _imagemagick _initctl _init_d _install \
|
||||
_iostat _ip _ipsec _irssi _ispell \
|
||||
_java _java_class _joe _join _jq \
|
||||
_killall _knock _kvno _last _ldconfig \
|
||||
_ldd _ld_debug _less _lha _libvirt \
|
||||
_links _list_files _lldb _ln _loadkeys \
|
||||
_locale _localedef _locales _locate _logger \
|
||||
_look _lp _ls _lsof _lua \
|
||||
_luarocks _lynx _lz4 _lzop _mail \
|
||||
_mailboxes _make _man _md5sum _mencal \
|
||||
_mh _mime_types _mkdir _mkfifo _mknod \
|
||||
_mktemp _module _monotone _moosic _mosh \
|
||||
_mount _mpc _mt _mtools _mtr \
|
||||
_mutt _mv _my_accounts _myrepos _mysqldiff \
|
||||
_mysql_utils _ncftp _netcat _net_interfaces _netstat \
|
||||
_newsgroups _nginx _ngrep _nice _nkf \
|
||||
_nl _nm _nmap _npm _nslookup \
|
||||
_numfmt _objdump _object_files _od _openstack \
|
||||
_opustools _other_accounts _pack _pandoc _paste \
|
||||
_patch _patchutils _path_commands _path_files _pax \
|
||||
_pbm _pdf _perforce _perl _perl_basepods \
|
||||
_perldoc _perl_modules _pgids _pgrep _php \
|
||||
_picocom _pids _pine _ping _pip \
|
||||
_pkgadd _pkg-config _pkginfo _pkg_instance _pkgrm \
|
||||
_pon _ports _postfix _postgresql _postscript \
|
||||
_pr _printenv _printers _process_names _prove \
|
||||
_ps _pspdf _psutils _ptx _pump \
|
||||
_pv _pwgen _pydoc _python _python_modules \
|
||||
_qemu _quilt _rake _ranlib _rar \
|
||||
_rclone _rcs _readelf _readlink _remote_files \
|
||||
_renice _ri _rlogin _rm _rmdir \
|
||||
_route _rrdtool _rsync _rubber _ruby \
|
||||
_runit _samba _sccs _scons _screen \
|
||||
_script _seafile _sed _seq _service \
|
||||
_services _setfacl _sh _shasum _showmount \
|
||||
_shred _shuf _shutdown _signals _sisu \
|
||||
_slrn _smartmontools _socket _sort _spamassassin \
|
||||
_split _sqlite _sqsh _ssh _ssh_hosts \
|
||||
_stat _stdbuf _stgit _stow _strings \
|
||||
_strip _stty _su _subversion _sudo \
|
||||
_surfraw _swaks _swanctl _swift _sys_calls \
|
||||
_sysctl _tac _tail _tar _tar_archive \
|
||||
_tardy _tcpdump _tcptraceroute _tee _telnet \
|
||||
_terminals _tex _texi _texinfo _tidy \
|
||||
_tiff _tilde_files _timeout _time_zone _tin \
|
||||
_tla _tmux _todo.sh _toilet _top \
|
||||
_topgit _totd _touch _tput _tr \
|
||||
_transmission _tree _truncate _truss _tty \
|
||||
_ttys _twidge _twisted _umountable _unace \
|
||||
_uname _unexpand _uniq _unison _units \
|
||||
_uptime _urls _user_admin _user_at_host _users \
|
||||
_users_on _vi _vim _visudo _vmstat \
|
||||
_vorbis _vpnc _w _w3m _watch \
|
||||
_wc _webbrowser _wget _whereis _who \
|
||||
_whois _wiggle _xargs _xmlsoft _xmlstarlet \
|
||||
_xmms2 _xxd _xz _yafc _yodl \
|
||||
_yp _zcat _zdump _zfs _zfs_dataset \
|
||||
_zfs_pool _zip _zsh _acroread _code \
|
||||
_dcop _eog _evince _geany _gnome-gv \
|
||||
_gqview _gv _kdeconnect _kfmclient _matlab \
|
||||
_mozilla _mplayer _mupdf _nautilus _nedit \
|
||||
_netscape _okular _pdftk _qiv _rdesktop \
|
||||
_setxkbmap _sublimetext _urxvt _vnc _x_arguments \
|
||||
_xauth _xautolock _x_borderwidth _xclip _x_color \
|
||||
_x_colormapid _x_cursor _x_display _xdvi _x_extension \
|
||||
_xfig _x_font _xft_fonts _x_geometry _xinput \
|
||||
_x_keysym _xloadimage _x_locale _x_modifier _xmodmap \
|
||||
_x_name _xournal _xpdf _xrandr _x_resource \
|
||||
_xscreensaver _x_selection_timeout _xset _xt_arguments _xterm \
|
||||
_x_title _xt_session_id _x_utils _xv _x_visual \
|
||||
_x_window _xwit _zeal _add-zle-hook-widget _add-zsh-hook \
|
||||
_alias _aliases __arguments _arrays _assign \
|
||||
_autocd _bindkey _brace_parameter _builtin _cd \
|
||||
_command _command_names _compadd _compdef _completers \
|
||||
_condition _default _delimiters _directory_stack _dirs \
|
||||
_disable _dynamic_directory_name _echotc _echoti _emulate \
|
||||
_enable _equal _exec _fc _file_descriptors \
|
||||
_first _functions _globflags _globqual_delims _globquals \
|
||||
_hash _history_modifiers _in_vared _jobs _jobs_bg \
|
||||
_jobs_builtin _jobs_fg _kill _limit _limits \
|
||||
_math _math_params _mere _module_math_func _options \
|
||||
_options_set _options_unset _parameter _parameters _precommand \
|
||||
_print _prompt _ps1234 _read _redirect \
|
||||
_run-help _sched _set _setopt _source \
|
||||
_strftime _subscript _suffix_alias_files _tcpsys _tilde \
|
||||
_trap _ttyctl _typeset _ulimit _unhash \
|
||||
_user_math_func _value _vared _vars _vcs_info \
|
||||
_vcs_info_hooks _wait _which _widgets _zargs \
|
||||
_zattr _zcalc _zcalc_line _zcompile _zed \
|
||||
_zftp _zle _zmodload _zmv _zparseopts \
|
||||
_zpty _zsh-mime-handler _zsocket _zstyle _ztodo
|
||||
autoload -Uz +X _call_program
|
||||
|
||||
typeset -gUa _comp_assocs
|
||||
|
||||