Compare commits
20
Commits
4b1d0cd562
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e33af718dc | ||
|
|
6579dac3a4 | ||
|
|
8f0cb6cd3f | ||
|
|
1da6e2625f | ||
|
|
a7e95c3ed1 | ||
|
|
20edbe76e8 | ||
|
|
3a0ceadb20 | ||
|
|
0c4b7dbc85 | ||
|
|
8151d710d9 | ||
|
|
21cc16921b | ||
|
|
1620c01b16 | ||
|
|
c5c4eef54d | ||
|
|
cae1d9b8cc | ||
|
|
41ecb14d71 | ||
|
|
a97cb7b476 | ||
|
|
0df9852e3c | ||
|
|
12476c3a35 | ||
|
|
8b7bb62372 | ||
|
|
f3e2b5c264 | ||
|
|
cb08eb1194 |
@@ -0,0 +1,11 @@
|
||||
monitor-settings >/dev/null 2>&1 &
|
||||
wallpapers >/dev/null 2>&1 &
|
||||
waybar -c $HOME/.config/waybar/sirius.conf >/dev/null 2>&1 &
|
||||
swaync >/dev/null 2>&1 &
|
||||
mysd >/dev/null 2>&1 &
|
||||
discord --start-minimized >/dev/null 2>&1 &
|
||||
corectrl >/dev/null 2>&1 &
|
||||
flatpak run --command=telegram-desktop org.telegram.desktop -workdir /home/mat/.var/app/org.telegram.desktop/data/TelegramDesktop/ -autostart >/dev/null 2>&1 &
|
||||
#rygel >/dev/null 2>&1 &
|
||||
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
# Cosmic/Sirius
|
||||
XDG_CURRENT_DESKTOP=wlroots
|
||||
XDG_SESSION_DESKTOP=wlroots
|
||||
XDG_SESSION_TYPE=wlroots
|
||||
|
||||
# Cursor
|
||||
WLR_NO_HARDWARE_CURSORS=1
|
||||
XCURSOR_THEME=Future-cursors
|
||||
XCURSOR_SIZE=24
|
||||
|
||||
# Keyboards
|
||||
XKB_DEFAULT_LAYOUT=us
|
||||
XKB_DEFAULT_LAYOUT=us,ru
|
||||
XKB_DEFAULT_OPTIONS=grp:caps_toggle,grp_led:caps
|
||||
|
||||
# Browser
|
||||
MOZ_ENABLE_WAYLAND=1
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<openbox_menu>
|
||||
|
||||
<menu id="root-menu" label="openbox">
|
||||
<item label="Терминал"> <action name="Execute"> <execute>flatpak run com.raggesilver.BlackBox</execute> </action> </item>
|
||||
<item label="Браузер"> <action name="Execute"> <execute>firefox</execute> </action> </item>
|
||||
<item label="Файловый менеджер"> <action name="Execute"> <execute>nautilus</execute> </action> </item>
|
||||
|
||||
<menu id="Settings" label="Настройки">
|
||||
<item label="Перенастоить"> <action name="Execute"> <execute>labwc --reconfigure</execute> </action> </item>
|
||||
<item label="Звук"> <action name="Execute"> <execute>pavucontrol</execute> </action> </item>
|
||||
</menu>
|
||||
|
||||
<separator/>
|
||||
<menu id="Exit" label="Выход">
|
||||
<item label="Перезагрузка"> <action name="Execute"> <execute>systemctl reboot</execute> </action> </item>
|
||||
<item label="Выключение"> <action name="Execute"> <execute>systemctl poweroff</execute> </action> </item>
|
||||
<item label="Exit"> <action name="Execute"> <execute>labwc --exit</execute> </action> </item>
|
||||
</menu>
|
||||
|
||||
</menu>
|
||||
</openbox_menu>
|
||||
@@ -0,0 +1,290 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- Openspace Sirius by En2zmax -->
|
||||
<labwc_config>
|
||||
<core>
|
||||
<decoration>client</decoration>
|
||||
<gap>12,5</gap>
|
||||
<adaptiveSync>no</adaptiveSync>
|
||||
<cycleViewPreview>no</cycleViewPreview>
|
||||
</core>
|
||||
<focus>
|
||||
<followMouse>yes</followMouse>
|
||||
<raiseOnFocus>no</raiseOnFocus>
|
||||
</focus>
|
||||
<theme>
|
||||
<name>Pop-dark</name>
|
||||
<cornerRadius>6</cornerRadius>
|
||||
<titleLayout>MC</titleLayout>
|
||||
<font place="ActiveWindow">
|
||||
<name>Fira Sans SemiBold</name>
|
||||
<size>10</size>
|
||||
<weight>bold</weight>
|
||||
</font>
|
||||
<font place="MenuItem">
|
||||
<name>Fira Sans Book</name>
|
||||
<size>10</size>
|
||||
<weight>bold</weight>
|
||||
</font>
|
||||
<font place="OnScreenDisplay">
|
||||
<name>Fira Sans Book</name>
|
||||
<size>10</size>
|
||||
<weight>normal</weight>
|
||||
</font>
|
||||
</theme>
|
||||
<desktops>
|
||||
<names>
|
||||
<name>one</name>
|
||||
<name>two</name>
|
||||
<name>three</name>
|
||||
<name>four</name>
|
||||
</names>
|
||||
</desktops>
|
||||
<keyboard>
|
||||
<keybind key="W-q">
|
||||
<action name="Close">
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-S-q">
|
||||
<action name="Kill">
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-f">
|
||||
<action name="ToggleFullscreen">
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-w">
|
||||
<action name="ToggleMaximize">
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-s">
|
||||
<action name="Iconify">
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-left">
|
||||
<action name="SnapToEdge">
|
||||
<direction>left</direction>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-right">
|
||||
<action name="SnapToEdge">
|
||||
<direction>right</direction>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-up">
|
||||
<action name="SnapToEdge">
|
||||
<direction>center</direction>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-Tab">
|
||||
<action name="NextWindow">
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-1">
|
||||
<action name="GoToDesktop">
|
||||
<to>one</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-2">
|
||||
<action name="GoToDesktop">
|
||||
<to>two</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-3">
|
||||
<action name="GoToDesktop">
|
||||
<to>three</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-4">
|
||||
<action name="GoToDesktop">
|
||||
<to>four</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-A-1">
|
||||
<action name="SendToDesktop">
|
||||
<to>one</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-A-2">
|
||||
<action name="SendToDesktop">
|
||||
<to>two</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-A-3">
|
||||
<action name="SendToDesktop">
|
||||
<to>three</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-A-4">
|
||||
<action name="SendToDesktop">
|
||||
<to>four</to>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-Return">
|
||||
<action name="Execute">
|
||||
<command>flatpak run com.raggesilver.BlackBox</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-b">
|
||||
<action name="Execute">
|
||||
<command>firefox</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-S-b">
|
||||
<action name="Execute">
|
||||
<command>firefox --private-window</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-d">
|
||||
<action name="Execute">
|
||||
<command>menudrun</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-r">
|
||||
<action name="Execute">
|
||||
<command>menurun</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-g">
|
||||
<action name="Execute">
|
||||
<command>menugames</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-p">
|
||||
<action name="Execute">
|
||||
<command>screenshot</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-n">
|
||||
<action name="Execute">
|
||||
<command>swaync-client -t -sw</command>
|
||||
</action>
|
||||
</keybind>
|
||||
</keyboard>
|
||||
<mouse>
|
||||
<doubleClickTime>500</doubleClickTime>
|
||||
<context name="Frame">
|
||||
<mousebind button="A-Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Left" action="Drag">
|
||||
<action name="Move"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Top">
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Left">
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Right">
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Bottom">
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="TRCorner">
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="BRCorner">
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="TLCorner">
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="BLCorner">
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="TitleBar">
|
||||
<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="Right" action="Click">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="ShowMenu" menu="client-menu"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Title">
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Move"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="DoubleClick">
|
||||
<action name="ToggleMaximize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Maximize">
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="ToggleMaximize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="WindowMenu">
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="ShowMenu" menu="client-menu"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Iconify">
|
||||
<mousebind button="left" action="Click">
|
||||
<action name="Iconify"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Close">
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="Close"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Client">
|
||||
<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="Middle" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="Right" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Root">
|
||||
<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
</mousebind>
|
||||
<mousebind button="Right" action="Press">
|
||||
<action name="ShowMenu" menu="root-menu"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
</mouse>
|
||||
<libinput>
|
||||
<device>
|
||||
<naturalscroll>no</naturalscroll>
|
||||
</device>
|
||||
</libinput>
|
||||
</labwc_config>
|
||||
@@ -1,4 +1,6 @@
|
||||
#!/bin/zsh
|
||||
# coding: utf-8
|
||||
# Author: Maksim Totmin, @iMaciaveller
|
||||
|
||||
#BINDS
|
||||
|
||||
@@ -8,4 +10,7 @@ bindkey "^[OF" end-of-line
|
||||
bindkey '^[[1;5D' backward-word
|
||||
bindkey '^[[1;5C' forward-word
|
||||
|
||||
bindkey "^A" vi-beginning-of-line
|
||||
bindkey "^E" vi-end-of-line
|
||||
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
gpu_stats
|
||||
gpu_temp
|
||||
gpu_power
|
||||
cpu_stats
|
||||
cpu_temp
|
||||
cpu_power
|
||||
io_read
|
||||
fps
|
||||
frametime
|
||||
frame_timing
|
||||
vkbasalt
|
||||
@@ -1,18 +1,23 @@
|
||||
|
||||
########################################################################################
|
||||
# My cozy Hyprland conf
|
||||
########################################################################################
|
||||
|
||||
autogenerated = 0
|
||||
|
||||
# Monitor setting
|
||||
# 2 normal mode
|
||||
misc:disable_hyprland_logo=true
|
||||
monitor=DP-1,3440x1440@144,2560x0,1
|
||||
monitor=DP-2,2560x1440@165,0x0,1
|
||||
# slave vertical
|
||||
#monitor=DP-1,3440x1440@144,1440x0,1
|
||||
#monitor=DP-2,2560x1440@165,0x0,1,transform,1
|
||||
|
||||
# Fix slow startup
|
||||
#exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
#exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once=systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once=systemctl --user import-environment QT_QPA_PLATFORMTHEME
|
||||
exec-once=dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once=dbus-update-activation-environment --systemd --all
|
||||
exec-once=gio mime inode/directory thunar.desktop
|
||||
exec-once=xdg-mime default thunar.desktop inode/directory
|
||||
|
||||
# Keyboard
|
||||
input {
|
||||
@@ -52,11 +57,14 @@ exec-once=waybar
|
||||
exec-once=swaync
|
||||
exec-once=[workspace 4 silent;noanim] discord
|
||||
exec-once=transmission-daemon
|
||||
exec-once=thunar --daemon
|
||||
exec-once=steam-native -silent
|
||||
exec-once=polychromatic-cli -n "Razer DeathAdder V2 Pro (Wireless)" --dpi 600
|
||||
|
||||
# Styling
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 12.5
|
||||
gaps_out = 12
|
||||
border_size = 2
|
||||
col.active_border = rgba(313455ee) rgba(00ff99ee) 45deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
@@ -68,10 +76,6 @@ general {
|
||||
|
||||
decoration {
|
||||
rounding = 4
|
||||
blur = yes
|
||||
blur_size = 3
|
||||
blur_passes = 1
|
||||
blur_new_optimizations = on
|
||||
|
||||
drop_shadow = yes
|
||||
shadow_range = 4
|
||||
@@ -109,11 +113,6 @@ gestures {
|
||||
workspace_swipe = off
|
||||
}
|
||||
|
||||
device:compx-2.4g-wireless-receiver {
|
||||
kb_layout = us,ru
|
||||
kb_options = grp:caps_toggle,grp_led:caps
|
||||
}
|
||||
|
||||
$mainMod = SUPER
|
||||
|
||||
# KeyBinding
|
||||
@@ -125,6 +124,7 @@ bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, R, exec, menurun
|
||||
bind = $mainMod, D, exec, menudrun
|
||||
bind = $mainMod, Y, exec, menupass
|
||||
bind = $mainMod, A, exec, menuaudio
|
||||
bind = $mainMod, W, pseudo,
|
||||
bind = $mainMod, S, togglesplit,
|
||||
bind = $mainMod, P, exec, screenshot
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
set shell zsh
|
||||
set shellopts '-eu'
|
||||
set ifs "\n"
|
||||
set cursorpreviewfmt "\033[7;2m"
|
||||
cmd open &xdg-open $f
|
||||
|
||||
#Binding
|
||||
map U !du -csh *
|
||||
map a rename
|
||||
map o open
|
||||
map <f-6> :push a
|
||||
map <f-7> :push %mkdir<space>
|
||||
map <f-8> delete
|
||||
|
||||
map gh cd ~
|
||||
map gg cd ..
|
||||
map gr cd ~/Desktop
|
||||
map gd cd ~/Documents
|
||||
map gl cd ~/Games/Lutris
|
||||
map gs cd ~/Games/Steam
|
||||
|
||||
map xc !gpg -c $f
|
||||
map xd !gpg $f
|
||||
@@ -0,0 +1,51 @@
|
||||
# Config
|
||||
set my_name = 'Ivanov Ivan'
|
||||
set my_user = 'ivan@ivanov.ru'
|
||||
set my_ms = 'mail.ivanov.ru'
|
||||
source 'gpg -d ~/.config/mutt/password.gpg |'
|
||||
|
||||
# General
|
||||
set header_cache = '~/.config/mutt/totmin.ru/cache/headers'
|
||||
set message_cachedir = '~/.config/mutt/totmin.ru/cache/bodies'
|
||||
|
||||
# Receive options
|
||||
set imap_check_subscribed
|
||||
unset imap_passive
|
||||
set imap_keepalive = 900
|
||||
set mail_check = 1800
|
||||
|
||||
# Remote folder
|
||||
set imap_user = $my_user
|
||||
set imap_pass = $my_pass
|
||||
set folder = 'imaps://'$my_ms':993'
|
||||
set spoolfile = '+INBOX'
|
||||
set postponed = '+Drafts'
|
||||
set record = '+Sent'
|
||||
set sort_aux = last-date-received
|
||||
set sort = reverse-threads
|
||||
set fast_reply = yes
|
||||
set include = yes
|
||||
set forward_quote = yes
|
||||
|
||||
# Send options
|
||||
set ssl_starttls = yes
|
||||
set ssl_force_tls = yes
|
||||
set realname = $my_name
|
||||
set from = $my_user
|
||||
set smtp_url = 'smtps://'$my_user'@'$my_ms':587/'
|
||||
set smtp_pass = $my_pass
|
||||
|
||||
# colors
|
||||
color normal white default
|
||||
color attachment brightyellow default
|
||||
color hdrdefault red default
|
||||
color indicator black red
|
||||
color markers brightred default
|
||||
color quoted green default
|
||||
color signature cyan default
|
||||
color status black blue
|
||||
color tilde blue default
|
||||
color tree blue default
|
||||
|
||||
color index red black ~D
|
||||
color index magenta black ~T
|
||||
@@ -0,0 +1,113 @@
|
||||
[sncli]
|
||||
cfg_sn_username = myusername
|
||||
cfg_sn_password = mysecretpass
|
||||
cfg_db_path = /home/mat/.config/sncli/base
|
||||
cfg_search_tags = yes
|
||||
cfg_sort_mode = date
|
||||
cfg_pinned_ontop = yes
|
||||
cfg_tabstop = 4
|
||||
cfg_status_bar = yes
|
||||
cfg_default_markdown = yes
|
||||
cfg_format_stftime = %d %B %Y
|
||||
cfg_format_note_title = [%D] %F %-N %T
|
||||
cfg_editor = vim +{line}
|
||||
cfg_pager = less -c +{line} -N {fname}
|
||||
cfg_diff = colordiff -bl
|
||||
cfg_max_logs = 5
|
||||
cfg_log_timeout = 5
|
||||
cfg_log_reversed = yes
|
||||
|
||||
### KEYBINDING
|
||||
kb_sort_date = d
|
||||
kb_sort_alpha = a
|
||||
kb_sort_tags = ctrl t
|
||||
kb_help = h
|
||||
kb_quit = q
|
||||
kb_sync = S
|
||||
kb_down = j
|
||||
kb_up = k
|
||||
kb_page_down = space
|
||||
kb_page_up = b
|
||||
kb_half_page_down = ctrl d
|
||||
kb_half_page_up = ctrl u
|
||||
kb_bottom = G
|
||||
kb_top = g
|
||||
kb_status = s
|
||||
kb_create_note = C
|
||||
kb_edit_note = e
|
||||
kb_view_note = enter
|
||||
kb_view_note_ext = meta enter
|
||||
kb_view_note_json = O
|
||||
kb_pipe_note = |
|
||||
kb_view_log = l
|
||||
kb_note_trash = T
|
||||
kb_note_pin = p
|
||||
kb_note_markdown = m
|
||||
kb_note_tags = t
|
||||
kb_search_gstyle = /
|
||||
kb_search_regex = meta /
|
||||
kb_search_prev_gstyle = ?
|
||||
kb_search_prev_regex = meta ?
|
||||
kb_search_next = n
|
||||
kb_search_prev = N
|
||||
kb_clear_search = A
|
||||
kb_view_next_note = J
|
||||
kb_view_prev_note = K
|
||||
kb_tabstop2 = 2
|
||||
kb_tabstop4 = 4
|
||||
kb_tabstop8 = 8
|
||||
kb_prev_version = <
|
||||
kb_next_version = >
|
||||
kb_diff_version = D
|
||||
kb_restore_version = R
|
||||
kb_latest_version = L
|
||||
kb_select_version = #
|
||||
kb_copy_note_text = y
|
||||
|
||||
### COLORS
|
||||
clr_status_bar_fg = dark gray
|
||||
clr_status_bar_bg = light gray
|
||||
clr_user_input_bar_fg = white
|
||||
clr_user_input_bar_bg = light red
|
||||
clr_default_fg = default
|
||||
clr_default_bg = default
|
||||
clr_note_focus_fg = white
|
||||
clr_note_focus_bg = light red
|
||||
clr_note_title_day_fg = light red
|
||||
clr_note_title_day_bg = default
|
||||
clr_note_title_week_fg = light green
|
||||
clr_note_title_week_bg = default
|
||||
clr_note_title_month_fg = brown
|
||||
clr_note_title_month_bg = default
|
||||
clr_note_title_year_fg = light blue
|
||||
clr_note_title_year_bg = default
|
||||
clr_note_title_ancient_fg = light blue
|
||||
clr_note_title_ancient_bg = default
|
||||
clr_note_date_fg = dark blue
|
||||
clr_note_date_bg = default
|
||||
clr_note_flags_fg = dark magenta
|
||||
clr_note_flags_bg = default
|
||||
clr_note_tags_fg = dark red
|
||||
clr_note_tags_bg = default
|
||||
|
||||
## PAGER
|
||||
clr_note_content_fg = default
|
||||
clr_note_content_bg = default
|
||||
clr_note_content_focus_fg = white
|
||||
clr_note_content_focus_bg = light red
|
||||
clr_note_content_old_fg = yellow
|
||||
clr_note_content_old_bg = dark gray
|
||||
clr_note_content_old_focus_fg = white
|
||||
clr_note_content_old_focus_bg = light red
|
||||
clr_log_fg = dark gray
|
||||
clr_log_bg = light gray
|
||||
clr_help_focus_fg = white
|
||||
clr_help_focus_bg = light red
|
||||
clr_help_header_fg = dark blue
|
||||
clr_help_header_bg = default
|
||||
clr_help_config_fg = dark green
|
||||
clr_help_config_bg = default
|
||||
clr_help_value_fg = dark red
|
||||
clr_help_value_bg = default
|
||||
clr_help_descr_fg = default
|
||||
clr_help_descr_bg = default
|
||||
@@ -0,0 +1,73 @@
|
||||
# Sample config file
|
||||
|
||||
# The theme colours can be an rgb string of the form "255, 255, 255" or a string that references the colours from your terminal theme: Reset, Black, Red, Green, Yellow, Blue, Magenta, Cyan, Gray, DarkGray, LightRed, LightGreen, LightYellow, LightBlue, LightMagenta, LightCyan, White.
|
||||
theme:
|
||||
active: LightRed # current playing song in list
|
||||
banner: LightRed # the "spotify-tui" banner on launch
|
||||
error_border: Red # error dialog border
|
||||
error_text: LightRed # error message text (e.g. "Spotify API reported error 404")
|
||||
hint: Yellow # hint text in errors
|
||||
hovered: Red # hovered pane border
|
||||
inactive: Gray # borders of inactive panes
|
||||
playbar_background: Black # background of progress bar
|
||||
playbar_progress: LightRed # filled-in part of the progress bar
|
||||
playbar_progress_text: Red # song length and time played/left indicator in the progress bar
|
||||
playbar_text: White # artist name in player pane
|
||||
selected: LightRed # a) selected pane border, b) hovered item in list, & c) track title in player
|
||||
text: "255, 255, 255" # text in panes
|
||||
header: White # header text in panes (e.g. 'Title', 'Artist', etc.)
|
||||
|
||||
behavior:
|
||||
seek_milliseconds: 5000
|
||||
volume_increment: 10
|
||||
# The lower the number the higher the "frames per second". You can decrease this number so that the audio visualisation is smoother but this can be expensive!
|
||||
tick_rate_milliseconds: 7
|
||||
# Enable text emphasis (typically italic/bold text styling). Disabling this might be important if the terminal config is otherwise restricted and rendering text escapes interferes with the UI.
|
||||
enable_text_emphasis: false
|
||||
# Controls whether to show a loading indicator in the top right of the UI whenever communicating with Spotify API
|
||||
show_loading_indicator: true
|
||||
# Disables the responsive layout that makes the search bar smaller on bigger
|
||||
# screens and enforces a wide search bar
|
||||
enforce_wide_search_bar: false
|
||||
# Determines the text icon to display next to "liked" Spotify items, such as
|
||||
# liked songs and albums, or followed artists. Can be any length string.
|
||||
# These icons require a patched nerd font.
|
||||
liked_icon: ♥
|
||||
shuffle_icon: 🔀
|
||||
repeat_track_icon: 🔂
|
||||
repeat_context_icon: 🔁
|
||||
playing_icon: ▶
|
||||
paused_icon: ⏸
|
||||
# Sets the window title to "spt - Spotify TUI" via ANSI escape code.
|
||||
set_window_title: true
|
||||
|
||||
keybindings:
|
||||
# Key stroke can be used if it only uses two keys:
|
||||
# ctrl-q works,
|
||||
# ctrl-alt-q doesn't.
|
||||
back: "ctrl-q"
|
||||
|
||||
jump_to_album: "a"
|
||||
|
||||
# Shift modifiers use a capital letter (also applies with other modifier keys
|
||||
# like ctrl-A)
|
||||
jump_to_artist_album: "A"
|
||||
|
||||
manage_devices: "d"
|
||||
decrease_volume: "-"
|
||||
increase_volume: "="
|
||||
toggle_playback: " "
|
||||
seek_backwards: "<"
|
||||
seek_forwards: ">"
|
||||
next_track: "n"
|
||||
previous_track: "p"
|
||||
copy_song_url: "c"
|
||||
copy_album_url: "C"
|
||||
help: "?"
|
||||
shuffle: "ctrl-s"
|
||||
repeat: "r"
|
||||
search: "/"
|
||||
audio_analysis: "v"
|
||||
jump_to_context: "o"
|
||||
basic_view: "B"
|
||||
add_item_to_queue: "z"
|
||||
@@ -0,0 +1,9 @@
|
||||
[global]
|
||||
username = "myusername"
|
||||
password = "mysecretpass"
|
||||
backend = "pulseaudio"
|
||||
device_name = "Rockethype"
|
||||
bitrate = 320
|
||||
cache_path = "/home/mat/.cache/spotifyd"
|
||||
volume-normalisation = true
|
||||
normalisation-pregain = 0
|
||||
@@ -0,0 +1,596 @@
|
||||
music_dir = ["/home/mat/Music", "/home/mat/Downloads/Vinyl-Rip"]
|
||||
player_port = 50101
|
||||
player_loop_mode = "Playlist"
|
||||
player_volume = 90
|
||||
player_speed = 10
|
||||
player_gapless = true
|
||||
podcast_simultanious_download = 3
|
||||
podcast_max_retries = 3
|
||||
podcast_dir = "/home/mat/Music/podcast"
|
||||
player_seek_step = "Auto"
|
||||
player_remember_last_played_position = "Auto"
|
||||
enable_exit_confirmation = true
|
||||
playlist_display_symbol = true
|
||||
playlist_select_random_track_quantity = 20
|
||||
playlist_select_random_album_quantity = 5
|
||||
theme_selected = "Rockethype"
|
||||
kill_daemon_when_quit = true
|
||||
player_use_mpris = true
|
||||
player_use_discord = true
|
||||
|
||||
[album_photo_xywh]
|
||||
x_between_1_100 = 99
|
||||
y_between_1_100 = 77
|
||||
width_between_1_100 = 20
|
||||
align = "BottomLeft"
|
||||
|
||||
[style_color_symbol]
|
||||
library_foreground = "Foreground"
|
||||
library_background = "Reset"
|
||||
library_border = "Blue"
|
||||
library_highlight = "Red"
|
||||
library_highlight_symbol = "🦄"
|
||||
playlist_foreground = "Foreground"
|
||||
playlist_background = "Reset"
|
||||
playlist_border = "Blue"
|
||||
playlist_highlight = "Red"
|
||||
playlist_highlight_symbol = "🚀"
|
||||
progress_foreground = "Red"
|
||||
progress_background = "Reset"
|
||||
progress_border = "Blue"
|
||||
lyric_foreground = "Foreground"
|
||||
lyric_background = "Reset"
|
||||
lyric_border = "Blue"
|
||||
|
||||
[style_color_symbol.alacritty_theme]
|
||||
path = "/home/mat/.config/termusic/themes/Rockethype.yml"
|
||||
name = "empty name"
|
||||
author = "empty author"
|
||||
background = "#303030"
|
||||
foreground = "#abb2bf"
|
||||
cursor = "#FFFFFF"
|
||||
text = "#FFFFFF"
|
||||
black = "#282c34"
|
||||
red = "#e06c75"
|
||||
green = "#98c379"
|
||||
yellow = "#e5c07b"
|
||||
blue = "#81A1C1"
|
||||
magenta = "#c678dd"
|
||||
cyan = "#56b6c2"
|
||||
white = "#c8ccd4"
|
||||
light_black = "#7f7f7f"
|
||||
light_red = "#ff0000"
|
||||
light_green = "#00ff00"
|
||||
light_yellow = "#ffff00"
|
||||
light_blue = "#5c5cff"
|
||||
light_magenta = "#ff00ff"
|
||||
light_cyan = "#00ffff"
|
||||
light_white = "#ffffff"
|
||||
|
||||
[keys.global_esc.code]
|
||||
type = "Esc"
|
||||
|
||||
[keys.global_esc.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.global_quit.code]
|
||||
type = "Char"
|
||||
args = "q"
|
||||
|
||||
[keys.global_quit.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.global_left.code]
|
||||
type = "Char"
|
||||
args = "h"
|
||||
|
||||
[keys.global_left.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.global_down.code]
|
||||
type = "Char"
|
||||
args = "j"
|
||||
|
||||
[keys.global_down.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.global_up.code]
|
||||
type = "Char"
|
||||
args = "k"
|
||||
|
||||
[keys.global_up.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.global_right.code]
|
||||
type = "Char"
|
||||
args = "l"
|
||||
|
||||
[keys.global_right.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.global_goto_top.code]
|
||||
type = "Char"
|
||||
args = "g"
|
||||
|
||||
[keys.global_goto_top.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.global_goto_bottom.code]
|
||||
type = "Char"
|
||||
args = "G"
|
||||
|
||||
[keys.global_goto_bottom.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.global_player_toggle_pause.code]
|
||||
type = "Char"
|
||||
args = " "
|
||||
|
||||
[keys.global_player_toggle_pause.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.global_player_next.code]
|
||||
type = "Char"
|
||||
args = "n"
|
||||
|
||||
[keys.global_player_next.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.global_player_previous.code]
|
||||
type = "Char"
|
||||
args = "N"
|
||||
|
||||
[keys.global_player_previous.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.global_player_volume_plus_1.code]
|
||||
type = "Char"
|
||||
args = "+"
|
||||
|
||||
[keys.global_player_volume_plus_1.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.global_player_volume_plus_2.code]
|
||||
type = "Char"
|
||||
args = "="
|
||||
|
||||
[keys.global_player_volume_plus_2.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.global_player_volume_minus_1.code]
|
||||
type = "Char"
|
||||
args = "_"
|
||||
|
||||
[keys.global_player_volume_minus_1.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.global_player_volume_minus_2.code]
|
||||
type = "Char"
|
||||
args = "-"
|
||||
|
||||
[keys.global_player_volume_minus_2.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.global_help.code]
|
||||
type = "Char"
|
||||
args = "h"
|
||||
|
||||
[keys.global_help.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 2
|
||||
|
||||
[keys.global_player_seek_forward.code]
|
||||
type = "Char"
|
||||
args = "f"
|
||||
|
||||
[keys.global_player_seek_forward.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.global_player_seek_backward.code]
|
||||
type = "Char"
|
||||
args = "b"
|
||||
|
||||
[keys.global_player_seek_backward.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.global_lyric_adjust_forward.code]
|
||||
type = "Char"
|
||||
args = "F"
|
||||
|
||||
[keys.global_lyric_adjust_forward.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.global_lyric_adjust_backward.code]
|
||||
type = "Char"
|
||||
args = "B"
|
||||
|
||||
[keys.global_lyric_adjust_backward.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.global_player_speed_up.code]
|
||||
type = "Char"
|
||||
args = "f"
|
||||
|
||||
[keys.global_player_speed_up.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 2
|
||||
|
||||
[keys.global_player_speed_down.code]
|
||||
type = "Char"
|
||||
args = "b"
|
||||
|
||||
[keys.global_player_speed_down.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 2
|
||||
|
||||
[keys.global_lyric_cycle.code]
|
||||
type = "Char"
|
||||
args = "T"
|
||||
|
||||
[keys.global_lyric_cycle.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.global_layout_treeview.code]
|
||||
type = "Char"
|
||||
args = "1"
|
||||
|
||||
[keys.global_layout_treeview.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.global_layout_database.code]
|
||||
type = "Char"
|
||||
args = "2"
|
||||
|
||||
[keys.global_layout_database.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.global_player_toggle_gapless.code]
|
||||
type = "Char"
|
||||
args = "g"
|
||||
|
||||
[keys.global_player_toggle_gapless.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 2
|
||||
|
||||
[keys.global_config_open.code]
|
||||
type = "Char"
|
||||
args = "C"
|
||||
|
||||
[keys.global_config_open.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.global_save_playlist.code]
|
||||
type = "Char"
|
||||
args = "s"
|
||||
|
||||
[keys.global_save_playlist.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 2
|
||||
|
||||
[keys.global_layout_podcast.code]
|
||||
type = "Char"
|
||||
args = "3"
|
||||
|
||||
[keys.global_layout_podcast.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.global_xywh_move_left.code]
|
||||
type = "Left"
|
||||
|
||||
[keys.global_xywh_move_left.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 3
|
||||
|
||||
[keys.global_xywh_move_right.code]
|
||||
type = "Right"
|
||||
|
||||
[keys.global_xywh_move_right.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 3
|
||||
|
||||
[keys.global_xywh_move_up.code]
|
||||
type = "Up"
|
||||
|
||||
[keys.global_xywh_move_up.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 3
|
||||
|
||||
[keys.global_xywh_move_down.code]
|
||||
type = "Down"
|
||||
|
||||
[keys.global_xywh_move_down.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 3
|
||||
|
||||
[keys.global_xywh_zoom_in.code]
|
||||
type = "PageUp"
|
||||
|
||||
[keys.global_xywh_zoom_in.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 3
|
||||
|
||||
[keys.global_xywh_zoom_out.code]
|
||||
type = "PageDown"
|
||||
|
||||
[keys.global_xywh_zoom_out.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 3
|
||||
|
||||
[keys.global_xywh_hide.code]
|
||||
type = "End"
|
||||
|
||||
[keys.global_xywh_hide.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 3
|
||||
|
||||
[keys.library_load_dir.code]
|
||||
type = "Char"
|
||||
args = "L"
|
||||
|
||||
[keys.library_load_dir.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.library_delete.code]
|
||||
type = "Char"
|
||||
args = "d"
|
||||
|
||||
[keys.library_delete.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.library_yank.code]
|
||||
type = "Char"
|
||||
args = "y"
|
||||
|
||||
[keys.library_yank.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.library_paste.code]
|
||||
type = "Char"
|
||||
args = "p"
|
||||
|
||||
[keys.library_paste.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.library_search.code]
|
||||
type = "Char"
|
||||
args = "/"
|
||||
|
||||
[keys.library_search.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.library_search_youtube.code]
|
||||
type = "Char"
|
||||
args = "s"
|
||||
|
||||
[keys.library_search_youtube.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.library_tag_editor_open.code]
|
||||
type = "Char"
|
||||
args = "t"
|
||||
|
||||
[keys.library_tag_editor_open.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.library_switch_root.code]
|
||||
type = "Char"
|
||||
args = "o"
|
||||
|
||||
[keys.library_switch_root.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.library_add_root.code]
|
||||
type = "Char"
|
||||
args = "a"
|
||||
|
||||
[keys.library_add_root.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.library_remove_root.code]
|
||||
type = "Char"
|
||||
args = "A"
|
||||
|
||||
[keys.library_remove_root.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.playlist_delete.code]
|
||||
type = "Char"
|
||||
args = "d"
|
||||
|
||||
[keys.playlist_delete.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.playlist_delete_all.code]
|
||||
type = "Char"
|
||||
args = "D"
|
||||
|
||||
[keys.playlist_delete_all.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.playlist_shuffle.code]
|
||||
type = "Char"
|
||||
args = "r"
|
||||
|
||||
[keys.playlist_shuffle.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.playlist_mode_cycle.code]
|
||||
type = "Char"
|
||||
args = "m"
|
||||
|
||||
[keys.playlist_mode_cycle.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.playlist_play_selected.code]
|
||||
type = "Char"
|
||||
args = "l"
|
||||
|
||||
[keys.playlist_play_selected.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.playlist_search.code]
|
||||
type = "Char"
|
||||
args = "/"
|
||||
|
||||
[keys.playlist_search.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.playlist_swap_down.code]
|
||||
type = "Char"
|
||||
args = "J"
|
||||
|
||||
[keys.playlist_swap_down.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.playlist_swap_up.code]
|
||||
type = "Char"
|
||||
args = "K"
|
||||
|
||||
[keys.playlist_swap_up.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.playlist_cmus_lqueue.code]
|
||||
type = "Char"
|
||||
args = "S"
|
||||
|
||||
[keys.playlist_cmus_lqueue.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.playlist_cmus_tqueue.code]
|
||||
type = "Char"
|
||||
args = "s"
|
||||
|
||||
[keys.playlist_cmus_tqueue.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.database_add_all.code]
|
||||
type = "Char"
|
||||
args = "L"
|
||||
|
||||
[keys.database_add_all.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.config_save.code]
|
||||
type = "Char"
|
||||
args = "s"
|
||||
|
||||
[keys.config_save.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 2
|
||||
|
||||
[keys.podcast_mark_played.code]
|
||||
type = "Char"
|
||||
args = "m"
|
||||
|
||||
[keys.podcast_mark_played.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.podcast_mark_all_played.code]
|
||||
type = "Char"
|
||||
args = "M"
|
||||
|
||||
[keys.podcast_mark_all_played.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.podcast_episode_download.code]
|
||||
type = "Char"
|
||||
args = "d"
|
||||
|
||||
[keys.podcast_episode_download.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.podcast_episode_delete_file.code]
|
||||
type = "Char"
|
||||
args = "x"
|
||||
|
||||
[keys.podcast_episode_delete_file.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.podcast_delete_feed.code]
|
||||
type = "Char"
|
||||
args = "d"
|
||||
|
||||
[keys.podcast_delete_feed.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.podcast_delete_all_feeds.code]
|
||||
type = "Char"
|
||||
args = "D"
|
||||
|
||||
[keys.podcast_delete_all_feeds.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
|
||||
[keys.podcast_search_add_feed.code]
|
||||
type = "Char"
|
||||
args = "s"
|
||||
|
||||
[keys.podcast_search_add_feed.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.podcast_refresh_feed.code]
|
||||
type = "Char"
|
||||
args = "r"
|
||||
|
||||
[keys.podcast_refresh_feed.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 0
|
||||
|
||||
[keys.podcast_refresh_all_feeds.code]
|
||||
type = "Char"
|
||||
args = "R"
|
||||
|
||||
[keys.podcast_refresh_all_feeds.modifier]
|
||||
type = "KeyModifiers"
|
||||
bits = 1
|
||||
@@ -0,0 +1,27 @@
|
||||
# XTerm's default colors
|
||||
colors:
|
||||
# Default colors
|
||||
primary:
|
||||
background: '#303030'
|
||||
foreground: '#abb2bf'
|
||||
# Normal colors
|
||||
normal:
|
||||
black: '#282c34'
|
||||
red: '#e06c75'
|
||||
green: '#98c379'
|
||||
yellow: '#e5c07b'
|
||||
blue: '#81A1C1'
|
||||
magenta: '#c678dd'
|
||||
cyan: '#56b6c2'
|
||||
white: '#c8ccd4'
|
||||
|
||||
# Bright colors
|
||||
bright:
|
||||
black: '#7f7f7f'
|
||||
red: '#ff0000'
|
||||
green: '#00ff00'
|
||||
yellow: '#ffff00'
|
||||
blue: '#5c5cff'
|
||||
magenta: '#ff00ff'
|
||||
cyan: '#00ffff'
|
||||
white: '#ffffff'
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
##CPU loading
|
||||
CPULOAD=$(top -bn1 | sed -n '/Cpu/p' | awk '{print $2}' | sed 's/..,//')
|
||||
|
||||
##RAM usege
|
||||
RAMLOAD=$(free | grep Mem | awk '{print $3/$2 * 100.0}' | cut -d. -f1)
|
||||
|
||||
echo \
|
||||
"| $CPULOAD% |" \
|
||||
" $RAMLOAD% "
|
||||
@@ -0,0 +1,38 @@
|
||||
# tmux cozy config
|
||||
set -g mouse on
|
||||
|
||||
# Set the default terminal mode to 256color mode
|
||||
set -g default-terminal "screen-256color"
|
||||
set -g status-style fg=black,bg=blue
|
||||
|
||||
# Start windows and panes at 1, not 0
|
||||
set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
set-window-option -g pane-base-index 1
|
||||
set-option -g renumber-windows on
|
||||
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
set -g @plugin 'thewtex/tmux-mem-cpu-load'
|
||||
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
# set vi-mode
|
||||
set-window-option -g mode-keys vi
|
||||
# keybindings
|
||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
|
||||
unbind C-b
|
||||
set -g prefix C-Space
|
||||
bind C-Space send-prefix
|
||||
bind '"' split-window -v -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
|
||||
set -g status-interval 1
|
||||
set-option -g status-left "[ #S]"
|
||||
set-option -g status-right "#(~/.config/tmux/statusbar)"
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
set encoding=utf-8
|
||||
syntax on
|
||||
set t_Co=256
|
||||
set clipboard=unnamed
|
||||
set noswapfile
|
||||
|
||||
inoremap jk <esc>
|
||||
|
||||
noremap <Up> <Nop>
|
||||
noremap <Down> <Nop>
|
||||
noremap <Left> <Nop>
|
||||
noremap <Right> <Nop>
|
||||
|
||||
Executable
+150
@@ -0,0 +1,150 @@
|
||||
{
|
||||
"position": "top",
|
||||
"layer": "top",
|
||||
"modules-left": [
|
||||
"custom/launch",
|
||||
"cpu",
|
||||
"memory",
|
||||
"custom/tempcpu",
|
||||
"custom/tempgpu"
|
||||
],
|
||||
"modules-center": ["hyprland/workspaces"],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"custom/wgstatus",
|
||||
"hyprland/language",
|
||||
"pulseaudio",
|
||||
"clock",
|
||||
"custom/notify",
|
||||
"custom/off"
|
||||
],
|
||||
"custom/launch": {
|
||||
"format": " ",
|
||||
"on-click": "sleep 0.1 && menurun",
|
||||
"tooltip": false,
|
||||
"escape": true
|
||||
},
|
||||
|
||||
"custom/tempcpu": {
|
||||
"interval": 3,
|
||||
"exec": "~/.config/waybar/scripts/lstempcpu",
|
||||
"format": " {}°C",
|
||||
"tooltip": true,
|
||||
"return-type": "json"
|
||||
},
|
||||
|
||||
"custom/tempgpu": {
|
||||
"interval": 3,
|
||||
"exec": "~/.config/waybar/scripts/lstempgpu",
|
||||
"format": "<span size='large'></span> {}°C",
|
||||
"tooltip": false,
|
||||
"return-type": "json"
|
||||
},
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"format": " {icon} ",
|
||||
"on-click": "activate",
|
||||
"all-outputs": false,
|
||||
"sort-by-number": true,
|
||||
"persistent_workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": [],
|
||||
"6": [],
|
||||
"7": [],
|
||||
"8": []
|
||||
},
|
||||
"format-icons": {
|
||||
"1": " ",
|
||||
"2": " ",
|
||||
"3": "<span size='large'> </span>",
|
||||
"4": " ",
|
||||
"5": "<span size='large'> </span>",
|
||||
"6": "<span size='large'> </span>",
|
||||
"7": " ",
|
||||
"8": "<span size='large'> </span>",
|
||||
"urgent": " ",
|
||||
"focused": " ",
|
||||
"default": " "
|
||||
}
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 16,
|
||||
"spacing": 10,
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/wgstatus": {
|
||||
"interval": 1,
|
||||
"exec": "~/.config/waybar/scripts/wgstatus",
|
||||
"format": " {} ",
|
||||
"tooltip": false,
|
||||
"on-click": "sleep 0.1 && ~/.config/waybar/scripts/wgstatus -toggle"
|
||||
},
|
||||
|
||||
"hyprland/language": {
|
||||
"format": " {} ",
|
||||
"format-en": "Eng",
|
||||
"format-ru": "Rus",
|
||||
"on-click": "sleep 0.1 && hyprctl switchxkblayout compx-2.4g-wireless-receiver next",
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"scroll-step": 5,
|
||||
"format": "{icon} {volume}",
|
||||
"format-bluetooth": "{icon} {volume}",
|
||||
"format-bluetooth-muted": " ",
|
||||
"format-muted": " ",
|
||||
"format-icons": {
|
||||
"default": ["", "", " "]
|
||||
},
|
||||
"on-click": "sleep 0.1 && pavucontrol &",
|
||||
"on-click-middle": "sleep 0.1 && loopback_toggle",
|
||||
"on-scroll-up": "swayosd --output-volume raise",
|
||||
"on-scroll-down": "swayosd --output-volume lower",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"format": "<span font_family='Material Icons' size='large'></span> {usage}%",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{tooltip}"
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 3,
|
||||
"format": "<span font_family='Material Icons' size='large'></span> {}%",
|
||||
"max-length": 6,
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{tooltip}"
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"interval": 1,
|
||||
"format": "<span font_family='Material Icons' size='large'></span> {:%I:%M %p}",
|
||||
"format-alt": " {:%b %d, %G}",
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||
"calendar": {
|
||||
"mode" : "month",
|
||||
"mode-mon-col" : 3,
|
||||
"format": {
|
||||
"months": "<span color='#e5c07b'><b>{}</b></span>",
|
||||
"days": "<span color='#e5c07b'><b>{}</b></span>",
|
||||
"weekdays": "<span color='#56b6c2'><b>{}</b></span>",
|
||||
"today": "<span color='#e06c75'><b><u>{}</u></b></span>"
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
"custom/off": {
|
||||
"format": " ",
|
||||
"on-click": "sleep 0.1 && menupower",
|
||||
"tooltip": false,
|
||||
"escape": true
|
||||
}
|
||||
|
||||
}
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
CPUTEMP=$(cat /sys/class/hwmon/hwmon3/temp1_input)
|
||||
CRITEMP=70
|
||||
let "REZ=$CPUTEMP / 1000"
|
||||
if [ $REZ -ge $CRITEMP ]; then
|
||||
JSON_FMT='{"text":"%s","class":"%s","tooltip": "cpu"}\n'
|
||||
printf "$JSON_FMT" "$REZ" "crit"
|
||||
else
|
||||
JSON_FMT='{"text":"%s","tooltip": "cpu"}\n'
|
||||
printf "$JSON_FMT" "$REZ"
|
||||
fi
|
||||
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
GPUTEMP=$(cat /sys/class/hwmon/hwmon2/temp2_input)
|
||||
CRITEMP=80
|
||||
let "REZ=$GPUTEMP / 1000"
|
||||
if [ $REZ -ge $CRITEMP ]; then
|
||||
JSON_FMT='{"text":"%s","class":"%s","tooltip":"gpu"}\n'
|
||||
printf "$JSON_FMT" "$REZ" "crit"
|
||||
else
|
||||
JSON_FMT='{"text":"%s","tooltip":"gpu"}\n'
|
||||
printf "$JSON_FMT" "$REZ"
|
||||
fi
|
||||
|
||||
Executable
+25
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
WGIFACE=kz.totmin.ru
|
||||
|
||||
WGON(){
|
||||
echo "VPN"
|
||||
WGS='true'
|
||||
}
|
||||
|
||||
WGOFF(){
|
||||
# echo "Off"
|
||||
WGS='false'
|
||||
}
|
||||
|
||||
ifconfig $WGIFACE &>/dev/null && WGON ||WGOFF
|
||||
|
||||
if [ "$1" = '-toggle' ]; then
|
||||
if [ "$WGS" = 'true' ]; then
|
||||
sudo wg-quick down $WGIFACE &>/dev/null
|
||||
else
|
||||
sudo wg-quick up $WGIFACE &>/dev/null
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Executable
+228
@@ -0,0 +1,228 @@
|
||||
/*
|
||||
|
||||
Color Pallete
|
||||
|
||||
foreground: '#abb2bf'
|
||||
background: '#303030'
|
||||
alt-background: '#282c34'
|
||||
alt-foreground: '#1f2227'
|
||||
|
||||
black: '#282c34'
|
||||
red: '#e06c75'
|
||||
green: '#98c379'
|
||||
yellow: '#e5c07b'
|
||||
blue: '#81A1C1'
|
||||
magenta: '#c678dd'
|
||||
cyan: '#56b6c2'
|
||||
white: '#c8ccd4'
|
||||
|
||||
*/
|
||||
|
||||
* {
|
||||
border: 0px solid rgba(40, 44, 52, 0);
|
||||
border-radius: 6px;
|
||||
font-family: Iosevka Nerd Font, Font Awesome,Material Icons, Arial, sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: 13px;
|
||||
min-height: 18px;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: #303030;
|
||||
font-family: Iosevka Nerd Font;
|
||||
border: 1px solid rgba(100, 114, 125, 0.5);
|
||||
}
|
||||
|
||||
tooltip label {
|
||||
color: #c8ccd4;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: #303030;
|
||||
background: transparent;
|
||||
color: #303030;
|
||||
transition-property: background-color;
|
||||
transition-duration: 0.5s;
|
||||
border-radius: 6px;
|
||||
|
||||
}
|
||||
|
||||
window > box {
|
||||
margin-left: 12.5px;
|
||||
margin-right: 12.5px;
|
||||
margin-top: 12.5px;
|
||||
background: #303030;
|
||||
color: #c8ccd4;
|
||||
}
|
||||
|
||||
window#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
label:focus {
|
||||
background-color: #282c34;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #c8ccd4;
|
||||
color: #282c34;
|
||||
}
|
||||
}
|
||||
|
||||
#battery,
|
||||
#cpu,
|
||||
#memory,
|
||||
#disk,
|
||||
#backlight,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#workspaces,
|
||||
#clock,
|
||||
#tray,
|
||||
#mode,
|
||||
#idle_inhibitor,
|
||||
#mpd {
|
||||
padding: 0 10px;
|
||||
margin: 4px 4px 4px 4px;
|
||||
color: #1f2227;
|
||||
}
|
||||
|
||||
#custom-launch {
|
||||
margin-right: 10px;
|
||||
margin-left: 4px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
font-size: 17px;
|
||||
background-color: #81a1c1;
|
||||
color: #1f2227;
|
||||
}
|
||||
|
||||
#custom-tempcpu {
|
||||
color: #81A1C1;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
#custom-tempcpu.crit {
|
||||
color: #e06c75;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
#custom-tempgpu {
|
||||
color: #81A1C1;
|
||||
margin-left: 18px;
|
||||
}
|
||||
|
||||
#custom-tempgpu.crit {
|
||||
color: #e06c75;
|
||||
margin-left: 18px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 5px 5px;
|
||||
background-color: transparent;
|
||||
border-radius: 6px;
|
||||
margin-left: 1px;
|
||||
color: #abb2bf;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background-color: transparent;
|
||||
color: #c678dd;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background-color: transparent;
|
||||
color: #e06c75;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: transparent;
|
||||
color: #e06c75;
|
||||
}
|
||||
|
||||
#custom-spotify {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
font-size: 17px;
|
||||
font-weight: 500;
|
||||
background-color: #98c379;
|
||||
color: #1f2227;
|
||||
}
|
||||
|
||||
#custom-wgstatus {
|
||||
color: #e06c75;
|
||||
margin-right: 18px;
|
||||
}
|
||||
|
||||
#language {
|
||||
color: #c678dd;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
color: #e5c07b;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
background-color: #81a1c1;
|
||||
color: #282c34;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
color: #e5c07b;
|
||||
}
|
||||
|
||||
#network {
|
||||
color: #81a1c1;
|
||||
}
|
||||
|
||||
#memory {
|
||||
color: #81A1C1;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
color: #81A1C1;
|
||||
}
|
||||
|
||||
#battery {
|
||||
color: #e5c07b;
|
||||
}
|
||||
|
||||
#battery.charging,
|
||||
#battery.plugged {
|
||||
color: #e06c75;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
color: #e06c75;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#clock {
|
||||
color: #98c379;
|
||||
}
|
||||
|
||||
#custom-notify {
|
||||
color: #56b6c2;
|
||||
}
|
||||
|
||||
#custom-off {
|
||||
margin-right: 4px;
|
||||
margin-left: 11px;
|
||||
padding-left: 10px;
|
||||
padding-right: 8px;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
font-size: 17px;
|
||||
background-color: #e06c75;
|
||||
color: #272727;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
width=700
|
||||
height=250
|
||||
location=center
|
||||
show=run
|
||||
prompt=Search...
|
||||
filter_rate=165
|
||||
allow_markup=true
|
||||
no_actions=true
|
||||
halign=fill
|
||||
orientation=vertical
|
||||
content_halign=fill
|
||||
insensitive=true
|
||||
allow_images=true
|
||||
image_size=32
|
||||
gtk_dark=true
|
||||
term=kitty
|
||||
@@ -0,0 +1,5 @@
|
||||
@import ".config/wofi/style.css";
|
||||
window {
|
||||
font-family: "JetBrains Mono";
|
||||
font-size: 13px;
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
window {
|
||||
margin: 0px;
|
||||
border: 5px solid #202020;
|
||||
background-color: #323232;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#input {
|
||||
all: unset;
|
||||
min-height: 36px;
|
||||
padding: 4px 10px;
|
||||
margin: 4px;
|
||||
border: none;
|
||||
color: #e2e0ec;
|
||||
font-weight: bold;
|
||||
background-color: #272727;
|
||||
outline: none;
|
||||
border-radius: 6px;
|
||||
margin: 10px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
#inner-box {
|
||||
margin: 4px;
|
||||
padding: 10px;
|
||||
font-weight: bold;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#outer-box {
|
||||
margin: 0px;
|
||||
padding: 3px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
border: 5px solid #202020;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
margin-top: 5px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
#text:selected {
|
||||
color: #f1f0f5;
|
||||
margin: 0px 0px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
#entry {
|
||||
margin: 0px 0px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#entry:selected {
|
||||
margin: 0px 0px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background: linear-gradient(90deg, #E97193 0%, #e06c75 100%);
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
[mgr]
|
||||
|
||||
prepend_keymap = [
|
||||
{ on = [ "!" ], run = 'shell "$SHELL" --block', desc = "Open $$SHELL here" },
|
||||
{ on = [ "a" ], run = "rename", desc = "Rename" },
|
||||
{ on = [ "z", "z" ], run = "shell fzf --block", desc = "FZF" },
|
||||
{ on = [ "z", "h" ], run = "hidden toggle", desc = "Toggle hidden files" },
|
||||
{ on = [ "z", "e" ], run = 'shell --block -- unpack "$@"', desc = "Extract Archive" },
|
||||
{ on = [ "z", "s" ], run = 'shell --block -- scpsend "$@"', desc = "Send to Server" },
|
||||
|
||||
|
||||
{ on = [ "d", "d" ], run = "remove", desc = "Delete" },
|
||||
{ on = [ "d", "D" ], run = "remove --permanently", desc = "Delete Permanently" },
|
||||
{ on = [ "d", "u" ], run = 'shell --block "du --max-depth=1 -ah --apparent-size | less"', desc = "Show Size" },
|
||||
{ on = [ "d", "U" ], run = 'shell --block "du --max-depth=1 -ah --apparent-size | sort -rh | less"', desc = "Show Size" },
|
||||
]
|
||||
|
||||
append_keymap = [
|
||||
{ on = "c", run = [ "cmd1", "cmd2" ], desc = "Multiple commands with `c`" }
|
||||
]
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
[mgr]
|
||||
|
||||
cwd = { fg = "green" }
|
||||
|
||||
# Border
|
||||
border_symbol = "│"
|
||||
border_style = { fg = "blue" }
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
[mgr]
|
||||
linemode = "size"
|
||||
"h" = "cd .."
|
||||
"l" = "shell $EDITOR {file}"
|
||||
|
||||
[opener]
|
||||
edit = [
|
||||
{ run = 'vim "$@"', desc = "$EDITOR", block = true, for = "linux" },
|
||||
]
|
||||
open = [
|
||||
{ run = 'xdg-open "$@"', desc = "Open", for = "linux" },
|
||||
]
|
||||
openimg = [
|
||||
{ run = 'swayimg "$@"', desc = "Open", for = "linux" },
|
||||
]
|
||||
reveal = [
|
||||
{ run = 'xdg-open "$(dirname "$0")"', desc = "Reveal", for = "linux" },
|
||||
]
|
||||
extract = [
|
||||
{ run = 'unpack "$1"', desc = "Extract here", for = "unix" },
|
||||
]
|
||||
play = [
|
||||
{ run = 'mpv "$@"', orphan = true, for = "unix" },
|
||||
]
|
||||
|
||||
[open]
|
||||
rules = [
|
||||
{ mime = "text/*", use = "edit" },
|
||||
{ mime = "video/*", use = "play" },
|
||||
{ mime = "audio/*", use = "play" },
|
||||
{ mime = "image/*", use = "openimg" },
|
||||
|
||||
{ name = "*.json", use = "edit" },
|
||||
{ name = "*.toml", use = "edit" },
|
||||
{ name = "*.html", use = [ "open", "edit" ] },
|
||||
|
||||
]
|
||||
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
option0="Disable DM"
|
||||
option1="Enable DM"
|
||||
|
||||
option2="Toggle DM Capture Card"
|
||||
|
||||
options="$option0\n$option1\n$option2"
|
||||
|
||||
selected="$(echo -e "$options" | wofi -n -d -p "Direct Monitor:" || exit 0)"
|
||||
|
||||
case $selected in
|
||||
$option0)
|
||||
amixer --card=3 set 'Direct Monitor' Off;;
|
||||
$option1)
|
||||
amixer --card=3 set 'Direct Monitor' Stereo;;
|
||||
$option2)
|
||||
loopback_toggle;;
|
||||
|
||||
esac
|
||||
|
||||
exit 0
|
||||
@@ -1,21 +1,37 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import json
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
tmp = os.popen("lutris -ojl").read()
|
||||
games = json.loads(tmp)
|
||||
try:
|
||||
# Получаем список игр
|
||||
result = subprocess.run(["lutris", "-ojl"], capture_output=True, text=True)
|
||||
games = json.loads(result.stdout)
|
||||
|
||||
gameslist = ""
|
||||
concat = ""
|
||||
for item in games:
|
||||
gameslist = gameslist + concat + item["name"]
|
||||
concat = "\n"
|
||||
# Формируем список названий
|
||||
game_names = [game["name"] for game in games]
|
||||
games_list = "\n".join(game_names)
|
||||
|
||||
tmp = subprocess.getoutput("echo \"" + gameslist + "\" | wofi -n -d -p \"Select Game:\"")
|
||||
# Выбор игры через wofi
|
||||
wofi_process = subprocess.Popen(
|
||||
["wofi", "-n", "-d", "-p", "Select Game:"],
|
||||
stdin=subprocess.PIPE,
|
||||
stdout=subprocess.PIPE,
|
||||
text=True
|
||||
)
|
||||
selected_game, _ = wofi_process.communicate(input=games_list)
|
||||
selected_game = selected_game.strip()
|
||||
|
||||
for item in games:
|
||||
if item["name"] == tmp:
|
||||
subprocess.Popen(["lutris","lutris:rungameid/" + str(item["id"])])
|
||||
if not selected_game:
|
||||
sys.exit(0)
|
||||
|
||||
# Запускаем выбранную игру
|
||||
for game in games:
|
||||
if game["name"] == selected_game:
|
||||
subprocess.Popen(["lutris", f"lutris:rungameid/{game['id']}"])
|
||||
break
|
||||
except Exception as e:
|
||||
print(f"Error: {e}", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Проверяем, переданы ли аргументы
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "Ошибка: не указаны файлы для копирования"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Запрашиваем удалённый путь
|
||||
REM=$(gum input --placeholder "user@host:/path/to/destination")
|
||||
|
||||
# Копируем каждый файл по очереди
|
||||
for file in "$@"; do
|
||||
if [ ! -e "$file" ]; then
|
||||
echo "Ошибка: файл '$file' не существует, пропускаем"
|
||||
continue
|
||||
fi
|
||||
echo "Копируем $file..."
|
||||
scp -r "$file" "$REM"
|
||||
done
|
||||
|
||||
echo "Готово!"
|
||||
Executable
+42
@@ -0,0 +1,42 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Функция для распаковки архивов
|
||||
unpack() {
|
||||
if [ $# -eq 0 ]; then
|
||||
echo -e "\033[1;31mОшибка:\033[0m Укажите имя архива"
|
||||
echo "Использование: unpack <архив>"
|
||||
return 1
|
||||
fi
|
||||
|
||||
if [ ! -f "$1" ]; then
|
||||
echo -e "\033[1;31mОшибка:\033[0m Файл '$1' не существует"
|
||||
return 1
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
*.tar.bz2|*.tbz2) tar xjf "$1" ;;
|
||||
*.tar.gz|*.tgz) tar xzf "$1" ;;
|
||||
*.tar.xz) tar xf "$1" ;;
|
||||
*.tar) tar xf "$1" ;;
|
||||
*.bz2) bunzip2 "$1" ;;
|
||||
*.rar) unrar x "$1" ;;
|
||||
*.gz) gunzip "$1" ;;
|
||||
*.zip) unzip "$1" ;;
|
||||
*.Z) uncompress "$1" ;;
|
||||
*.7z) 7z x "$1" ;;
|
||||
*)
|
||||
echo -e "\033[1;31mОшибка:\033[0m Неподдерживаемый формат архива: '$1'"
|
||||
echo -e "Поддерживаемые форматы: .tar.bz2, .tar.gz, .tar.xz, .tar, .bz2, .rar, .gz, .zip, .Z, .7z"
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo -e "\033[1;32mУспех:\033[0m Архив '$1' распакован"
|
||||
fi
|
||||
}
|
||||
|
||||
# Если скрипт вызван напрямую (а не через source), выполняем unpack
|
||||
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
|
||||
unpack "$@"
|
||||
fi
|
||||
@@ -0,0 +1,91 @@
|
||||
:root {
|
||||
--rh-bg: #303030;
|
||||
--rh-fg: #abb2bf;
|
||||
--rh-current-line: #44475a;
|
||||
--rh-comment: #6272a4;
|
||||
--rh-abyss: rgb(39,39,39);
|
||||
--rh-cyan: #56b6c2;
|
||||
--rh-green: #98c379;
|
||||
--rh-orange: #ffb86c;
|
||||
--rh-pink: #ff79c6;
|
||||
--rh-purple: #c678dd;
|
||||
--rh-red: #e06c75;
|
||||
--rh-yellow: #e5c07b;
|
||||
}
|
||||
.theme-dark,
|
||||
.theme-light {
|
||||
--main-background: var(--rh-bg);
|
||||
--text-color: var(--rh-fg);
|
||||
--link-color: var(--rh-purple);
|
||||
--link-hover-color: var(--rh-purple);
|
||||
--input-background: var(--rh-abyss);
|
||||
--segment-background: var(--rh-abyss);
|
||||
--card-background: var(--rh-abyss);
|
||||
--success-color: var(--rh-green);
|
||||
--success-hover-color: var(--rh-current-line);
|
||||
--discrete-text-color: var(--rh-fg);
|
||||
--really-discrete-text-color: var(--rh-comment);
|
||||
--button-basic-hover-color: var(--rh-fg);
|
||||
--button-basic-color: var(--rh-comment);
|
||||
--card-box-shadow: 0 1px 3px 0 black, 0 0 0 1px black;
|
||||
--sidebar-background: var(--rh-abyss);
|
||||
--vibrant-color: var(--rh-green);
|
||||
--vibrant-hover-color: var(--rh-green);
|
||||
--player-color: var(--rh-fg);
|
||||
--player-background: var(--rh-abyss);
|
||||
--site-background: var(--rh-bg);
|
||||
--danger-color: var(--rh-red);
|
||||
--danger-hover-color: var(--rh-red);
|
||||
--primary-color: var(--rh-cyan);
|
||||
--primary-hover-color: var(--rh-cyan);
|
||||
--secondary-menu-active-item-color: var(--rh-comment);
|
||||
}
|
||||
button,
|
||||
.ui.success.button,
|
||||
.ui.success.buttons .button,
|
||||
.ui.vibrant.button,
|
||||
.ui.vibrant.button:hover,
|
||||
.ui.vibrant.buttons .button,
|
||||
.ui.vibrant.buttons .button:hover,
|
||||
.ui.primary.button,
|
||||
.ui.primary.buttons .button {
|
||||
color: var(--rh-bg);
|
||||
}
|
||||
button:hover,
|
||||
.ui.success.button:hover,
|
||||
.ui.success.buttons .button:hover {
|
||||
color: var(--rh-fg);
|
||||
}
|
||||
.sidebar .logo path {
|
||||
fill: var(--rh-bg);
|
||||
}
|
||||
.ui.table td.active,
|
||||
.ui.table tr.active {
|
||||
color: var(--rh-fg);
|
||||
background: var(--rh-abyss);
|
||||
}
|
||||
.ui.info.message {
|
||||
color: var(--rh-fg);
|
||||
background: var(--rh-current-line);
|
||||
}
|
||||
.ui.selectable.table > tbody > tr:hover,
|
||||
.ui.table tbody tr td.selectable:hover,
|
||||
.ui.selectable.table tr.active:hover,
|
||||
.ui.selectable.table tr:hover td.active,
|
||||
.ui.table tr td.selectable.active:hover,
|
||||
button:hover,
|
||||
.ui.success.button:hover,
|
||||
.ui.success.buttons .button:hover {
|
||||
color: var(--rh-fg);
|
||||
background: var(--rh-current-line);
|
||||
}
|
||||
i.pink.icon {
|
||||
color: var(--rh-pink);
|
||||
}
|
||||
.ui.info.message .header {
|
||||
color: var(--rh-fg);
|
||||
}
|
||||
i.inverted.bordered.vibrant.icon,
|
||||
i.inverted.circular.vibrant.icon {
|
||||
background: var(--rh-red);
|
||||
}
|
||||
Reference in New Issue
Block a user