Add files via upload

This commit is contained in:
2025-11-24 19:46:30 +07:00
parent 90cc6d4253
commit a7ab7103a5
365 changed files with 17881 additions and 0 deletions

4
config/bat/config Normal file
View File

@@ -0,0 +1,4 @@
--theme="gruvbox-dark"
--style=plain,changes,header,header-filename,header-filesize,snip
#--force-colorization

235
config/bspwm/bspwmrc Executable file
View File

@@ -0,0 +1,235 @@
#! /bin/sh
export XDG_CURRENT_DESKTOP='bspwm'
# Запуск демона горячих клавиш
pgrep -x sxhkd >/dev/null || sxhkd &
#Autostart
# Picom
/usr/bin/compfy --daemon &
#/usr/bin/picom --daemon &
#########pkill "picom"
#########picom --daemon --animations --animation-window-mass 0.5 --animation-for-open-window slide-up --animation-stiffness-in-tag 650 --animation-for-transient-window slide-up
###picom --experimental-backends --daemon --animations --animation-window-mass 0.5 --animation-for-open-window zoom --animation-stiffness 350 --animation-for-transient-window zoom
######picom --experimental-backends --daemon --animations --animation-window-mass 0.5 --animation-for-open-window slide-up --animation-stiffness 550 --animation-for-transient-window slide-up
# Cursor
xsetroot -cursor_name left_ptr &
# Set display from arandr saved script
# 2-й монитор вертикальный
xrandr --dpi 102x102 --output HDMI-A-0 --mode 2560x1440 --rate 75 --pos 3440x0 --rotate left --output DisplayPort-0 --primary --mode 3440x1440 --rate 100 --pos 0x560 --rotate normal
#xrandr --dpi 102x102 --output DP-1 --primary --mode 3440x1440 --rate 100 --pos 0x560 --rotate normal --output HDMI-0 --mode 2560x1440 --rate 75 --pos 3440x0 --rotate left
#xrandr --dpi 102x102 --output DVI-D-0 --off --output DP-0 --primary --mode 3440x1440 --rate 100 --pos0x560 --rotate normal --output HDMI-0 --mode 2560x1440 --rate 75 --pos 3440x0 --rotate left --output DP-1 --off
#xrandr --dpi 102x102 --output DVI-D-0 --off --output HDMI-0 --mode 2560x1440 --rate 75 --pos 3440x0 --rotate left --output DP-0 --primary --mode 3440x1440 --rate 100 --pos 0x560 --rotate normal --output DP-1 --off
#xrandr --dpi 102x102 --output DVI-D-0 --off --output DP-0 --primary --mode 3440x1440 --rate 100 --pos 0x0 --rotate normal --output HDMI-0 --mode 2560x1440 --rate 75 --pos 3440x0 --rotate right --output DP-1 --off
####xrandr --dpi 102x102 --output DVI-D-0 --off --output DP-0 --primary --mode 3440x1440 --rate 100 --pos 0x1120 --rotate normal --output HDMI-0 --mode 2560x1440 --rate 75 --pos 3440x0 --rotate right --output DP-1 --off
# Пердыдущая настройка горизонтальная
#xrandr --dpi 102x102 --output DVI-D-0 --off --output DP-0 --primary --mode 3440x1440 --rate 100 --pos 0x0 --rotate normal --output HDMI-0 --mode 2560x1440 --rate 75 --pos 3440x0 --rotate normal --output DP-1 --off
##xrandr --dpi 102x102 --output DVI-D-0 --mode 1920x1080 --pos 2560x600 --rotate left --output HDMI-0 --mode 1920x1080 --pos 320x0 --rotate normal --output DP-0 --primary --mode 2560x1440 --rate 75 --pos 0x1080 --rotate normal
#xrandr --dpi 102x102 --output DVI-D-0 --off --output HDMI-0 --off --output DP-0 --primary --mode 2560x1440 --rate 75 --pos 0x0 --rotate normal --output DP-1 --off
###sh $HOME/.screenlayout/start.sh
# Запуск демона оповещений
####pkill "dunst"
/usr/bin/dunst &
# Polkit
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
/usr/libexec/xdg-desktop-portal-gtk &
xdg-user-dirs-gtk-update
snapshot-detect
xscreensaver -no-splash &
#/usr/local/bin/vivaldi-stop-screensaver.sh &
#/usr/local/bin/stop-screensaver.sh &
#xset s 0 0
# Wallpaper
nitrogen --restore &
# Шумодав для микрофона
#######pipewire -c filter-chain/source-rnnoise.conf &
# Отключение вертикальной синхронизации
#nvidia-settings -a 'SyncToVBlank=0'
#nvidia-settings -a "[gpu:0]/GpuPowerMizerMode=1"
# Start Polybar
##if [ -x /usr/bin/polybar ]; then
## bash $HOME/.config/polybar/launch.sh
##fi
# Раскладка клавиатуры
#setxkbmap -model pc105 -layout "us,ru" -option grp:ctrl_shift_toggle &
setxkbmap -layout us,ru -option grp:ctrl_shift_toggle &
# Настройка скорости повторения клавиш
xset r 22 r rate 500 30 &
# Отключение акселирации у мыши
xset m 2 1 &
# Отключение спящего режима монитора
####xset -dpms s off
xset -dpms &
bspc monitor DisplayPort-0 -n monitor0 -d I II III IV V VI VII IX X
bspc monitor HDMI-A-0 -n monitor1 -d VIII
#bspc monitor DVI-D-0 -d IX
#bspc monitor DP-0 -n monitor0 -d I II III IV V VI VII IX X
#bspc monitor HDMI-0 -n monitor1 -d VIII
bspc monitor DisplayPort-0 -s HDMI-A-0
bspc config automatic_scheme alternate
bspc config initial_polarity second_child
bspc config removal_adjustment true
#bspc config external_rules_command ~/.config/bspwm/scripts/external_rules
bspc config border_width 2
#bspc config window_gap 6
bspc config window_gap 9
bspc config split_ratio 0.50
bspc config borderless_monocle true
bspc config single_monocle true
bspc config gapless_monocle true
bspc config pointer_follows_focus false
bspc config focus_follows_pointer true
# Border
bspc config focused_border_color "#458588"
bspc config normal_border_color "#383737"
bspc config active_border_color "#383737"
bspc config presel_feedback_color "#504945"
# remove all rules first
bspc rule -r *:*
# Desktop 1 
bspc rule -a kitterm desktop='^1' focus=on
bspc rule -a nmail desktop='^1' focus=on
# Desktop 2 
bspc rule -a qutebrowser desktop='^2' follow=on focus=on
bspc rule -a Vivaldi-stable desktop='^2' follow=on focus=on
#bspc rule -a firefox-esr desktop='^2'
#bspc rule -a firefox-esr:*:Picture-in-Picture state=floating
#bspc rule -a Places desktop='^2' state=floating
# Desktop 3 
##bspc rule -a firefox desktop='^2'
##bspc rule -a firefox:*:Picture-in-Picture state=floating
#bspc rule -a Cherrytree desktop='^2' focus=on
# Desktop 4 
#bspc rule -a Pcmanfm:Dialog state=floating center=true
bspc rule -a TelegramDesktop desktop='^4' focus=on
#bspc rule -a KotatogramDesktop desktop='^4' focus=on
bspc rule -a AyuGramDesktop desktop='^4' focus=on
#bspc rule -a Ripcord desktop='^4' focus=on
#bspc rule -a Cawbird desktop='^4' focus=on
#bspc rule -a Hexchat desktop='^4' focus=on
bspc rule -a matrix desktop='^4' focus=on
# Desktop 5 
bspc rule -a "VirtualBox Manager" desktop='^5' focus=on
# Desktop 6 說
bspc rule -a steam desktop='^5' focus=on
bspc rule -a Gimp-3.0 desktop='^6' follow=on focus=on
bspc rule -a Gimp-2.10 desktop='^6' follow=on focus=on
bspc rule -a Gimp desktop='^6' follow=on focus=on
bspc rule -a ocenaudio desktop='^6' follow=on focus=on
#bspc rule -a Audacious desktop='^6' focus=on
bspc rule -a Shotcut desktop='^6' focus=on
# Desktop 7 ﰭ
bspc rule -a Tixati desktop='^7' focus=on
#bspc rule -a Deluge-gtk desktop='^7' focus=on
# Desktop 8 藍
#bspc rule -a Xfce4-terminal desktop='^8' focus=on
#bspc rule -a Tilix desktop='^8' focus=on
# Desktop 9 
#bspc rule -a thunderbird desktop='^9' focus=on
bspc rule -a obsidian desktop='^8' focus=on
# Desktop 10 (2-й монитор DELL) 
bspc rule -a obs desktop='^10' focus=on
bspc rule -a FreeTube desktop='^10' focus=on
bspc rule -a Grayjay desktop='^10' focus=on
bspc rule -a WebApp-microblog desktop='^10' focus=on
# Без привязки
####bspc rule -a FluffyChat state=tiled
bspc rule -a Authpass state=tiled
#bspc rule -a hexchat state=tiled
bspc rule -a Yad state=floating
bspc rule -a pavucontrol state=floating center=true
bspc rule -a windot state=floating sticky=off center=false rectangle=988x520+1215+1000
bspc rule -a marktext state=floating center=true
bspc rule -a Xed state=floating center=true
bspc rule -a nvim_notes state=floating sticky=on center=false rectangle=800x1020+2500+700
#bspc rule -a Kupfer.py focus=on
#bspc rule -a Screenkey manage=off
####bspc rule -a mpv state=floating sticky=on rectangle=300x180+1060+475
bspc rule -a dragon-drop focus=off
#bspc rule -a KeePassXC hidden=on focus=on
#bspc rule -a MEGAsync state=floating border=off
#bspc rule -a Nextcloud state=floating border=off
bspc rule -a clipse state=floating rectangle=720x800+1060+475 center=true
#bspc config -d mpd window_gap 262
#bspc config -d mpd top_padding -34
# Move cursor center display
######xdotool mousemove 1200 1760
# Autostart Applications
redshift-gtk &
#ayugram-desktop &
AyuGram &
#telegram-desktop &
#kotatogram-desktop &
###ripcord &
openrgb --startminimized --profile "zloy" &
#obsidian &
# Move cursor center display
xdotool mousemove 1500 800
#kitty --class "nmail" --session ~/.config/kitty/session_mail.conf &
sleep 3
kitty --class "kitterm" --session ~/.config/kitty/session.conf &
#kitty --class "matrix" --session ~/.config/kitty/session_matrix.conf &
#kitty --class "clipse" --session ~/.config/kitty/session_clipse.conf &
#sleep 2
#megasync &
seafile-applet &
alertify &
#deluge-gtk &
keepassxc &
#parcellite &
#/usr/bin/clipton watcher &
easyeffects --gapplication-service
blueman-applet &
clipse --listen-shell &
###systemctl --user start polybar.service
#sleep 5
#/usr/bin/telegram-desktop -workdir /home/zloy_linux/.local/share/TelegramDesktop/ -autostart &
#psensor &
# Переключение на 
sleep 3
bspc desktop -f ^2
####tixati &
# Low battery notifier
#~/.config/bspwm/scripts/low_bat_notifier.sh

3
config/bspwm/scripts/clipse.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
#
kitty --class clipse -e clipse keep

View File

@@ -0,0 +1,9 @@
#!/bin/sh
hidden=$(bspc query -N -n .hidden -d focused)
if [ -z "$hidden" ]; then
bspc node focused -g hidden=on
else
bspc node "$hidden" -g hidden=off
fi

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -0,0 +1,141 @@
#!/usr/bin/env bash
# Author: Dolores Portalatin <hello@doloresportalatin.info>
# Dependencies: imagemagick, i3lock-color-git, scrot, wmctrl (optional)
# Aquired from https://github.com/meskarune/i3lock-fancy
# Modified for use
set -o errexit -o noclobber -o nounset
hue=(-level "0%,100%,0.6")
effect=(-filter Gaussian -resize 20% -define "filter:sigma=1.5" -resize 500.5%)
# default system sans-serif font
font=$(convert -list font | awk "{ a[NR] = \$2 } /family: $(fc-match sans -f "%{family}\n")/ { print a[NR-1]; exit }")
image=$(mktemp --suffix=.png)
shot=(import -window root)
desktop=""
i3lock_cmd=(i3lock -i "$image")
shot_custom=false
options="Options:
-h, --help This help menu.
-d, --desktop Attempt to minimize all windows before locking.
-g, --greyscale Set background to greyscale instead of color.
-p, --pixelate Pixelate the background instead of blur, runs faster.
-f <fontname>, --font <fontname> Set a custom font.
-t <text>, --text <text> Set a custom text prompt.
-l, --listfonts Display a list of possible fonts for use with -f/--font.
Note: this option will not lock the screen, it displays
the list and exits immediately.
-n, --nofork Do not fork i3lock after starting.
-- Must be last option. Set command to use for taking a
screenshot. Default is 'import -window root'. Using 'scrot'
or 'maim' will increase script speed and allow setting
custom flags like having a delay."
# move pipefail down as for some reason "convert -list font" returns 1
set -o pipefail
trap 'rm -f "$image"' EXIT
temp="$(getopt -o :hdnpglt:f: -l desktop,help,listfonts,nofork,pixelate,greyscale,text:,font: --name "$0" -- "$@")"
eval set -- "$temp"
# l10n support
text="Type password to unlock"
case "${LANG:-}" in
af_* ) text="Tik wagwoord om te ontsluit" ;; # Afrikaans
de_* ) text="Bitte Passwort eingeben" ;; # Deutsch
da_* ) text="Indtast adgangskode" ;; # Danish
en_* ) text="Type password to unlock" ;; # English
es_* ) text="Ingrese su contraseña" ;; # Española
fr_* ) text="Entrez votre mot de passe" ;; # Français
he_* ) text="הליענה לטבל המסיס דלקה" ;; # Hebrew עברית (convert doesn't play bidi well)
hi_* ) text="अनलॉक करने के लिए पासवर्ड टाईप करें" ;; #Hindi
id_* ) text="Masukkan kata sandi Anda" ;; # Bahasa Indonesia
it_* ) text="Inserisci la password" ;; # Italian
ja_* ) text="パスワードを入力してください" ;; # Japanese
lv_* ) text="Ievadi paroli" ;; # Latvian
nb_* ) text="Skriv inn passord" ;; # Norwegian
pl_* ) text="Podaj hasło" ;; # Polish
pt_* ) text="Digite a senha para desbloquear" ;; # Português
tr_* ) text="Giriş yapmak için şifrenizi girin" ;; # Turkish
ru_* ) text="Введите пароль" ;; # Russian
* ) text="Type password to unlock" ;; # Default to English
esac
while true ; do
case "$1" in
-h|--help)
printf "Usage: %s [options]\n\n%s\n\n" "${0##*/}" "$options"; exit 1 ;;
-d|--desktop) desktop=$(command -V wmctrl) ; shift ;;
-g|--greyscale) hue=(-level "0%,100%,0.6" -set colorspace Gray -average) ; shift ;;
-p|--pixelate) effect=(-scale 10% -scale 1000%) ; shift ;;
-f|--font)
case "$2" in
"") shift 2 ;;
*) font=$2 ; shift 2 ;;
esac ;;
-t|--text) text=$2 ; shift 2 ;;
-l|--listfonts)
convert -list font | awk -F: '/Font: / { print $2 }' | sort -du | command -- ${PAGER:-less}
exit 0 ;;
-n|--nofork) i3lock_cmd+=(--nofork) ; shift ;;
--) shift; shot_custom=true; break ;;
*) echo "error" ; exit 1 ;;
esac
done
if "$shot_custom" && [[ $# -gt 0 ]]; then
shot=("$@");
fi
command -- "${shot[@]}" "$image"
value="60" #brightness value to compare to
color=$(convert "$image" -gravity center -crop 100x100+0+0 +repage -colorspace hsb \
-resize 1x1 txt:- | awk -F '[%$]' 'NR==2{gsub(",",""); printf "%.0f\n", $(NF-1)}');
if [[ $color -gt $value ]]; then #white background image and black text
bw="black"
icon="/home/$USER/.config/bspwm/scripts/i3lock-fancy/circlelockdark.png"
param=("--insidecolor=0000001c" "--ringcolor=0000003e" \
"--linecolor=00000000" "--keyhlcolor=ffffff80" "--ringvercolor=ffffff00" \
"--separatorcolor=22222260" "--insidevercolor=ffffff1c" \
"--ringwrongcolor=ffffff55" "--insidewrongcolor=ffffff1c" \
"--verifcolor=ffffff00" "--wrongcolor=ff000000" "--timecolor=ffffff00" \
"--datecolor=ffffff00" "--layoutcolor=ffffff00")
else #black
bw="white"
icon="/home/$USER/.config/bspwm/scripts/i3lock-fancy/circlelock.png"
param=("--insidecolor=ffffff1c" "--ringcolor=ffffff3e" \
"--linecolor=ffffff00" "--keyhlcolor=00000080" "--ringvercolor=00000000" \
"--separatorcolor=22222260" "--insidevercolor=0000001c" \
"--ringwrongcolor=00000055" "--insidewrongcolor=0000001c" \
"--verifcolor=00000000" "--wrongcolor=ff000000" "--timecolor=00000000" \
"--datecolor=00000000" "--layoutcolor=00000000")
fi
convert "$image" "${hue[@]}" "${effect[@]}" -font "$font" -pointsize 26 -fill "$bw" -gravity center \
-annotate +0+160 "$text" "$icon" -gravity center -composite "$image"
# If invoked with -d/--desktop, we'll attempt to minimize all windows (ie. show
# the desktop) before locking.
${desktop} ${desktop:+-k on}
# try to use i3lock with prepared parameters
if ! "${i3lock_cmd[@]}" "${param[@]}" >/dev/null 2>&1; then
# We have failed, lets get back to stock one
"${i3lock_cmd[@]}"
fi
# As above, if we were passed -d/--desktop, we'll attempt to restore all windows
# after unlocking.
${desktop} ${desktop:+-k off}

View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
awk '/^[a-z]/ && last {print "<small>",$0,"\t",last,"</small>"} {last=""} /^#/{last=$0}' ~/.config/sxhkd/sxhkdrc |
column -t -s $'\t' |
rofi -dmenu -i -p "keybindings:" -markup-rows -no-show-icons -width 1000 -lines 15 -yoffset 40

View File

@@ -0,0 +1,66 @@
#!/bin/bash
### VARIABLES
POLL_INTERVAL=120 # seconds at which to check battery level
LOW_BAT=33 # lesser than this is considered low battery
# If BAT0 doesn't work for you, check available devices with command below
#
# $ ls -1 /sys/class/power_supply/
#
BAT_PATH=/sys/class/power_supply/BAT0
BAT_STAT=$BAT_PATH/status
if [[ -f $BAT_PATH/charge_full ]]
then
BAT_FULL=$BAT_PATH/charge_full
BAT_NOW=$BAT_PATH/charge_now
elif [[ -f $BAT_PATH/energy_full ]]
then
BAT_FULL=$BAT_PATH/energy_full
BAT_NOW=$BAT_PATH/energy_now
else
exit
fi
### END OF VARIABLES
kill_running() { # stop older instances to not get multiple notifications
local mypid=$$
declare pids=($(pgrep -f ${0##*/}))
for pid in ${pids[@]/$mypid/}; do
kill $pid
sleep 1
done
}
launched=0
# Run only if battery is detected
if ls -1qA /sys/class/power_supply/ | grep -q BAT
then
kill_running
while true
do
bf=$(cat $BAT_FULL)
bn=$(cat $BAT_NOW)
bs=$(cat $BAT_STAT)
bat_percent=$(( 100 * $bn / $bf ))
if [[ $bat_percent -lt $LOW_BAT && "$bs" = "Discharging" && $launched -lt 3 ]]
then
notify-send --urgency=critical "$bat_percent% : Low Battery!"
launched=$((launched+1))
elif [[ "$bs" = "Charging" ]]
then
launched=0
fi
sleep $POLL_INTERVAL
done
fi

View File

@@ -0,0 +1,13 @@
#!/bin/bash
#
#kitty --class clipse -e clipse keep
# find existing node
NODE=$(for id in $(bspc query -N -n .window); do
xprop -id $id WM_CLASS 2>/dev/null | grep -q "nvim_notes" && echo $id && break
done)
if [ -n "$NODE" ]; then
bspc node "$NODE" -d focused
bspc node "$NODE" -f
exit 0
fi
kitty --class nvim_notes --session ~/.config/kitty/session_nvim.conf &

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# options to be displayed
option0="screen"
option1="area"
option2="window"
# options to be displyed
options="$option0\n$option1\n$option2"
selected="$(echo -e "$options" | rofi -lines 3 -dmenu -font "Ubuntu Medium 13" -p "scrot")"
case $selected in
$option0)
cd ~/Скриншоты/ && sleep 1 && scrot '%j_%d-%m-%Y_%T'.png;;
$option1)
cd ~/Скриншоты/ && scrot -s '%j_%d-%m-%Y_%T'.png;;
$option2)
cd ~/Скриншоты/ && sleep 1 && scrot -u '%j_%d-%m-%Y_%T'.png;;
esac

View File

@@ -0,0 +1,34 @@
#!/usr/bin/env bash
WIN_CLASS="nvim_notes"
find_node() {
for id in $(bspc query -N -n .window); do
xprop -id "$id" WM_CLASS 2>/dev/null | grep -q "$WIN_CLASS" && echo "$id" && return
done
}
NODE=$(find_node)
if [ -n "$NODE" ]; then
# если окно скрыто — показать, иначе скрыть
HIDDEN=$(bspc query -N -n "$NODE" --names 2>/dev/null | grep -q hidden && echo yes || echo no)
# надёжно: проверим фокус
FOC=$(bspc query -N -n focused.window 2>/dev/null)
if [ "$NODE" = "$FOC" ]; then
bspc node "$NODE" -g hidden=on
exit 0
fi
# toggle hidden state
# попробуем прочитать флаг hidden через query -T (если доступно)
if bspc query -T -n "$NODE" 2>/dev/null | grep -q '"hidden": true'; then
bspc node "$NODE" -g hidden=off
bspc node "$NODE" -d focused
bspc node "$NODE" -f
else
bspc node "$NODE" -g hidden=on
fi
exit 0
fi
# если не найден — запустить
~/.config/bspwm/scripts/nvim_notes.sh &

View File

@@ -0,0 +1,9 @@
#! /bin/bash
CURRENT_LAYOUT=$(setxkbmap -query|awk -F : 'NR==3{print $2}'|sed 's/ //g')
if [ "$CURRENT_LAYOUT" = "us" ]; then
setxkbmap "ru"
else
setxkbmap "us"
fi

254
config/btop/btop.conf Normal file
View File

@@ -0,0 +1,254 @@
#? Config file for btop v. 1.4.3
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
color_theme = "/usr/share/btop/themes/gruvbox_material_dark.theme"
#* If the theme set background should be shown, set to False if you want terminal background transparency.
theme_background = True
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
truecolor = True
#* Set to true to force tty mode regardless if a real tty has been detected or not.
#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols.
force_tty = False
#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.
#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box.
#* Use whitespace " " as separator between different presets.
#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty"
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists.
#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift.
vim_keys = False
#* Rounded corners on boxes, is ignored if TTY mode is ON.
rounded_corners = True
#* Default symbols to use for graph creation, "braille", "block" or "tty".
#* "braille" offers the highest resolution but might not be included in all fonts.
#* "block" has half the resolution of braille but uses more common characters.
#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY.
#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view.
graph_symbol = "braille"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_cpu = "default"
# Graph symbol to use for graphs in gpu box, "default", "braille", "block" or "tty".
graph_symbol_gpu = "default"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_mem = "default"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_net = "default"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_proc = "default"
#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace.
shown_boxes = "net cpu mem proc"
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
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 = "threads"
#* Reverse sorting order, True or False.
proc_reversed = False
#* Show processes as a tree.
proc_tree = False
#* Use the cpu graph colors in the process list.
proc_colors = True
#* Use a darkening gradient in the process list.
proc_gradient = True
#* If process cpu usage should be of the core it's running on or usage of the total available cpu power.
proc_per_core = False
#* Show process memory as bytes instead of percent.
proc_mem_bytes = True
#* Show cpu graph for each process.
proc_cpu_graphs = True
#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate)
proc_info_smaps = False
#* Show proc box on left side of screen instead of right.
proc_left = False
#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop).
proc_filter_kernel = False
#* In tree-view, always accumulate child process resources in the parent process.
proc_aggregate = False
#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available.
#* Select from a list of detected attributes from the options menu.
cpu_graph_upper = "total"
#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available.
#* Select from a list of detected attributes from the options menu.
cpu_graph_lower = "total"
#* If gpu info should be shown in the cpu box. Available values = "Auto", "On" and "Off".
show_gpu_info = "Auto"
#* Toggles if the lower CPU graph should be inverted.
cpu_invert_lower = True
#* Set to True to completely disable the lower CPU graph.
cpu_single_graph = False
#* Show cpu box at bottom of screen instead of top.
cpu_bottom = False
#* Shows the system uptime in the CPU box.
show_uptime = True
#* Show cpu temperature.
check_temp = True
#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors.
cpu_sensor = "Auto"
#* Show temperatures for cpu cores also if check_temp is True and sensors has been found.
show_coretemp = True
#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core.
#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine.
#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries.
#* Example: "4:0 5:1 6:3"
cpu_core_map = ""
#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine".
temp_scale = "celsius"
#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024.
base_10_sizes = False
#* Show CPU frequency.
show_cpu_freq = True
#* Draw a clock at top of screen, formatting according to strftime, empty string to disable.
#* Special formatting: /host = hostname | /user = username | /uptime = system uptime
clock_format = "%X"
#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.
background_update = True
#* Custom cpu model name, empty string to disable.
custom_cpu_name = ""
#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ".
#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user".
disks_filter = ""
#* Show graphs instead of meters for memory values.
mem_graphs = True
#* Show mem box below net box instead of above.
mem_below_net = False
#* Count ZFS ARC in cached and available memory.
zfs_arc_cached = True
#* If swap memory should be shown in memory box.
show_swap = True
#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.
swap_disk = True
#* If mem box should be split to also show disks info.
show_disks = False
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
only_physical = True
#* Read disks list from /etc/fstab. This also disables only_physical.
use_fstab = True
#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool)
zfs_hide_datasets = False
#* Set to true to show available disk space for privileged users.
disk_free_priv = False
#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view.
show_io_stat = True
#* Toggles io mode for disks, showing big graphs for disk read/write speeds.
io_mode = False
#* Set to True to show combined read/write io graphs in io mode.
io_graph_combined = False
#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ".
#* Example: "/mnt/media:100 /:20 /boot:1".
io_graph_speeds = ""
#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False.
net_download = 100
net_upload = 100
#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.
net_auto = True
#* Sync the auto scaling for download and upload to whichever currently has the highest scale.
net_sync = False
#* Starts with the Network Interface specified here.
net_iface = ""
#* "True" shows bitrates in base 10 (Kbps, Mbps). "False" shows bitrates in binary sizes (Kibps, Mibps, etc.). "Auto" uses base_10_sizes.
base_10_bitrate = "Auto"
#* Show battery stats in top right if battery is present.
show_battery = False
#* Which battery to use if multiple are present. "Auto" for auto detection.
selected_battery = "Auto"
#* Show power stats of battery next to charge indicator.
show_battery_watts = True
#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
log_level = "WARNING"
#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards.
nvml_measure_pcie_speeds = True
#* Measure PCIe throughput on AMD cards, may impact performance on certain cards.
rsmi_measure_pcie_speeds = True
#* Horizontally mirror the GPU graph.
gpu_mirror_graph = True
#* Custom gpu0 model name, empty string to disable.
custom_gpu_name0 = ""
#* Custom gpu1 model name, empty string to disable.
custom_gpu_name1 = ""
#* Custom gpu2 model name, empty string to disable.
custom_gpu_name2 = ""
#* Custom gpu3 model name, empty string to disable.
custom_gpu_name3 = ""
#* Custom gpu4 model name, empty string to disable.
custom_gpu_name4 = ""
#* Custom gpu5 model name, empty string to disable.
custom_gpu_name5 = ""

View File

@@ -0,0 +1,92 @@
#Bashtop gruvbox (https://github.com/morhetz/gruvbox) theme
#by BachoSeven
# Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0-255 0-255 0-255"
# example for white: "#FFFFFF", "#ff" or "255 255 255".
# All graphs and meters can be gradients
# For single color graphs leave "mid" and "end" variable empty.
# Use "start" and "end" variables for two color gradient
# Use "start", "mid" and "end" for three color gradient
# Main background, empty for terminal default, need to be empty if you want transparent background
theme[main_bg]="#1d2021"
# Main text color
theme[main_fg]="#a89984"
# Title color for boxes
theme[title]="#ebdbb2"
# Highlight color for keyboard shortcuts
theme[hi_fg]="#d79921"
# Background color of selected items
theme[selected_bg]="#282828"
# Foreground color of selected items
theme[selected_fg]="#fabd2f"
# Color of inactive/disabled text
theme[inactive_fg]="#282828"
# Color of text appearing on top of graphs, i.e uptime and current network graph scaling
theme[graph_text]="#585858"
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
theme[proc_misc]="#98971a"
# Cpu box outline color
theme[cpu_box]="#a89984"
# Memory/disks box outline color
theme[mem_box]="#a89984"
# Net up/down box outline color
theme[net_box]="#a89984"
# Processes box outline color
theme[proc_box]="#a89984"
# Box divider line and small boxes line color
theme[div_line]="#a89984"
# Temperature graph colors
theme[temp_start]="#458588"
theme[temp_mid]="#d3869b"
theme[temp_end]="#fb4394"
# CPU graph colors
theme[cpu_start]="#b8bb26"
theme[cpu_mid]="#d79921"
theme[cpu_end]="#fb4934"
# Mem/Disk free meter
theme[free_start]="#4e5900"
theme[free_mid]=""
theme[free_end]="#98971a"
# Mem/Disk cached meter
theme[cached_start]="#458588"
theme[cached_mid]=""
theme[cached_end]="#83a598"
# Mem/Disk available meter
theme[available_start]="#d79921"
theme[available_mid]=""
theme[available_end]="#fabd2f"
# Mem/Disk used meter
theme[used_start]="#cc241d"
theme[used_mid]=""
theme[used_end]="#fb4934"
# Download graph colors
theme[download_start]="#3d4070"
theme[download_mid]="#6c71c4"
theme[download_end]="#a3a8f7"
# Upload graph colors
theme[upload_start]="#701c45"
theme[upload_mid]="#b16286"
theme[upload_end]="#d3869b"

View File

@@ -0,0 +1,98 @@
# Bashtop gruvbox (https://github.com/morhetz/gruvbox) theme
# First version created By BachoSeven
# Adjustments to proper colors by Pietryszak (https://github.com/pietryszak/)
# Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0-255 0-255 0-255"
# example for white: "#FFFFFF", "#ff" or "255 255 255".
# All graphs and meters can be gradients
# For single color graphs leave "mid" and "end" variable empty.
# Use "start" and "end" variables for two color gradient
# Use "start", "mid" and "end" for three color gradient
# Main background, empty for terminal default, need to be empty if you want transparent background
theme[main_bg]="#282828"
# Main text color
theme[main_fg]="#EBDBB2"
# Title color for boxes
theme[title]="#EBDBB2"
# Highlight color for keyboard shortcuts
theme[hi_fg]="#CC241D"
# Background color of selected items
theme[selected_bg]="#32302F"
# Foreground color of selected items
theme[selected_fg]="#D3869B"
# Color of inactive/disabled text
theme[inactive_fg]="#3C3836"
# Color of text appearing on top of graphs, i.e uptime and current network graph scaling
theme[graph_text]="#A89984"
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
theme[proc_misc]="#98971A"
# Cpu box outline color
theme[cpu_box]="#A89984"
# Memory/disks box outline color
theme[mem_box]="#A89984"
# Net up/down box outline color
theme[net_box]="#A89984"
# Processes box outline color
theme[proc_box]="#A89984"
# Box divider line and small boxes line color
theme[div_line]="#A89984"
# Temperature graph colors
theme[temp_start]="#98971A"
theme[temp_mid]=""
theme[temp_end]="#CC241D"
# CPU graph colors
theme[cpu_start]="#8EC07C"
theme[cpu_mid]="#D79921"
theme[cpu_end]="#CC241D"
# Mem/Disk free meter
theme[free_start]="#CC241D"
theme[free_mid]="#D79921"
theme[free_end]="#8EC07C"
# Mem/Disk cached meter
theme[cached_start]="#458588"
theme[cached_mid]="#83A598"
theme[cached_end]="#8EC07C"
# Mem/Disk available meter
theme[available_start]="#CC241D"
theme[available_mid]="#D65D0E"
theme[available_end]="#FABD2F"
# Mem/Disk used meter
theme[used_start]="#8EC07C"
theme[used_mid]="#D65D0E"
theme[used_end]="#CC241D"
# Download graph colors
theme[download_start]="#98971A"
theme[download_mid]="#689d6A"
theme[download_end]="#B8BB26"
# Upload graph colors
theme[upload_start]="#CC241D"
theme[upload_mid]="#D65d0E"
theme[upload_end]="#FABF2F"
# Process box color gradient for threads, mem and cpu usage
theme[process_start]="#8EC07C"
theme[process_mid]="#FE8019"
theme[process_end]="#CC241D"

View File

@@ -0,0 +1,92 @@
# Btop gruvbox material dark (https://github.com/sainnhe/gruvbox-material) theme
# by Marco Radocchia
# Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0-255 0-255 0-255"
# example for white: "#FFFFFF", "#ff" or "255 255 255".
# All graphs and meters can be gradients
# For single color graphs leave "mid" and "end" variable empty.
# Use "start" and "end" variables for two color gradient
# Use "start", "mid" and "end" for three color gradient
# Main background, empty for terminal default, need to be empty if you want transparent background
theme[main_bg]="#282828"
# Main text color
theme[main_fg]="#d4be98"
# Title color for boxes
theme[title]="#d4be98"
# Highlight color for keyboard shortcuts
theme[hi_fg]="#ea6962"
# Background color of selected items
theme[selected_bg]="#d8a657"
# Foreground color of selected items
theme[selected_fg]="#282828"
# Color of inactive/disabled text
theme[inactive_fg]="#282828"
# Color of text appearing on top of graphs, i.e uptime and current network graph scaling
theme[graph_text]="#665c54"
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
theme[proc_misc]="#a9b665"
# Cpu box outline color
theme[cpu_box]="#7c6f64"
# Memory/disks box outline color
theme[mem_box]="#7c6f64"
# Net up/down box outline color
theme[net_box]="#7c6f64"
# Processes box outline color
theme[proc_box]="#7c6f64"
# Box divider line and small boxes line color
theme[div_line]="#7c6f64"
# Temperature graph colors
theme[temp_start]="#7daea3"
theme[temp_mid]="#e78a4e"
theme[temp_end]="#ea6962"
# CPU graph colors
theme[cpu_start]="#a9b665"
theme[cpu_mid]="#d8a657"
theme[cpu_end]="#ea6962"
# Mem/Disk free meter
theme[free_start]="#89b482"
theme[free_mid]=""
theme[free_end]=""
# Mem/Disk cached meter
theme[cached_start]="#7daea3"
theme[cached_mid]=""
theme[cached_end]=""
# Mem/Disk available meter
theme[available_start]="#d8a657"
theme[available_mid]=""
theme[available_end]=""
# Mem/Disk used meter
theme[used_start]="#ea6962"
theme[used_mid]=""
theme[used_end]=""
# Download graph colors
theme[download_start]="#e78a4e"
theme[download_mid]=""
theme[download_end]=""
# Upload graph colors
theme[upload_start]="#d3869b"
theme[upload_mid]=""
theme[upload_end]=""

166
config/cava/config Normal file
View File

@@ -0,0 +1,166 @@
## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting.
[general]
# Smoothing mode. Can be 'normal', 'scientific' or 'waves'.
mode = normal
# Accepts only non-negative values.
framerate = 60
# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off
# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens.
; autosens = 1
; overshoot = 20
# Manual sensitivity in %. Autosens must be turned off for this to take effect.
# 200 means double height. Accepts only non-negative values.
; sensitivity = 100
# The number of bars (0-200). 0 sets it to auto (fill up console).
# Bars' width and space between bars in number of characters.
bars = 0
bar_width = 4
bar_spacing = 1
# Lower and higher cutoff frequencies for lowest and highest bars
# the bandwidth of the visualizer.
# Note: there is a minimum total bandwidth of 43Mhz x number of bars.
# Cava will automatically increase the higher cutoff if a too low band is specified.
; lower_cutoff_freq = 50
; higher_cutoff_freq = 10000
[input]
# Audio capturing method. Possible methods are: 'pulse', 'alsa' or 'fifo'.
# Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with.
#
# All input methods uses the same config variable 'source'
# to define where it should get the audio.
#
# For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink
# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them).
#
# For alsa 'source' will be the capture device.
# For fifo 'source' will be the path to fifo-file.
method = pulse
#method = pipewire
source = auto
; method = alsa
; source = hw:Loopback,1
; method = fifo
; source = /tmp/mpd.fifo
[output]
# Ouput method. Can be 'ncurses', 'noncurses' or 'raw'.
# 'noncurses' is for systems that does not suport ncurses.
# 'raw' is a 16 bit data stream of the bar heights that can be used to send to other applications.
# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above.
method = ncurses
# Visual styles. Can be 'stereo' or 'mono'.
# 'stereo' mirrors both channels with low frequencies in center.
# 'mono' averages both channels and outputs left to right lowest to highest frequencies.
style = mono
# Raw output target. A fifo will be created if target does not exist.
; raw_target = /dev/stdout
# Raw data format. Can be 'binary' or 'ascii'.
; data_format = binary
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
; bit_format = 16bit
# Ascii max value. In 'ascii' mode range will run from 0 to value specified here
; ascii_max_range = 1000
# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters.
# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)).
; bar_delimiter = 59
; frame_delimiter = 10
#[color]
# # Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow.
# # Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires a
# # terminal that can change color definitions such as Gnome-terminal or rxvt.
# ; background = black
# ; foreground = cyan
# # Gradient mode, only hex defined colors are supported, background must also be defined in hex
# # or remain commented out. 1 = on, 0 = off. Warning: for certain terminal emulators cava will
# # not able to restore color definitions on exit, simply restart your terminal to restore colors.
#gradient = 1
#gradient_color_1 = '#d79922'
#gradient_color_2 = '#cd241d'
[smoothing]
# Multiplier for the integral smoothing calculations. Takes values from 0-0.99.
# Higher values means smoother, but less precise. Set to 0 to disable.
; integral = 0.7
# Disables or enables the so-called "Monstercat smoothing". Set to 0 to disable.
; monstercat = 1
; waves = 1
# Set gravity multiplier for "drop off". Higher values means bars will drop faster.
# Accepts only non-negative values. 0.5 means half gravity, 2 means double. Set to 0 to disable "drop off".
; gravity = 1
# In bar height, bars that would have been lower that this will not be drawn.
; ignore = 0
[eq]
# This one is tricky. You can have as much keys as you want.
# Remember to uncomment more then one key! More keys = more precision.
# Look at readme.md on github for further explanations and examples.
; 1 = 1 # bass
; 2 = 1
; 3 = 1 # midtone
; 4 = 1
; 5 = 1 # treble
[color]
#background = ''
gradient_color_2 = '#232380'
gradient_color_3 = '#2C2CA0'
gradient_color_4 = '#4C4C7E'
gradient_color_5 = '#5A5AB2'
gradient_color_6 = '#6C6CB2'
gradient_color_7 = '#AAAACC'
gradient_color_8 = '#1A1A60''mono'
[color]
gradient = 1
# gradient_count = 8
gradient_color_1 = '#fdd402'
gradient_color_2 = '#fdbe02'
gradient_color_3 = '#fd9502'
gradient_color_4 = '#fd9502'
gradient_color_5 = '#fd4f02'
gradient_color_6 = '#fd4f02'
gradient_color_7 = '#fd4f02'
gradient_color_8 = '#fd1502'

View File

@@ -0,0 +1,79 @@
#version 330
in vec2 fragCoord;
out vec4 fragColor;
// bar values. defaults to left channels first (low to high), then right (high to low).
uniform float bars[512];
uniform int bars_count; // number of bars (left + right) (configurable)
uniform int bar_width; // bar width (configurable), not used here
uniform int bar_spacing; // space bewteen bars (configurable)
uniform vec3 u_resolution; // window resolution
//colors, configurable in cava config file (r,g,b) (0.0 - 1.0)
uniform vec3 bg_color; // background color
uniform vec3 fg_color; // foreground color
uniform int gradient_count;
uniform vec3 gradient_colors[8]; // gradient colors
vec3 normalize_C(float y,vec3 col_1, vec3 col_2, float y_min, float y_max)
{
//create color based on fraction of this color and next color
float yr = (y - y_min) / (y_max - y_min);
return col_1 * (1.0 - yr) + col_2 * yr;
}
void main()
{
// find which bar to use based on where we are on the x axis
float x = u_resolution.x * fragCoord.x;
int bar = int(bars_count * fragCoord.x);
//calculate a bar size
float bar_size = u_resolution.x / bars_count;
//the y coordinate and bar values are the same
float y = bars[bar];
// make sure there is a thin line at bottom
if (y * u_resolution.y < 1.0)
{
y = 1.0 / u_resolution.y;
}
//draw the bar up to current height
if (y > fragCoord.y)
{
//make some space between bars basen on settings
if (x > (bar + 1) * (bar_size) - bar_spacing)
{
fragColor = vec4(bg_color,1.0);
}
else
{
if (gradient_count == 0)
{
fragColor = vec4(fg_color,1.0);
}
else
{
//find which color in the configured gradient we are at
int color = int((gradient_count - 1) * fragCoord.y);
//find where on y this and next color is supposed to be
float y_min = color / (gradient_count - 1.0);
float y_max = (color + 1.0) / (gradient_count - 1.0);
//make color
fragColor = vec4(normalize_C(fragCoord.y, gradient_colors[color], gradient_colors[color + 1], y_min, y_max), 1.0);
}
}
}
else
{
fragColor = vec4(bg_color,1.0);
}
}

View File

@@ -0,0 +1,117 @@
#version 330
// this shader was stolen from shadertoy user ChunderFPV
#define SCALE 8.0
#define PI radians(180.0)
#define TAU (PI * 2.0)
#define CS(a) vec2(cos(a), sin(a))
#define PT(u, r) smoothstep(0.0, r, r - length(u))
in vec2 fragCoord;
out vec4 fragColor;
uniform float bars[512];
uniform int bars_count; // number of bars (left + right) (configurable)
uniform float shader_time; // shader execution time s
uniform int bar_width; // bar width (configurable), not used here
uniform int bar_spacing; // space bewteen bars (configurable)
uniform vec3 u_resolution; // window resolution
// colors, configurable in cava config file (r,g,b) (0.0 - 1.0)
uniform vec3 bg_color; // background color
uniform vec3 fg_color; // foreground color
uniform int gradient_count;
uniform vec3 gradient_colors[8]; // gradient colors
// gradient map ( color, equation, time, width, shadow, reciprocal )
vec3 gm(vec3 c, float n, float t, float w, float d, bool i) {
float g = min(abs(n), 1.0 / abs(n));
float s = abs(sin(n * PI - t));
if (i)
s = min(s, abs(sin(PI / n + t)));
return (1.0 - pow(abs(s), w)) * c * pow(g, d) * 6.0;
}
// denominator spiral, use 1/n for numerator
// ( screen xy, spiral exponent, decimal, line width, hardness, rotation )
float ds(vec2 u, float e, float n, float w, float h, float ro) {
float ur = length(u); // unit radius
float sr = pow(ur, e); // spiral radius
float a = round(sr) * n * TAU; // arc
vec2 xy = CS(a + ro) * ur; // xy coords
float l = PT(u - xy, w); // line
float s = mod(sr + 0.5, 1.0); // gradient smooth
s = min(s, 1.0 - s); // darken filter
return l * s * h;
}
void main() {
float t = shader_time / PI * 2.0;
vec4 m = vec4(0, 0, 0, 0); // iMouse;
m.xy = m.xy * 2.0 / u_resolution.xy - 1.0; // ±1x, ±1y
if (m.z > 0.0)
t += m.y * SCALE; // move time with mouse y
float z = (m.z > 0.0) ? pow(1.0 - abs(m.y), sign(m.y)) : 1.0; // zoom (+)
float e = (m.z > 0.0) ? pow(1.0 - abs(m.x), -sign(m.x))
: 1.0; // screen exponent (+)
float se = (m.z > 0.0) ? e * -sign(m.y) : 1.0; // spiral exponent
vec3 bg = vec3(0); // black background
float aa = 3.0; // anti-aliasing
for (float j = 0.0; j < aa; j++)
for (float k = 0.0; k < aa; k++) {
vec3 c = vec3(0);
vec2 o = vec2(j, k) / aa;
vec2 uv = (fragCoord * u_resolution.xy - 0.5 * u_resolution.xy + o) /
u_resolution.y * SCALE * z; // apply cartesian, scale and zoom
if (m.z > 0.0)
uv =
exp(log(abs(uv)) * e) * sign(uv); // warp screen space with exponent
float px = length(fwidth(uv)); // pixel width
float x = uv.x; // every pixel on x
float y = uv.y; // every pixel on y
float l = length(uv); // hypot of xy: sqrt(x*x+y*y)
float mc = (x * x + y * y - 1.0) / y; // metallic circle at xy
float g = min(abs(mc), 1.0 / abs(mc)); // gradient
vec3 gold = vec3(1.0, 0.6, 0.0) * g * l;
vec3 blue = vec3(0.3, 0.5, 0.9) * (1.0 - g);
vec3 rgb = max(gold, blue);
float w = 0.1; // line width
float d = 0.4; // shadow depth
c = max(c, gm(rgb, mc, -t, w * bars[0], d, false)); // metallic
c = max(c, gm(rgb, abs(y / x) * sign(y), -t, w * bars[1], d,
false)); // tangent
c = max(c, gm(rgb, (x * x) / (y * y) * sign(y), -t, w * bars[2], d,
false)); // sqrt cotangent
c = max(c, gm(rgb, (x * x) + (y * y), t, w * bars[3], d,
true)); // sqrt circles
c += rgb * ds(uv, se, t / TAU, px * 2.0 * bars[4], 2.0, 0.0); // spiral 1a
c += rgb * ds(uv, se, t / TAU, px * 2.0 * bars[5], 2.0, PI); // spiral 1b
c +=
rgb * ds(uv, -se, t / TAU, px * 2.0 * bars[6], 2.0, 0.0); // spiral 2a
c += rgb * ds(uv, -se, t / TAU, px * 2.0 * bars[7], 2.0, PI); // spiral 2b
c = max(c, 0.0); // clear negative color
c += pow(max(1.0 - l, 0.0), 3.0 / z); // center glow
if (m.z > 0.0) // display grid on click
{
vec2 xyg = abs(fract(uv + 0.5) - 0.5) / px; // xy grid
c.gb += 0.2 * (1.0 - min(min(xyg.x, xyg.y), 1.0));
}
bg += c;
}
bg /= aa * aa;
bg *= sqrt(bg) * 1.5;
fragColor = vec4(bg, 1.0);
}

View File

@@ -0,0 +1,34 @@
#version 330
in vec2 fragCoord;
out vec4 fragColor;
// bar values. defaults to left channels first (low to high), then right (high to low).
uniform float bars[512];
uniform int bars_count; // number of bars (left + right) (configurable)
uniform vec3 u_resolution; // window resolution, not used here
//colors, configurable in cava config file
uniform vec3 bg_color; // background color(r,g,b) (0.0 - 1.0), not used here
uniform vec3 fg_color; // foreground color, not used here
void main()
{
// find which bar to use based on where we are on the x axis
int bar = int(bars_count * fragCoord.x);
float bar_y = 1.0 - abs((fragCoord.y - 0.5)) * 2.0;
float y = (bars[bar]) * bar_y;
float bar_x = (fragCoord.x - float(bar) / float(bars_count)) * bars_count;
float bar_r = 1.0 - abs((bar_x - 0.5)) * 2;
bar_r = bar_r * bar_r * 2;
// set color
fragColor.r = fg_color.x * y * bar_r;
fragColor.g = fg_color.y * y * bar_r;
fragColor.b = fg_color.z * y * bar_r;
}

View File

@@ -0,0 +1,14 @@
#version 330
// Input vertex data, different for all executions of this shader.
layout(location = 0) in vec3 vertexPosition_modelspace;
// Output data ; will be interpolated for each fragment.
out vec2 fragCoord;
void main()
{
gl_Position = vec4(vertexPosition_modelspace,1);
fragCoord = (vertexPosition_modelspace.xy+vec2(1,1))/2.0;
}

View File

@@ -0,0 +1,53 @@
#version 330
in vec2 fragCoord;
out vec4 fragColor;
// bar values. defaults to left channels first (low to high), then right (high
// to low).
uniform float bars[512];
uniform int bars_count; // number of bars (left + right) (configurable)
uniform int bar_width; // bar width (configurable), not used here
uniform int bar_spacing; // space bewteen bars (configurable)
uniform vec3 u_resolution; // window resolution
// colors, configurable in cava config file (r,g,b) (0.0 - 1.0)
uniform vec3 bg_color; // background color
uniform vec3 fg_color; // foreground color
uniform int gradient_count;
uniform vec3 gradient_colors[8]; // gradient colors
uniform sampler2D inputTexture; // Texture from the first render pass
vec3 normalize_C(float y, vec3 col_1, vec3 col_2, float y_min, float y_max) {
// create color based on fraction of this color and next color
float yr = (y - y_min) / (y_max - y_min);
return col_1 * (1.0 - yr) + col_2 * yr;
}
void main() {
// find which bar to use based on where we are on the y axis
int bar = int(bars_count * fragCoord.y);
float y = bars[bar];
float band_size = 1.0 / float(bars_count);
float current_band_min = bar * band_size;
float current_band_max = (bar + 1) * band_size;
int hist_length = 512;
float win_size = 1.0 / hist_length;
if (fragCoord.x > 1.0 - win_size) {
if (fragCoord.y > current_band_min && fragCoord.y < current_band_max) {
fragColor = vec4(fg_color * y, 1.0);
}
} else {
vec2 offsetCoord = fragCoord;
offsetCoord.x += float(win_size);
fragColor = texture(inputTexture, offsetCoord);
}
}

View File

@@ -0,0 +1,112 @@
#version 330
// Emulate the "line style" spectrum analyzer from Winamp 2.
// Try this config for a demonstration:
/*
[general]
bar_width = 2
bar_spacing = 0
higher_cutoff_freq = 22000
[output]
method = sdl_glsl
channels = mono
fragment_shader = winamp_line_style_spectrum.frag
[color]
background = '#000000'
gradient = 1
gradient_color_1 = '#319C08'
gradient_color_2 = '#29CE10'
gradient_color_3 = '#BDDE29'
gradient_color_4 = '#DEA518'
gradient_color_5 = '#D66600'
gradient_color_6 = '#CE2910'
[smoothing]
noise_reduction = 10
*/
in vec2 fragCoord;
out vec4 fragColor;
// bar values. defaults to left channels first (low to high), then right (high to low).
uniform float bars[512];
uniform int bars_count; // number of bars (left + right) (configurable)
uniform int bar_width; // bar width (configurable), not used here
uniform int bar_spacing; // space bewteen bars (configurable)
uniform vec3 u_resolution; // window resolution
//colors, configurable in cava config file (r,g,b) (0.0 - 1.0)
uniform vec3 bg_color; // background color
uniform vec3 fg_color; // foreground color
uniform int gradient_count;
uniform vec3 gradient_colors[8]; // gradient colors
vec3 normalize_C(float y,vec3 col_1, vec3 col_2, float y_min, float y_max)
{
//create color based on fraction of this color and next color
float yr = (y - y_min) / (y_max - y_min);
return col_1 * (1.0 - yr) + col_2 * yr;
}
void main()
{
// find which bar to use based on where we are on the x axis
float x = u_resolution.x * fragCoord.x;
int bar = int(bars_count * fragCoord.x);
//calculate a bar size
float bar_size = u_resolution.x / bars_count;
//the y coordinate is stretched by 4X to resemble Winamp
float y = min(bars[bar] * 4.0, 1.0);
// make sure there is a thin line at bottom
if (y * u_resolution.y < 1.0)
{
y = 1.0 / u_resolution.y;
}
vec4 bar_color;
if (gradient_count == 0)
{
bar_color = vec4(fg_color,1.0);
}
else
{
//find color in the configured gradient for the top of the bar
int color = int((gradient_count - 1) * y);
//find where on y this and next color is supposed to be
float y_min = float(color) / (gradient_count - 1.0);
float y_max = float(color + 1) / (gradient_count - 1.0);
//make a solid color for the entire bar
bar_color = vec4(normalize_C(y, gradient_colors[color], gradient_colors[color + 1], y_min, y_max), 1.0);
}
//draw the bar up to current height
if (y > fragCoord.y)
{
//make some space between bars based on settings
if (x > (bar + 1) * (bar_size) - bar_spacing)
{
fragColor = vec4(bg_color,1.0);
}
else
{
fragColor = bar_color;
}
}
else
{
fragColor = vec4(bg_color,1.0);
}
}

View File

@@ -0,0 +1,15 @@
[color]
background = '#001e26'
foreground = '#708183'
gradient = 1
gradient_color_1 = '#268bd2'
gradient_color_2 = '#6c71c4'
gradient_color_3 = '#cb4b16'
horizontal_gradient = 1
horizontal_gradient_color_1 = '#586e75'
horizontal_gradient_color_2 = '#b58900'
horizontal_gradient_color_3 = '#839496'
blend_direction = 'up'

View File

@@ -0,0 +1,10 @@
[color]
horizontal_gradient = 1
horizontal_gradient_color_1 = '#c45161'
horizontal_gradient_color_2 = '#e094a0'
horizontal_gradient_color_3 = '#f2b6c0'
horizontal_gradient_color_4 = '#f2dde1'
horizontal_gradient_color_5 = '#cbc7d8'
horizontal_gradient_color_6 = '#8db7d2'
horizontal_gradient_color_7 = '#5e62a9'
horizontal_gradient_color_8 = '#434279'

View File

@@ -0,0 +1,6 @@
{
"historyFile": "clipboard_history.json",
"maxHistory": 500,
"themeFile": "gruvbox.json",
"tempDir": "tmp_files"
}

View File

@@ -0,0 +1,16 @@
{
"useCustomTheme": false,
"DimmedDesc": "#ffffff",
"DimmedTitle": "#ffffff",
"FilteredMatch": "#ffffff",
"NormalDesc": "#ffffff",
"NormalTitle": "#ffffff",
"SelectedDesc": "#ffffff",
"SelectedTitle": "#ffffff",
"SelectedBorder": "#ffffff",
"SelectedDescBorder": "#ffffff",
"TitleFore": "#ffffff",
"Titleback": "#434C5E",
"StatusMsg": "#ffffff",
"PinIndicatorColor": "#ff0000"
}

View File

@@ -0,0 +1,16 @@
{
"useCustomTheme": true,
"DimmedDesc": "#928374",
"DimmedTitle": "#928374",
"FilteredMatch": "#B8BB26",
"NormalDesc": "#A89984",
"NormalTitle": "#83a598",
"SelectedDesc": "#8EC07C",
"SelectedTitle": "#fe8019",
"SelectedBorder": "#83A598",
"SelectedDescBorder": "#83A598",
"TitleFore": "#EBDBB2",
"Titleback": "#282828",
"StatusMsg": "#B8BB26",
"PinIndicatorColor": "#f73028"
}

307
config/compfy.conf Normal file
View File

@@ -0,0 +1,307 @@
# Enables patches for specific window managers.
# Currently patched: "awesome", "dwm", "herb"
wm-support = "none";
#################################
# ANIMATIONS #
#################################
# Toggles whether animations should be used for windows
animations = true;
# Changes animation stiffness.
# What stiffness basically is inferring is how much the window geometry will be stretched,
# when opening/closing windows
animation-stiffness = 120;
# Change the mass of windows
# Modifying the mass of windows makes them virtually heavier and therefore slower to animate.
animation-window-mass = 0.5;
# Change dampening applied during the animation
# This setting basically does what it says. It dampens the animation of windows.
animation-dampening = 12;
# Toggles clamping
# if you are using a animation setting that would make the window extend larger than it would be after,
# the animation has played then it will cut the animation off once the window reaches its physical geometry.
animation-clamping = false;
# Set the open window animation.
# Options: ("none","zoom","fly-in","slide-up","slide-down","slide-left","slide-right")
animation-for-open-window = "slide-up";
# Set the closing window animation.
# Options: ("none","zoom","fly-in","slide-up","slide-down","slide-left","slide-right")
animation-for-unmap-window = "slide-down";
# Exclude certain windows from having a open animation.
# animation-open-exclude = [
# "class_g = 'Dunst'"
# ];
# Exclude certain windows from having a closing animation.
# animation-unmap-exclude = [
# "class_g = 'Dunst'"
# ];
#################################
# Corners #
#################################
# Adjusts the window corner rounding in pixels.
corner-radius = 0;
# Explicitly declare the corner-radius of individual windows.
#
# corners-rule = [
# "20:class_g = 'Polybar'",
# "15:class_g = 'Dunst'",
# ];
# Exclude conditions for rounded corners.
#
# rounded-corners-exclude = [
# "window_type = 'dock'",
# "class_g = 'bar'"
# ];
#################################
# Shadows #
#################################
# Enabled client-side shadows on windows. Note desktop windows
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
# unless explicitly requested using the wintypes option.
#
shadow = true;
# The blur radius for shadows, in pixels. (defaults to 16)
shadow-radius = 16;
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
# shadow-opacity = 0.75;
# The left offset for shadows, in pixels. (defaults to -15)
shadow-offset-x = -15;
# The top offset for shadows, in pixels. (defaults to -15)
shadow-offset-y = -15;
# Red color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-red = 0;
# Green color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-green = 0;
# Blue color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-blue = 0;
# Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue)
# shadow-color = "#000000";
# Specify a list of conditions of windows that should have no shadow.
shadow-exclude = [
"name = 'Notification'",
# "name = 'Plank'",
# "name = 'Tilix'",
"class_g = 'VirtualBox'",
"class_g = 'rofi'",
# "class_g ?= 'Notify-osd'",
# "class_g = 'Cairo-clock'",
# "class_g ?= 'Xfce4-notifyd'",
# "class_g ?= 'Xfce4-power-manager'",
# "n:w:*firefox*",
# "class_g = 'firefox' && argb",
# "class_g = 'firefox-esr' && argb",
"class_g = 'zen' && argb",
# "class_g = 'floorp' && argb",
# "name = 'TelegramDesktop'",
# "name = 'KotatogramDesktop'",
"class_g = 'AyuGramDesktop' && argb",
"class_g = 'ayugram-desktop'",
"name = 'AyuGramDesktop'",
"name = 'ayugram-desktop'",
"class_g ?= 'AyuGramDesktop'",
# "name = 'firefox'",
# "name = 'firefox-esr'",
"name *= 'Opera'",
"name = 'Opera'",
"class_g = 'Opera'",
# "class_g ?= 'Pcmanfm'",
# "name = 'Waterfox'",
# "class_g ?= 'Easyeffects'",
"name = 'Thunderbird'",
"name *= 'compton'",
# "name *= 'picom'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"_GTK_FRAME_EXTENTS@:c"
];
#################################
# Fading #
#################################
# Fade windows in/out when opening/closing and when opacity changes,
# unless no-fading-openclose is used.
# FADING IS REQUIRED FOR CLOSING ANIMATIONS
fading = true;
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.03)
#
# Increasing this value will result in faster fading in of windows.
# Decreasing makes the fading in of windows take longer.
# (This does not means the animations take longer, just the fading).
fade-in-step = 0.03;
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
#
# Increasing this value will result in faster fading out AND animating out of windows.
# Decreasing this makes fading and animating out take longer.
fade-out-step = 0.03;
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
# fade-delta = 10
# Specify a list of conditions of windows that should not be faded.
fade-exclude = [
"class_g = 'VirtualBox Machine'",
"name = 'Клон EndeavourOS [Работает] - Oracle VM VirtualBox'",
"name = 'Opera'",
];
# Do not fade on window open/close.
# no-fading-openclose = false
# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
# no-fading-destroyed-argb = false
#################################
# Transparency / Opacity #
#################################
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
inactive-opacity = 1.0;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
frame-opacity = 1.0;
# Overrides any opacities set in `opacity-rule` when set to true.
inactive-opacity-override = false;
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
active-opacity = 1.0;
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
# inactive-dim = 0.0;
# A list of windows that should have their inactive-opacity set to whatever the active-opacity is.
# Unless the window is also in active-exclude then it will be set to 1.0 or if it is set in "opacity-rule",
# it will use the opacity set there as the inactive-opacity
# Also excludes effects caused by inactive-dim
#
# inactive-exclude = [
# "class_g = 'dwm'"
# ];
# A list of windows that should never have their opacity changed by active-opacity when focused.
#
# active-exclude = [
# "class_g = 'dwm'"
# ];
# Specify a list of opacity rules, in the format `PERCENT:PATTERN`,
# like `50:name *= "Firefox"`.
# opacity-rule = [
# "80:class_g = 'Alacritty'"
# ];
#################################
# Background-Blurring #
#################################
# Blur background of windows.
#
blur-background = true;
# Parameters for background blurring, see the *BLUR* section for more information.
blur-method = "dual_kawase";
#
# blur-size = 12
#
# blur-deviation = false
#
blur-strength = 5;
# Blur kernel preset. Play around and see what looks best.
# Options "3x3box", "5x5box", "7x7box", "3x3gaussian", "5x5gaussian", "7x7gaussian", "9x9gaussian", "11x11gaussian"
#
# blur-kern = "3x3box";
# Toggle whether you want to use a blacklist or whitelist.
# Defaults to "true"
blur-whitelist = true;
# Whitelist for windows to have background blurring
blur-include = [
# "class_g = 'Alacritty'",
"class_g = 'kitty'"
];
# Blacklist for background blurring.
# Only works if "blur-whitelist = false;"
#
# blur-exclude = [
# "class_g = 'Firefox'"
# ];
#################################
# General Settings #
#################################
# Enable remote control via D-Bus. See the man page for more details.
# dbus = true
# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
daemon = true
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
backend = "glx";
# Enable/disable VSync.
vsync = true;
unredir-if-possible = false;
log-level = "info";
#################################
# ADVANCED #
#################################
# Set settings for specific window types. See Wiki for more information
# Below is an example of how to disabled shadows on Firefox/Librewolf menus,
# and also make sure they are considered focused so that they cannot be affected by inactive window settings.
#
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.90; focus = true; full-shadow = false; };
dock = { shadow = false; clip-shadow-above = true; }
dnd = { shadow = false; }
menu = { shadow = false; }
# utility = { shadow = false; focus = true; };
# popup_menu = { shadow = false; focus = true; };
};

149
config/dunst/dunstrc Normal file
View File

@@ -0,0 +1,149 @@
# See dunst(5) for all configuration options
[global]
monitor = 0
icon_path = /usr/share/icons/Papirus-Dark/32x32/status/:/usr/share/icons/Papirus-Dark/32x32/devices/:/usr/share/icons/Papirus-Dark/32x32/emblems/
icon_theme = Papirus
enable_recursive_icon_lookup = true
follow = mouse
width = 300
height = (0, 150)
origin = bottom-center
offset = (20, 20)
scale = 0
notification_limit = 0
progress_bar = true
progress_bar_height = 10
progress_bar_frame_width = 1
progress_bar_min_width = 150
progress_bar_max_width = 300
indicate_hidden = yes
transparency = 0
separator_height = 5
padding = 15
horizontal_padding = 15
text_icon_padding = 0
frame_width = 1
# frame_color = "#222222"
# frame_color = "#6A5ACD"
frame_color = "#458588"
# separator_color = frame
separator_color = auto
sort = yes
#font = Iosevka Medium Italic 10
# font = Iosevka Term 12
font = Ubuntu 12
# font = Clean Sans Medium 13
line_height = 0
markup = full
format = "<b>%s</b>\n%b"
# alignment = center
alignment = left
vertical_alignment = center
show_age_threshold = 60
ellipsize = middle
ignore_newline = yes
stack_duplicates = true
hide_duplicate_count = false
# show_indicators = no
show_indicators = yes
icon_position = left
icon_size = 0
max_icon_size = 32
# My pref
history = ctrl+grave
history_length = 20
mouse_left_click = close_current
mouse_middle_click = do_action
mouse_right_click = close_all
# Browser for opening urls in context menu.
browser = /usr/bin/vivaldi
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#282828"
foreground = "#FFFFFF"
highlight = "#FFFFFF"
timeout = 10
default_icon = /home/zloy_linux/.config/dunst/scripts/bell.svg
# icon = /home/zloy_linux/.icons/McMojave-circle/status/32/dialog-information.svg
[urgency_normal]
background = "#282828"
foreground = "#FFFFFF"
highlight = "#dadada"
# highlight-background = "#232338"
timeout = 10
default_icon = /home/zloy_linux/.config/dunst/scripts/bell.svg
# icon = /home/zloy_linux/.icons/McMojave-circle/status/32/dialog-warning.svg
[urgency_critical]
background = "#CC241D"
foreground = "#D3D3D3"
highlight = "#D9E0EE"
frame_color = "#ff0000"
timeout = 10
default_icon = /home/zloy_linux/.config/dunst/scripts/alert.svg
## icon = /home/zloy_linux/.icons/McMojave-circle/status/32/dialog-error.svg
#########################################################################
[screenshot_sound]
appname = flameshot
summary = "Flameshot Info"
script = "~/.config/dunst/scripts/screenshot-sound.sh"
new_icon = /home/zloy_linux/.config/dunst/scripts/screenshot.svg
[vivaldi_sound]
appname = "Vivaldi"
summary = "Загрузка завершена"
script = "~/.config/dunst/scripts/vivaldi-sound.sh"
# new_icon = /home/zloy_linux/.config/dunst/scripts/screenshot.svg
#[mail_nextcloud_sound]
# appname = "Vivaldi"
# summary = "Почта Nextcloud"
# script = "~/.config/dunst/scripts/vivaldi-sound-mail.sh"
## new_icon = /home/zloy_linux/.config/dunst/scripts/screenshot.svg
[mail_vivaldi_sound]
appname = "Vivaldi"
summary = "default"
script = "~/.config/dunst/scripts/vivaldi-sound-mail.sh"
# new_icon = /home/zloy_linux/.config/dunst/scripts/screenshot.svg
[senpai_message_sound]
appname = senpai
summary = "default"
# new_icon = /home/zloy_linux/.config/dunst/scripts/chat4.png
script = "~/.config/dunst/scripts/vivaldi-sound-mail.sh"
# script = "~/.config/dunst/scripts/gomuks-message-sound.sh"
[seafile]
appname = "Seafile"
summary = "Cloud синхронизирован"
new_icon = /home/zloy_linux/.config/dunst/scripts/Seafile.png
# script = "~/.config/dunst/scripts/vivaldi-sound-mail.sh"
script = "~/.config/dunst/scripts/gomuks-message-sound.sh"
[nchat_message_sound]
appname = "nchat"
new_icon = /home/zloy_linux/.config/dunst/scripts/screenshot.svg
script = "~/.config/dunst/scripts/gomuks-message-sound.sh"
#[news_notify]
# appname = "newsboat"
# format = "%d Обновлений в RSS лентах"
# new_icon = /home/zloy_linux/.config/dunst/scripts/rss.png
# urgency = normal
# history_ignore = yes

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#96CDFB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-alert-circle"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line></svg>

After

Width:  |  Height:  |  Size: 351 B

View File

@@ -0,0 +1 @@
<svg width="64" height="64" viewBox="0 0 16.933 16.933" xmlns="http://www.w3.org/2000/svg"><circle cx="8.466" cy="8.466" r="7.144" fill="#138ed3" style="paint-order:stroke markers fill"/><path d="M8.466 3.769c-.377.924-.604 1.529-1.024 2.425.257.273.573.59 1.086.95-.551-.227-.928-.455-1.209-.692-.537 1.121-1.378 2.717-3.086 5.785 1.342-.774 2.383-1.252 3.352-1.434a2.457 2.457 0 0 1-.063-.575l.001-.043c.022-.86.469-1.521.999-1.476s.941.779.92 1.638a2.427 2.427 0 0 1-.054.462c.959.188 1.988.664 3.312 1.428-.261-.48-.494-.913-.717-1.326-.35-.272-.716-.625-1.461-1.008.512.133.88.287 1.165.459C9.425 6.15 9.242 5.59 8.466 3.769z" fill="#fff" fill-rule="evenodd"/></svg>

After

Width:  |  Height:  |  Size: 671 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#96CDFB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bell"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path></svg>

After

Width:  |  Height:  |  Size: 316 B

View File

@@ -0,0 +1,30 @@
#!/bin/bash
if [[ "$1" = "screen" ]]; then
device=intel_backlight
declare -i id=5969
elif [[ "$1" = "kb" ]]; then
device=apple::kbd_backlight
declare -i id=6779
fi
echo "$device"
current=$(brightnessctl -d "$device" | grep "Current" | awk -F'[()]' '{print $2}' | sed 's/%//g')
if [[ "$1" = "screen" ]]; then
message="Brightness: ${current}%"
if [[ "$current" -lt "50" ]]; then
icon="$HOME/.config/dunst/scripts/brightness-low.svg"
else
icon="$HOME/.config/dunst/scripts/brightness-high.svg"
fi
elif [[ "$1" = "kb" ]]; then
message="Keyboard brightness: ${current}%"
if [[ "$current" -eq "0" ]]; then
icon="cross"
else
icon="kb-brightness"
fi
fi
dunstify -a "$1" -r "$id" -i "$icon" -h int:value:"$current" "$message"

Binary file not shown.

View File

@@ -0,0 +1,2 @@
#!/bin/sh
paplay ~/.config/dunst/scripts/charger-unplugged.ogg

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -0,0 +1,2 @@
#!/bin/sh
paplay ~/.config/dunst/scripts/sounds/odnoklassniki_-_zvuk_soobscheniy.ogg

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#96CDFB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-heart"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path></svg>

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

View File

@@ -0,0 +1,2 @@
#!/bin/sh
paplay ~/.config/dunst/scripts/screenshoot-shutter.ogg

View File

@@ -0,0 +1 @@
<svg width="64" height="64" viewBox="0 0 16.933 16.933" xmlns="http://www.w3.org/2000/svg"><circle cx="8.466" cy="8.466" r="7.144" fill="#f0f0f0" style="paint-order:stroke fill markers"/><path d="M11.642 8.466a3.175 3.175 0 1 1-6.35 0 3.175 3.175 0 0 1 6.35 0" fill="#4d4d4d"/><path d="M11.112 8.466a2.646 2.646 0 1 1-5.293 0 2.646 2.646 0 0 1 5.293 0" fill="#666"/><path d="M10.054 8.466a1.588 1.588 0 1 1-3.176 0 1.588 1.588 0 0 1 3.176 0" fill="#333" opacity=".75"/><path d="M8.996 7.673a.529.529 0 1 1-1.058 0 .529.529 0 0 1 1.058 0" fill="#fff" opacity=".15"/><path d="M5.556 4.498c-.586 0-1.058.472-1.058 1.058v.53h.264v-.53c0-.44.354-.794.794-.794h.53v-.264zm5.292 0v.264h.529c.44 0 .794.354.794.794v.53h.264v-.53c0-.586-.472-1.058-1.058-1.058zm-6.35 6.35v.529c0 .586.472 1.058 1.058 1.058h.53v-.264h-.53a.792.792 0 0 1-.794-.794v-.53zm7.673 0v.529c0 .44-.354.794-.794.794h-.53v.264h.53c.586 0 1.058-.472 1.058-1.058v-.53z" opacity=".1" style="paint-order:stroke fill markers"/></svg>

After

Width:  |  Height:  |  Size: 991 B

Binary file not shown.

View File

@@ -0,0 +1,2 @@
#!/bin/sh
paplay ~/.config/dunst/scripts/sounds/zvuk-dostavlennogo-soobscheniya.ogg

View File

@@ -0,0 +1,2 @@
#!/bin/sh
paplay ~/.config/dunst/scripts/sounds/zvonkiy-korotkiy-zvuk-uvedomleniya.ogg

View File

@@ -0,0 +1,44 @@
#!/usr/bin/env bash
#
# Description: Configure volume level and show notification using dunst
# Usage:
# ./volume-control.sh up
# ./volume-control.sh down
# ./volume-control.sh mute
# Dependencies: pamixer, dunst
# Github: https://gist.github.com/basilioss/baa36bf5d4b91b50da81313281dbc887
#iconSound="audio-volume-high"
#iconMuted="audio-volume-muted"
iconSound="/home/crud/.config/dunst/scripts/volume-up.png"
iconMuted="/home/crud/.config/dunst/scripts/audio-mute.png"
function get_volume {
pamixer --get-volume
}
function send_notification {
if [ "$(pamixer --get-mute)" = true ]; then
dunstify -i $iconMuted -r 2593 -u normal "mute"
else
dunstify -i $iconSound -r 2593 -u normal -h int:value:"$1" "$1%"
fi
}
case $1 in
up)
pamixer --unmute
pamixer --increase 5
send_notification "$(get_volume)"
;;
down)
pamixer --unmute
pamixer --decrease 5
send_notification "$(get_volume)"
;;
mute)
pamixer --toggle-mute
send_notification "$(get_volume)"
;;
esac

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#96CDFB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-volume-2"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"></path></svg>

After

Width:  |  Height:  |  Size: 354 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#96CDFB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-volume-x"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><line x1="23" y1="9" x2="17" y2="15"></line><line x1="17" y1="9" x2="23" y2="15"></line></svg>

After

Width:  |  Height:  |  Size: 365 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="#96CDFB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-volume-1"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"></polygon><path d="M15.54 8.46a5 5 0 0 1 0 7.07"></path></svg>

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

13
config/dunst/scripts/volume.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
volume=$(amixer -D pulse sget Master | tail -1 | awk -F'[][]' '{print $2}' | sed 's/%//g')
if [[ "$volume" -eq "0" ]]; then
icon="$HOME/.config/dunst/scripts/volume-mute.svg"
elif [[ "$volume" -lt "100" ]]; then
icon="$HOME/.config/dunst/scripts/volume-normal.svg"
else
icon="$HOME/.config/dunst/scripts/volume-max.svg"
fi
dunstify -a "volume" -i "$icon" -r 3456 -h int:value:"$volume" "Volume: ${volume}%"

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -0,0 +1,101 @@
# See dunst(5) for all configuration options
[global]
monitor = 0
follow = mouse
width = (111, 444)
height = 222
origin = top-right
offset = 15x55
scale = 0
notification_limit = 0
progress_bar = true
progress_bar_height = 10
progress_bar_frame_width = 1
progress_bar_min_width = 150
progress_bar_max_width = 300
indicate_hidden = yes
transparency = 0
separator_height = 5
padding = 15
horizontal_padding = 15
text_icon_padding = 0
frame_width = 0
frame_color = "#20202a"
separator_color = frame
sort = yes
font = Iosevka Medium Italic 10
line_height = 0
markup = full
format = "<b>%s</b>\n%b"
alignment = center
vertical_alignment = center
show_age_threshold = 60
ellipsize = middle
ignore_newline = yes
stack_duplicates = true
hide_duplicate_count = false
show_indicators = no
icon_position = left
icon_size = 48
max_icon_size = 80
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#20202a"
foreground = "#A9B1D6"
highlight = "#A9B1D6"
timeout = 6
[urgency_normal]
background = "#20202a"
foreground = "#A9B1D6"
highlight = "#A9B1D6"
highlight-background = "#3b3b4d"
timeout = 6
[urgency_critical]
background = "#20202a"
foreground = "#A9B1D6"
highlight = "#A9B1D6"
timeout = 10

View File

@@ -0,0 +1,101 @@
# See dunst(5) for all configuration options
[global]
monitor = 0
follow = mouse
width = (111, 444)
height = 222
origin = top-right
offset = 15x55
scale = 0
notification_limit = 0
progress_bar = true
progress_bar_height = 10
progress_bar_frame_width = 1
progress_bar_min_width = 150
progress_bar_max_width = 300
indicate_hidden = yes
transparency = 0
separator_height = 5
padding = 15
horizontal_padding = 15
text_icon_padding = 0
frame_width = 0
frame_color = "#E6E6F1"
separator_color = frame
sort = yes
font = Iosevka Medium Italic 10
line_height = 0
markup = full
format = "<b>%s</b>\n%b"
alignment = center
vertical_alignment = center
show_age_threshold = 60
ellipsize = middle
ignore_newline = yes
stack_duplicates = true
hide_duplicate_count = false
show_indicators = no
icon_position = left
icon_size = 48
max_icon_size = 80
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#E6E6F1"
foreground = "#708190"
highlight = "#708190"
timeout = 6
[urgency_normal]
background = "#E6E6F1"
foreground = "#708190"
highlight = "#708190"
highlight-background = "#CCCBD9"
timeout = 6
[urgency_critical]
background = "#E6E6F1"
foreground = "#708190"
highlight = "#708190"
timeout = 10

View File

@@ -0,0 +1,101 @@
# See dunst(5) for all configuration options
[global]
monitor = 0
follow = mouse
width = (111, 444)
height = 222
origin = top-right
offset = 15x55
scale = 0
notification_limit = 0
progress_bar = true
progress_bar_height = 10
progress_bar_frame_width = 1
progress_bar_min_width = 150
progress_bar_max_width = 300
indicate_hidden = yes
transparency = 0
separator_height = 5
padding = 15
horizontal_padding = 15
text_icon_padding = 0
frame_width = 0
frame_color = "#1E1E2E"
separator_color = frame
sort = yes
font = Iosevka Medium Italic 10
line_height = 0
markup = full
format = "<b>%s</b>\n%b"
alignment = center
vertical_alignment = center
show_age_threshold = 60
ellipsize = middle
ignore_newline = yes
stack_duplicates = true
hide_duplicate_count = false
show_indicators = no
icon_position = left
icon_size = 48
max_icon_size = 80
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#1E1E2E"
foreground = "#D9E0EE"
highlight = "#D9E0EE"
timeout = 6
[urgency_normal]
background = "#1E1E2E"
foreground = "#D9E0EE"
highlight = "#D9E0EE"
highlight-background = "#232338"
timeout = 6
[urgency_critical]
background = "#1E1E2E"
foreground = "#D9E0EE"
highlight = "#D9E0EE"
timeout = 10

View File

@@ -0,0 +1,101 @@
# See dunst(5) for all configuration options
[global]
monitor = 0
follow = mouse
width = (111, 444)
height = 222
origin = top-right
offset = 15x55
scale = 0
notification_limit = 0
progress_bar = true
progress_bar_height = 10
progress_bar_frame_width = 1
progress_bar_min_width = 150
progress_bar_max_width = 300
indicate_hidden = yes
transparency = 0
separator_height = 5
padding = 15
horizontal_padding = 15
text_icon_padding = 0
frame_width = 0
frame_color = "#181f21"
separator_color = frame
sort = yes
font = Iosevka Medium Italic 10
line_height = 0
markup = full
format = "<b>%s</b>\n%b"
alignment = center
vertical_alignment = center
show_age_threshold = 60
ellipsize = middle
ignore_newline = yes
stack_duplicates = true
hide_duplicate_count = false
show_indicators = no
icon_position = left
icon_size = 48
max_icon_size = 80
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#181f21"
foreground = "#dadada"
highlight = "#dadada"
timeout = 6
[urgency_normal]
background = "#181f21"
foreground = "#dadada"
highlight = "#dadada"
highlight-background = "#1a2224"
timeout = 6
[urgency_critical]
background = "#181f21"
foreground = "#dadada"
highlight = "#dadada"
timeout = 10

View File

@@ -0,0 +1,101 @@
# See dunst(5) for all configuration options
[global]
monitor = 0
follow = mouse
width = (111, 444)
height = 222
origin = top-right
offset = 15x55
scale = 0
notification_limit = 0
progress_bar = true
progress_bar_height = 10
progress_bar_frame_width = 1
progress_bar_min_width = 150
progress_bar_max_width = 300
indicate_hidden = yes
transparency = 0
separator_height = 5
padding = 15
horizontal_padding = 15
text_icon_padding = 0
frame_width = 0
frame_color = "#2b3339"
separator_color = frame
sort = yes
font = Iosevka Medium Italic 10
line_height = 0
markup = full
format = "<b>%s</b>\n%b"
alignment = center
vertical_alignment = center
show_age_threshold = 60
ellipsize = middle
ignore_newline = yes
stack_duplicates = true
hide_duplicate_count = false
show_indicators = no
icon_position = left
icon_size = 48
max_icon_size = 80
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#2b3339"
foreground = "#d3c6aa"
highlight = "#d3c6aa"
timeout = 6
[urgency_normal]
background = "#2b3339"
foreground = "#d3c6aa"
highlight = "#d3c6aa"
highlight-background = "#323c41"
timeout = 6
[urgency_critical]
background = "#2b3339"
foreground = "#d3c6aa"
highlight = "#d3c6aa"
timeout = 10

101
config/dunst/themes/onedark Normal file
View File

@@ -0,0 +1,101 @@
# See dunst(5) for all configuration options
[global]
monitor = 0
follow = mouse
width = (111, 444)
height = 222
origin = top-right
offset = 15x55
scale = 0
notification_limit = 0
progress_bar = true
progress_bar_height = 10
progress_bar_frame_width = 1
progress_bar_min_width = 150
progress_bar_max_width = 300
indicate_hidden = yes
transparency = 0
separator_height = 5
padding = 15
horizontal_padding = 15
text_icon_padding = 0
frame_width = 0
frame_color = "#1e222a"
separator_color = frame
sort = yes
font = Iosevka Medium Italic 10
line_height = 0
markup = full
format = "<b>%s</b>\n%b"
alignment = center
vertical_alignment = center
show_age_threshold = 60
ellipsize = middle
ignore_newline = yes
stack_duplicates = true
hide_duplicate_count = false
show_indicators = no
icon_position = left
icon_size = 48
max_icon_size = 80
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#1e222a"
foreground = "#abb2bf"
highlight = "#abb2bf"
timeout = 6
[urgency_normal]
background = "#1e222a"
foreground = "#abb2bf"
highlight = "#abb2bf"
highlight-background = "#242931"
timeout = 6
[urgency_critical]
background = "#1e222a"
foreground = "#abb2bf"
highlight = "#abb2bf"
timeout = 10

View File

@@ -0,0 +1,101 @@
# See dunst(5) for all configuration options
[global]
monitor = 0
follow = mouse
width = (111, 444)
height = 222
origin = top-right
offset = 15x55
scale = 0
notification_limit = 0
progress_bar = true
progress_bar_height = 10
progress_bar_frame_width = 1
progress_bar_min_width = 150
progress_bar_max_width = 300
indicate_hidden = yes
transparency = 0
separator_height = 5
padding = 15
horizontal_padding = 15
text_icon_padding = 0
frame_width = 0
frame_color = "#1a1b26"
separator_color = frame
sort = yes
font = Iosevka Medium Italic 10
line_height = 0
markup = full
format = "<b>%s</b>\n%b"
alignment = center
vertical_alignment = center
show_age_threshold = 60
ellipsize = middle
ignore_newline = yes
stack_duplicates = true
hide_duplicate_count = false
show_indicators = no
icon_position = left
icon_size = 48
max_icon_size = 80
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#1a1b26"
foreground = "#c0caf5"
highlight = "#c0caf5"
timeout = 6
[urgency_normal]
background = "#1a1b26"
foreground = "#c0caf5"
highlight = "#c0caf5"
highlight-background = "#1f2335"
timeout = 6
[urgency_critical]
background = "#1a1b26"
foreground = "#c0caf5"
highlight = "#c0caf5"
timeout = 10

21
config/fastfetch/LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2024 Aayush Chalise
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,112 @@
// _____ _____ _____ _____ _____ _____ _____ _____ _____
// | __| _ | __|_ _| __| __|_ _| | | |
// | __| |__ | | | | __| __| | | | --| |
// |__| |__|__|_____| |_| |__| |_____| |_| |_____|__|__| HYPRLAND
//
// by Bina
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"source": "~/.config/fastfetch/images/zloy.png",
"type": "auto",
"height": 18,
"padding": {
"top": 2
}
},
"display": {
"separator": " "
},
"modules": [
{
"type": "os",
"key": " ",
"keyColor": "34", // = color4
},
{
"type": "kernel",
"key": " ",
"keyColor": "34",
},
{
"type": "packages",
"format": "{} (pacman)",
"key": " ",
"keyColor": "34",
},
{
"type": "shell",
"key": " ",
"keyColor": "34",
},
{
"type": "terminal",
"key": " ",
"keyColor": "34",
},
{
"type": "wm",
"key": " ",
"keyColor": "34",
},
{
"type": "display",
"key": " ",
"keyColor": "34"
},
{
"type": "cpu",
"format": "{1}",
"key": " ",
"keyColor": "34"
},
{
"type": "gpu",
"format": "{2}",
"key": " ",
"keyColor": "34"
},
{
"type": "bluetooth",
"key": "󰝚 ",
"keyColor": "34"
},
{
"type": "memory",
"key": "󰍛 ",
"keyColor": "34"
},
{
"type": "swap",
"key": "󰾴 ",
"keyColor": "34"
},
{
"type": "disk",
"key": " ",
"keyColor": "34"
},
{
"type": "uptime",
"key": " ",
"keyColor": "34",
},
{
"type": "command",
"key": "󱦟 ",
"keyColor": "34",
"text": "birth_install=$(stat -c %W /); current=$(date +%s); time_progression=$((current - birth_install)); days=$((time_progression / 86400)); years=$((days / 365)); months=$(((days % 365) / 30)); rest_days=$(((days % 365) % 30)); echo Системе $years года $months месяцев $rest_days дней"
},
"break",
{
"type": "custom",
"format": "\u001b[90m \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m "
},
"break",
"break",
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@@ -0,0 +1,36 @@
# Completion for doas https://github.com/multiplexd/doas
# based on the sudo completions
#
function __fish_doas_print_remaining_args
set -l tokens (commandline -opc) (commandline -ct)
set -e tokens[1]
# These are all the options mentioned in the man page for openbsd's "doas" (in that order).
set -l opts a= C= L n s u=
argparse -s $opts -- $tokens 2>/dev/null
# The remaining argv is the subcommand with all its options, which is what
# we want.
if test -n "$argv"
and not string match -qr '^-' $argv[1]
string join0 -- $argv
return 0
else
return 1
end
end
function __fish_complete_doas_subcommand
set -l args (__fish_doas_print_remaining_args | string split0)
set -lx -a PATH /usr/local/sbin /sbin /usr/sbin
__fish_complete_subcommand --commandline $args
end
complete -c doas -n "not __fish_doas_print_remaining_args" -s a -d "Choose auth method on systems using /etc/login.conf"
complete -c doas -n "not __fish_doas_print_remaining_args" -s C -r -d "validate given config file and test it against given command"
complete -c doas -n "not __fish_doas_print_remaining_args" -s L -d "Clear persisted authorizations, then exit"
complete -c doas -n "not __fish_doas_print_remaining_args" -s n -d "Fail if doas would prompt for password"
complete -c doas -n "not __fish_doas_print_remaining_args" -s s -d "Execute the shell from SHELL or /etc/passwd"
complete -c doas -n "not __fish_doas_print_remaining_args" -s u -a "(__fish_complete_users)" -x -d "Execute the command as user. The default is root."
# Complete the command we are executing under doas
complete -c doas -x -a "(__fish_complete_doas_subcommand)"

70
config/fish/config.fish Normal file
View File

@@ -0,0 +1,70 @@
# Приложения по умолчанию
export EDITOR=/usr/bin/nvim
export VISUAL=/usr/bin/nvim
export BROWSER=/usr/bin/vivaldi
export TERMINAL="kitty"
export PAGER=/usr/bin/bat
export GTK_THEME=Colloid-Green-Dark-Compact-Gruvbox
# Запуск буфера
##clipse -listen
#starship init fish | source
zoxide init fish | source
#set fish_greeting
#Алиасы
#alias ls="ls --color=yes --group-directories-first"
#alias ls="exa --long --all --group"
alias ls="exa --icons --group-directories-first"
alias pick_color="sxcs"
alias df="duf"
alias find="fd"
alias du="ncdu"
alias dv="yt-dlp"
#alias ping="gping"
alias updatepkg="yay -Syu --editmenu"
alias yy="yay --editmenu"
alias pkginfo="pacman -Qq | fzf --preview 'pacman -Qil {} | bat -fpl yml' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'"
#alias cat="bat -p --theme gruvbox-dark"
alias cat="bat"
alias rm="trash-put"
#alias rm="trashy put"
#alias rl="trashy list | fzf --multi | awk '{$1=$1;print}' | rev | cut -d ' ' -f1 | rev | xargs trashy restore --match=exact --force"
#alias re="trashy empty --all"
#alias cat="ccat"
alias kdiff="kitty +kitten diff"
alias icat="kitty +kitten icat"
alias music="ncmpcpp"
alias radio1="pyradio"
alias radio="goradion -s ~/.config/pyradio/stations.csv"
alias youtube="yt-dlp"
#alias url="yourls"
alias temp="watch sensors"
alias nv="nvim"
alias fm="yazi"
alias fz="fd . | fzf --preview 'bat --style=numbers --color=always {} 2>/dev/null' | xargs -r nvim"
alias micro="nvim"
alias sudo="doas"
alias locate="plocate -i"
#alias ssh="TERM=xterm ssh"
alias blc="bluetuith --connect-bdaddr F4:4E:FD:45:0C:39"
alias gpt="tgpt"
if test "$TERM" = xterm-kitty
alias ssh="kitty +kitten ssh"
end
if test -n "$XTERM_VERSION"
transset-df --id "$WINDOWID" >/dev/null
end
# CONFIGS
alias ebspwm="nvim ~/.config/bspwm/bspwmrc"
alias epolybar="nvim ~/.config/polybar/config.ini"
alias equtebrowser="nvim ~/.config/qutebrowser/config.py"
bind \es 'fish_commandline_prepend doas'
# Вывод текущей погоды при запуке терминала
#echo -e

View File

@@ -0,0 +1,34 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR EDITOR:nvim
SETUVAR __fish_initialized:3800
SETUVAR fish_color_autosuggestion:747369
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:99cc99
SETUVAR fish_color_comment:ffcc66
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:cc99cc
SETUVAR fish_color_error:f2777a
SETUVAR fish_color_escape:66cccc
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:normal
SETUVAR fish_color_host_remote:yellow
SETUVAR fish_color_match:6699cc
SETUVAR fish_color_normal:normal
SETUVAR fish_color_operator:6699cc
SETUVAR fish_color_param:d3d0c8
SETUVAR fish_color_quote:ffcc66
SETUVAR fish_color_redirection:d3d0c8
SETUVAR fish_color_search_match:white\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_status:red
SETUVAR fish_color_user:brgreen
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_greeting:\x1d
SETUVAR fish_key_bindings:fish_default_key_bindings
SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr

View File

@@ -0,0 +1,3 @@
function fish_prompt
eval /usr/bin/powerline-go -hostname-only-if-ssh -theme gruvbox -modules venv,ssh,cwd,git,load,hg,jobs,exit,root $status -jobs (count (jobs -p))
end

View File

@@ -0,0 +1,3 @@
function fish_user_key_bindings
fzf_key_bindings
end

View File

@@ -0,0 +1,8 @@
function y
set tmp (mktemp -t "yazi-cwd.XXXXXX")
yazi $argv --cwd-file="$tmp"
if set cwd (command cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
builtin cd -- "$cwd"
end
rm -f -- "$tmp"
end

View File

@@ -0,0 +1,21 @@
[Settings]
gtk-font-name=Ubuntu 12
gtk-theme-name=Colloid-Green-Dark-Compact-Gruvbox
gtk-icon-theme-name=Gruvbox-Plus-Dark
gtk-cursor-theme-name=SoftSteel
gtk-cursor-theme-size=18
#gtk-cursor-theme-name=PointingHand-White
#gtk-cursor-theme-size=32
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=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight
gtk-xft-rgba=rgb
gtk-application-prefer-dark-theme=1
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
#gtk-modules=gail:atk-bridge

View File

@@ -0,0 +1,20 @@
[Settings]
gtk-font-name=Ubuntu 12
gtk-theme-name=Colloid-Green-Dark-Compact-Gruvbox
gtk-hint-font-metrics=1
gtk-icon-theme-name=Gruvbox-Plus-Dark
gtk-cursor-theme-name=SoftSteel
gtk-cursor-theme-size=18
#gtk-cursor-theme-name=PointingHand-White
#gtk-cursor-theme-size=32
ggtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight
gtk-xft-rgba=rgb
gtk-application-prefer-dark-theme = 1

32
config/kitty/diff.conf Normal file
View File

@@ -0,0 +1,32 @@
pygments_style gruvbox-dark
# COLORS
#background #282828
#foreground #ebdbb2
foreground #f8f8f2
background #282828
title_fg #f8f8f2
title_bg #282828
margin_bg #282828
margin_fg #44475a
removed_bg #ff5555
highlight_removed_bg #ff5555
removed_margin_bg #ff5555
added_bg #50fa7b
highlight_added_bg #50fa7b
added_margin_bg #50fa7b
filler_bg #282828
hunk_margin_bg #282828
hunk_bg #bd93f9
search_bg #8be9fd
search_fg #282a36
select_bg #f1fa8c
select_fg #282a36
map q quit
map esc quit
num_context_lines 3

113
config/kitty/kitty.conf Normal file
View File

@@ -0,0 +1,113 @@
#startup_session ~/.kitty
# FONT
#font_family JetBrainsMono-Medium
font_family JetBrainsMono NF Medium
bold_font auto
italic_font auto
bold_italic_font auto
font_size 12.0
background_opacity 0.90
#active_border_color #458588
#Multiplexed
#window_margin_width 10
#background_tint 0.97
#background_tint_gaps -10.0
#window_border_width 1pt
#select_by_word_characters @-./_~?&=%+#
#pointer_shape_when_grabbed arrow
#default_pointer_shape arrow
#pointer_shape_when_dragging arrow
#enable_cursor_trail yes
cursor_trail 3
cursor_trail_decay 0.1 0.4
cursor_trail_start_threshold 2
# Copy & Paste
copy_on_select yes
#copy_or_interrupt
#paste_from_clipboard
clipboard_control write-clipboard write-primary read-clipboard read-primary
# HOTKEYS
map alt+c copy_to_clipboard
map alt+v paste_from_clipboard
map shift+insert paste_from_clipboard
map ctrl+n new_tab_with_cwd
map ctrl+right next_tab
map ctrl+left previous_tab
map ctrl+q close_tab
map ctrl+up scroll_line_up
map ctrl+down scroll_line_down
map shift+up scroll_page_up
map shift+down scroll_page_down
map ctrl+equal change_font_size all +2.0
map ctrl+minus change_font_size all -2.0
map alt+f5 load_config_file
map shift+left previous_window
map shift+right next_window
#map f1 new_window_with_cwd
# OTHER
editor nvim
visual_bell_duration 0.6
window_alert_on_bell no
enable_audio_bell no
visual_bell_color #000000
bell_on_tab " "
tab_activity_symbol "●"
cursor_blink_interval -4
update_check_interval 0
cursor_shape block
shell_integration no-cursor
strip_trailing_spaces always
confirm_os_window_close 0
# TABS
#tab_bar_style fade
#tab_bar_edge down
#tab_bar_align center
#tab_powerline_style slanted
tab_bar_edge top
#tab_bar_margin_width 0.0
tab_bar_style powerline
tab_fade 0.80 0.89 0.97
tab_powerline_style slanted
#tab_title_max_length 12
tab_title_template " {index} {title} "
#active_tab_foreground #000000
#active_tab_background #1FA0F0
#active_tab_font_style bold-italic
#inactive_tab_foreground #cdcdcd
#inactive_tab_background #222325
#inactive_tab_font_style normal
#tab_bar_background #161616
tab_bar_margin_color none
active_tab_foreground #282828
active_tab_background #fabd2f
active_tab_font_style bold
inactive_tab_foreground #ebdbb2
inactive_tab_background #282828
inactive_tab_font_style normal
# HYPERLINKS
detect_urls yes
allow_hyperlinks yes
open_url_with default
url_prefixes file ftp ftps gemini git gopher http https irc ircs kitty mailto news sftp ssh
url_color #00bd36
url_style curly
# COLOR
include /home/$USER/.config/kitty/themes/gruvbox_dark.conf

38
config/kitty/session.conf Normal file
View File

@@ -0,0 +1,38 @@
layout grid
#launch nmail
#launch gomuks
#####################launch newsboat
#launch pyradio
#####################launch goradion -s ~/.config/pyradio/stations.csv
#####################launch ncmpcpp
#launch mocp
#layout grid
#launch nmail
new_tab mail
launch nmail
new_tab whatsapp
launch nchat
new_tab rss
launch newsboat
new_tab music
launch rmpc
#launch ncmpcpp
new_tab radio
launch pyradio
#new_tab other
#cd /home/crud/Загрузки/
#launch fish
#enabled_layouts tall:bias=50;full_size=1
#layout tall

View File

@@ -0,0 +1,2 @@
layout grid
launch clipse

View File

@@ -0,0 +1,2 @@
layout grid
launch nmail

View File

@@ -0,0 +1,2 @@
layout grid
launch gomuks

View File

@@ -0,0 +1,21 @@
background #f7f7f7
foreground #494542
cursor #494542
selection_background #a4a1a1
color0 #090200
color8 #5b5754
color1 #da2c20
color9 #e8bacf
color2 #00a152
color10 #3a3332
color3 #fcec02
color11 #494542
color4 #00a0e4
color12 #7f7c7b
color5 #a06994
color13 #d6d4d3
color6 #b5e4f4
color14 #ccab53
color7 #a4a1a1
color15 #f7f7f7
selection_foreground #f7f7f7

View File

@@ -0,0 +1,21 @@
background #090200
foreground #a4a1a1
cursor #a4a1a1
selection_background #494542
color0 #090200
color8 #5b5754
color1 #da2c20
color9 #e8bacf
color2 #00a152
color10 #3a3332
color3 #fcec02
color11 #494542
color4 #00a0e4
color12 #7f7c7b
color5 #a06994
color13 #d6d4d3
color6 #b5e4f4
color14 #ccab53
color7 #a4a1a1
color15 #f7f7f7
selection_foreground #090200

View File

@@ -0,0 +1,21 @@
background #1e1c44
foreground #f8dbc0
cursor #eebf37
selection_background #6f6a4e
color0 #050404
color8 #4e7bbf
color1 #bc0013
color9 #fc5e59
color2 #49b117
color10 #9dff6e
color3 #e6741d
color11 #efc11a
color4 #0f49c6
color12 #1896c6
color5 #665992
color13 #9a5952
color6 #6fa497
color14 #c8f9f3
color7 #f8dbc0
color15 #f5f4fb
selection_foreground #1e1c44

View File

@@ -0,0 +1,21 @@
background #202020
foreground #d0d0d0
cursor #d0d0d0
selection_background #303030
color0 #151515
color8 #505050
color1 #ac4142
color9 #ac4142
color2 #7e8d50
color10 #7e8d50
color3 #e5b566
color11 #e5b566
color4 #6c99ba
color12 #6c99ba
color5 #9e4e85
color13 #9e4e85
color6 #7dd5cf
color14 #7dd5cf
color7 #d0d0d0
color15 #f5f5f5
selection_foreground #202020

Some files were not shown because too many files have changed in this diff Show More