Updated to current
This commit is contained in:
parent
c79881b41c
commit
4e391f7e4b
@ -1,7 +1,3 @@
|
|||||||
import = ["~/.config/alacritty/onedark.toml", "~/.config/alacritty/font.toml"]
|
|
||||||
|
|
||||||
live_config_reload = true
|
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
padding = { x = 15, y = 15 }
|
padding = { x = 15, y = 15 }
|
||||||
decorations = "None"
|
decorations = "None"
|
||||||
@ -30,3 +26,7 @@ unfocused_hollow = false
|
|||||||
|
|
||||||
[mouse]
|
[mouse]
|
||||||
hide_when_typing = true
|
hide_when_typing = true
|
||||||
|
|
||||||
|
[general]
|
||||||
|
live_config_reload = true
|
||||||
|
import = ["~/.config/alacritty/onedark.toml", "~/.config/alacritty/font.toml"]
|
||||||
|
@ -72,3 +72,6 @@ pidof -q polkit-gnome-authentication-agent-1 || { /usr/lib/polkit-gnome/polkit-g
|
|||||||
|
|
||||||
# Fix cursor
|
# Fix cursor
|
||||||
xsetroot -cursor_name left_ptr
|
xsetroot -cursor_name left_ptr
|
||||||
|
|
||||||
|
# Fix dpi
|
||||||
|
xrdb -merge "$HOME"/.Xresources
|
||||||
|
@ -6,7 +6,7 @@ class = Dunst
|
|||||||
monitor = 0
|
monitor = 0
|
||||||
follow = mouse
|
follow = mouse
|
||||||
width = 300
|
width = 300
|
||||||
height = 300
|
height = 120
|
||||||
origin = top-right
|
origin = top-right
|
||||||
offset = 10x92
|
offset = 10x92
|
||||||
indicate_hidden = yes
|
indicate_hidden = yes
|
||||||
|
@ -1,31 +0,0 @@
|
|||||||
position_mode = pointer
|
|
||||||
stay_alive = 0
|
|
||||||
tint2_look = 0
|
|
||||||
terminal_exec = alacritty
|
|
||||||
terminal_args = -e
|
|
||||||
menu_width = 160
|
|
||||||
menu_padding_top = 5
|
|
||||||
menu_padding_right = 5
|
|
||||||
menu_padding_bottom = 5
|
|
||||||
menu_padding_left = 5
|
|
||||||
menu_radius = 8
|
|
||||||
menu_border = 0
|
|
||||||
menu_halign = left
|
|
||||||
sub_hover_action = 1
|
|
||||||
item_margin_y = 5
|
|
||||||
item_height = 30
|
|
||||||
item_padding_x = 8
|
|
||||||
item_radius = 6
|
|
||||||
item_border = 0
|
|
||||||
sep_height = 2
|
|
||||||
font = Clarity City Bold 12px
|
|
||||||
icon_size = 16
|
|
||||||
icon_theme = Papirus-Dark
|
|
||||||
arrow_string =
|
|
||||||
color_menu_border = #ffffff 0
|
|
||||||
color_menu_bg = #1f2329
|
|
||||||
color_norm_bg = #ffffff 0
|
|
||||||
color_norm_fg = #b8bfe5
|
|
||||||
color_sel_bg = #23272e
|
|
||||||
color_sel_fg = #b8bfe5
|
|
||||||
color_sep_fg = #b3b3b3
|
|
@ -1,25 +0,0 @@
|
|||||||
Terminal ,openapp --floating ,/usr/share/icons/Papirus/32x32/apps/terminal.svg
|
|
||||||
Web Browser ,openapp --browser ,/usr/share/icons/Papirus/32x32/apps/brave-browser.svg
|
|
||||||
File Manager ,openapp --filemanager ,/usr/share/icons/Papirus/32x32/apps/org.xfce.filemanager.svg
|
|
||||||
|
|
||||||
^sep()
|
|
||||||
|
|
||||||
Widgets ,^checkout(wg) ,/usr/share/icons/Papirus/32x32/apps/kmenuedit.svg
|
|
||||||
BSPWM ,^checkout(wm) ,/usr/share/icons/Papirus/32x32/apps/gnome-windows.svg
|
|
||||||
Exit ,^checkout(exit) ,/usr/share/icons/Papirus/32x32/apps/system-shutdown.svg
|
|
||||||
|
|
||||||
^tag(wg)
|
|
||||||
User Card ,openapp --usercard ,/usr/share/icons/Papirus/32x32/apps/system-users.svg
|
|
||||||
Power Menu ,openapp --powermenu ,/usr/share/icons/Papirus/32x32/status/changes-allow.svg
|
|
||||||
Calendar ,openapp --calendar ,/usr/share/icons/Papirus/32x32/apps/office-calendar.svg
|
|
||||||
|
|
||||||
^tag(wm)
|
|
||||||
Change Theme ,openapp --rice ,/usr/share/icons/Papirus/32x32/apps/colors.svg
|
|
||||||
Keybinds ,keybindingshelp ,/usr/share/icons/Papirus/32x32/apps/preferences-desktop-keyboard-shortcuts.svg
|
|
||||||
Restart WM ,bspc wm -r ,/usr/share/icons/Papirus/32x32/apps/system-reboot.svg
|
|
||||||
Quit ,bspc quit ,/usr/share/icons/Papirus/32x32/apps/system-log-out.svg
|
|
||||||
|
|
||||||
^tag(exit)
|
|
||||||
Block computer ,physlock -d ,/usr/share/icons/Papirus/32x32/status/changes-prevent.svg
|
|
||||||
Reboot ,systemctl reboot ,/usr/share/icons/Papirus/32x32/apps/system-reboot.svg
|
|
||||||
Shutdown ,systemctl poweroff ,/usr/share/icons/Papirus/32x32/apps/system-shutdown.svg
|
|
|
@ -15,6 +15,8 @@ visualizer_type = "spectrum"
|
|||||||
visualizer_look = ●●
|
visualizer_look = ●●
|
||||||
visualizer_color = "13"
|
visualizer_color = "13"
|
||||||
visualizer_spectrum_smooth_look = "yes"
|
visualizer_spectrum_smooth_look = "yes"
|
||||||
|
visualizer_autoscale = "yes"
|
||||||
|
visualizer_spectrum_smooth_look_legacy_chars = "no"
|
||||||
|
|
||||||
# GENERAL
|
# GENERAL
|
||||||
# ---
|
# ---
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
;; Run `ip link | awk '/state UP/ {print $2}' | tr -d :` to get active network interface.
|
;; Run `ip link | awk '/state UP/ {print $2}' | tr -d :` to get active network interface.
|
||||||
|
|
||||||
[system]
|
[system]
|
||||||
sys_adapter = AC
|
sys_adapter = ucsi-source-psy-USBC000:002
|
||||||
sys_battery = BAT1
|
sys_battery = BAT0
|
||||||
sys_graphics_card = intel_backlight
|
sys_graphics_card = amdgpu_bl0
|
||||||
sys_network_interface = wlan0
|
sys_network_interface = wlp8s0
|
Binary file not shown.
BIN
config/ranger/plugins/__pycache__/__init__.cpython-313.pyc
Normal file
BIN
config/ranger/plugins/__pycache__/__init__.cpython-313.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
# Websites
|
# Websites
|
||||||
ext x?html?, has brave, X, flag f = brave -- "$@"
|
ext x?html?, has librewolf, X, flag f = librewolf -- "$@"
|
||||||
|
|
||||||
# Misc
|
# Misc
|
||||||
mime ^text, label editor = nvim -- "$@"
|
mime ^text, label editor = nvim -- "$@"
|
||||||
|
@ -17,9 +17,8 @@ F1
|
|||||||
#####
|
#####
|
||||||
|
|
||||||
# Apps (browser, editor, filemanager, music, and updater)
|
# Apps (browser, editor, filemanager, music, and updater)
|
||||||
shift + alt + {b,v,f,k,u}
|
shift + alt + {b,v,f,k,u,t,m,n}
|
||||||
openapp {--browser,--nvim,--ranger, --music, --update}
|
openapp {--browser,--nvim,--ranger, --music, --update, --terminal, --osmc, --nodeselector}
|
||||||
|
|
||||||
|
|
||||||
#|||----- System Keybindings -----|||#
|
#|||----- System Keybindings -----|||#
|
||||||
|
|
||||||
@ -27,10 +26,6 @@ shift + alt + {b,v,f,k,u}
|
|||||||
alt + F1
|
alt + F1
|
||||||
keybindingshelp
|
keybindingshelp
|
||||||
|
|
||||||
# jgmenu
|
|
||||||
~button3
|
|
||||||
xqp 0 $(xdo id -N Bspwm -n root) && jgmenu --csv-file=~/.config/jgmenu/menu.csv --config-file=~/.config/jgmenu/jgmenurc
|
|
||||||
|
|
||||||
# Scratchpad
|
# Scratchpad
|
||||||
super + alt + o
|
super + alt + o
|
||||||
tdrop -a -w 70% -h 35% -y 0 -x 15% --class scratch alacritty --class=scratch
|
tdrop -a -w 70% -h 35% -y 0 -x 15% --class scratch alacritty --class=scratch
|
||||||
@ -40,7 +35,7 @@ ctrl + super + alt + {p,r,q,l,k}
|
|||||||
{systemctl poweroff, systemctl reboot,bspc quit,physlock -d,xkill}
|
{systemctl poweroff, systemctl reboot,bspc quit,physlock -d,xkill}
|
||||||
|
|
||||||
# Hide/Show Bar
|
# Hide/Show Bar
|
||||||
super + {h,u}
|
ctrl + shift + {h,u}
|
||||||
hidebar {-h,-u}
|
hidebar {-h,-u}
|
||||||
|
|
||||||
# Change transparency on focused window
|
# Change transparency on focused window
|
||||||
@ -123,7 +118,7 @@ super + c
|
|||||||
bspc node @/ --circulate {backward,forward}
|
bspc node @/ --circulate {backward,forward}
|
||||||
|
|
||||||
# Change focus of the Node or Swap Nodes
|
# Change focus of the Node or Swap Nodes
|
||||||
super + {_,shift + }{Left,Down,Up,Right}
|
super + {_,shift + }{h,j,k,l}
|
||||||
bspc node -{f,s} {west,south,north,east}
|
bspc node -{f,s} {west,south,north,east}
|
||||||
|
|
||||||
# Switch workspace
|
# Switch workspace
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#files: 820 version: 5.9
|
#files: 840 version: 5.9
|
||||||
|
|
||||||
_comps=(
|
_comps=(
|
||||||
'-' '_precommand'
|
'-' '_precommand'
|
||||||
@ -123,6 +123,7 @@ _comps=(
|
|||||||
'bunzip2' '_bzip2'
|
'bunzip2' '_bzip2'
|
||||||
'burst' '_mh'
|
'burst' '_mh'
|
||||||
'busctl' '_busctl'
|
'busctl' '_busctl'
|
||||||
|
'bwrap' '_bwrap'
|
||||||
'bzcat' '_bzip2'
|
'bzcat' '_bzip2'
|
||||||
'bzegrep' '_grep'
|
'bzegrep' '_grep'
|
||||||
'bzfgrep' '_grep'
|
'bzfgrep' '_grep'
|
||||||
@ -134,6 +135,12 @@ _comps=(
|
|||||||
'cabal' '_cabal'
|
'cabal' '_cabal'
|
||||||
'cal' '_cal'
|
'cal' '_cal'
|
||||||
'calendar' '_calendar'
|
'calendar' '_calendar'
|
||||||
|
'calibre' '_calibre'
|
||||||
|
'calibredb' '_calibre'
|
||||||
|
'calibre-debug' '_calibre'
|
||||||
|
'calibre-server' '_calibre'
|
||||||
|
'calibre-smtp' '_calibre'
|
||||||
|
'cargo' '_cargo'
|
||||||
'cat' '_cat'
|
'cat' '_cat'
|
||||||
'catchsegv' '_precommand'
|
'catchsegv' '_precommand'
|
||||||
'cc' '_gcc'
|
'cc' '_gcc'
|
||||||
@ -164,6 +171,7 @@ _comps=(
|
|||||||
'chroot' '_chroot'
|
'chroot' '_chroot'
|
||||||
'chrt' '_chrt'
|
'chrt' '_chrt'
|
||||||
'chsh' '_chsh'
|
'chsh' '_chsh'
|
||||||
|
'chwd' '_chwd'
|
||||||
'ci' '_rcs'
|
'ci' '_rcs'
|
||||||
'cifsiostat' '_sysstat'
|
'cifsiostat' '_sysstat'
|
||||||
'cinder' '_openstack'
|
'cinder' '_openstack'
|
||||||
@ -217,6 +225,7 @@ _comps=(
|
|||||||
'ctags' '_ctags'
|
'ctags' '_ctags'
|
||||||
'ctags-exuberant' '_ctags'
|
'ctags-exuberant' '_ctags'
|
||||||
'ctags-universal' '_ctags'
|
'ctags-universal' '_ctags'
|
||||||
|
'ctr' '_ctr'
|
||||||
'curl' '_curl'
|
'curl' '_curl'
|
||||||
'cut' '_cut'
|
'cut' '_cut'
|
||||||
'cvs' '_cvs'
|
'cvs' '_cvs'
|
||||||
@ -261,6 +270,8 @@ _comps=(
|
|||||||
'dmesg' '_dmesg'
|
'dmesg' '_dmesg'
|
||||||
'dmidecode' '_dmidecode'
|
'dmidecode' '_dmidecode'
|
||||||
'doas' '_doas'
|
'doas' '_doas'
|
||||||
|
'docker' '_docker'
|
||||||
|
'dolphin' '_dolphin'
|
||||||
'domainname' '_yp'
|
'domainname' '_yp'
|
||||||
'dos2unix' '_dos2unix'
|
'dos2unix' '_dos2unix'
|
||||||
'drill' '_drill'
|
'drill' '_drill'
|
||||||
@ -270,6 +281,10 @@ _comps=(
|
|||||||
'dsh' '_dsh'
|
'dsh' '_dsh'
|
||||||
'dtruss' '_dtruss'
|
'dtruss' '_dtruss'
|
||||||
'du' '_du'
|
'du' '_du'
|
||||||
|
'_dunst' '_dunst'
|
||||||
|
'dunst' '_dunst'
|
||||||
|
'_dunstctl' '_dunstctl'
|
||||||
|
'dunstctl' '_dunstctl'
|
||||||
'dvibook' '_dvi'
|
'dvibook' '_dvi'
|
||||||
'dviconcat' '_dvi'
|
'dviconcat' '_dvi'
|
||||||
'dvicopy' '_dvi'
|
'dvicopy' '_dvi'
|
||||||
@ -282,6 +297,11 @@ _comps=(
|
|||||||
'dwb' '_webbrowser'
|
'dwb' '_webbrowser'
|
||||||
'e2label' '_e2label'
|
'e2label' '_e2label'
|
||||||
'eatmydata' '_precommand'
|
'eatmydata' '_precommand'
|
||||||
|
'ebook-convert' '_calibre'
|
||||||
|
'ebook-edit' '_calibre'
|
||||||
|
'ebook-meta' '_calibre'
|
||||||
|
'ebook-polish' '_calibre'
|
||||||
|
'ebook-viewer' '_calibre'
|
||||||
'ecasound' '_ecasound'
|
'ecasound' '_ecasound'
|
||||||
'echotc' '_echotc'
|
'echotc' '_echotc'
|
||||||
'echoti' '_echoti'
|
'echoti' '_echoti'
|
||||||
@ -317,12 +337,14 @@ _comps=(
|
|||||||
'express' '_webbrowser'
|
'express' '_webbrowser'
|
||||||
'extcheck' '_java'
|
'extcheck' '_java'
|
||||||
'extractres' '_psutils'
|
'extractres' '_psutils'
|
||||||
|
'eza' '_eza'
|
||||||
'fakeroot' '_fakeroot'
|
'fakeroot' '_fakeroot'
|
||||||
'false' '_nothing'
|
'false' '_nothing'
|
||||||
'fc' '_fc'
|
'fc' '_fc'
|
||||||
'fc-list' '_xft_fonts'
|
'fc-list' '_xft_fonts'
|
||||||
'fc-match' '_xft_fonts'
|
'fc-match' '_xft_fonts'
|
||||||
'feh' '_feh'
|
'feh' '_feh'
|
||||||
|
'fetch-ebook-metadata' '_calibre'
|
||||||
'fetchmail' '_fetchmail'
|
'fetchmail' '_fetchmail'
|
||||||
'ffmpeg' '_ffmpeg'
|
'ffmpeg' '_ffmpeg'
|
||||||
'fg' '_jobs_fg'
|
'fg' '_jobs_fg'
|
||||||
@ -346,6 +368,7 @@ _comps=(
|
|||||||
'fixwpps' '_psutils'
|
'fixwpps' '_psutils'
|
||||||
'fixwwps' '_psutils'
|
'fixwwps' '_psutils'
|
||||||
'flac' '_flac'
|
'flac' '_flac'
|
||||||
|
'flatpak' '_flatpak'
|
||||||
'flex' '_flex'
|
'flex' '_flex'
|
||||||
'flex++' '_flex'
|
'flex++' '_flex'
|
||||||
'flipdiff' '_patchutils'
|
'flipdiff' '_patchutils'
|
||||||
@ -421,6 +444,7 @@ _comps=(
|
|||||||
'ggetopt' '_getopt'
|
'ggetopt' '_getopt'
|
||||||
'ggrep' '_grep'
|
'ggrep' '_grep'
|
||||||
'ggv' '_gnome-gv'
|
'ggv' '_gnome-gv'
|
||||||
|
'gh' '_gh'
|
||||||
'ghead' '_head'
|
'ghead' '_head'
|
||||||
'ghostscript' '_ghostscript'
|
'ghostscript' '_ghostscript'
|
||||||
'ghostview' '_pspdf'
|
'ghostview' '_pspdf'
|
||||||
@ -590,6 +614,7 @@ _comps=(
|
|||||||
'iftop' '_iftop'
|
'iftop' '_iftop'
|
||||||
'ifup' '_net_interfaces'
|
'ifup' '_net_interfaces'
|
||||||
'ijoin' '_ispell'
|
'ijoin' '_ispell'
|
||||||
|
'img2sixel' '_img2sixel'
|
||||||
'import' '_imagemagick'
|
'import' '_imagemagick'
|
||||||
'inc' '_mh'
|
'inc' '_mh'
|
||||||
'includeres' '_psutils'
|
'includeres' '_psutils'
|
||||||
@ -693,10 +718,11 @@ _comps=(
|
|||||||
'lpr' '_lp'
|
'lpr' '_lp'
|
||||||
'lprm' '_lp'
|
'lprm' '_lp'
|
||||||
'lpstat' '_lp'
|
'lpstat' '_lp'
|
||||||
|
'lrf2lrs' '_calibre'
|
||||||
|
'lrfviewer' '_calibre'
|
||||||
'ls' '_ls'
|
'ls' '_ls'
|
||||||
'lsattr' '_lsattr'
|
'lsattr' '_lsattr'
|
||||||
'lsblk' '_lsblk'
|
'lsblk' '_lsblk'
|
||||||
'lsd' '_lsd'
|
|
||||||
'lsdiff' '_patchutils'
|
'lsdiff' '_patchutils'
|
||||||
'lsinitcpio' '_mkinitcpio'
|
'lsinitcpio' '_mkinitcpio'
|
||||||
'lsmod' '_modutils'
|
'lsmod' '_modutils'
|
||||||
@ -746,7 +772,6 @@ _comps=(
|
|||||||
'mencal' '_mencal'
|
'mencal' '_mencal'
|
||||||
'mere' '_mere'
|
'mere' '_mere'
|
||||||
'merge' '_rcs'
|
'merge' '_rcs'
|
||||||
'meson' '_meson'
|
|
||||||
'metaflac' '_flac'
|
'metaflac' '_flac'
|
||||||
'mformat' '_mtools'
|
'mformat' '_mtools'
|
||||||
'mgv' '_pspdf'
|
'mgv' '_pspdf'
|
||||||
@ -865,6 +890,7 @@ _comps=(
|
|||||||
'ogginfo' '_vorbis'
|
'ogginfo' '_vorbis'
|
||||||
'oksh' '_sh'
|
'oksh' '_sh'
|
||||||
'okular' '_okular'
|
'okular' '_okular'
|
||||||
|
'onefetch' '_onefetch'
|
||||||
'oomctl' '_oomctl'
|
'oomctl' '_oomctl'
|
||||||
'openstack' '_openstack'
|
'openstack' '_openstack'
|
||||||
'opera' '_webbrowser'
|
'opera' '_webbrowser'
|
||||||
@ -898,7 +924,6 @@ _comps=(
|
|||||||
'-parameter-' '_parameter'
|
'-parameter-' '_parameter'
|
||||||
'parec' '_pulseaudio'
|
'parec' '_pulseaudio'
|
||||||
'parecord' '_pulseaudio'
|
'parecord' '_pulseaudio'
|
||||||
'pass' '_pass'
|
|
||||||
'passwd' '_users'
|
'passwd' '_users'
|
||||||
'paste' '_paste'
|
'paste' '_paste'
|
||||||
'pasuspender' '_pulseaudio'
|
'pasuspender' '_pulseaudio'
|
||||||
@ -968,6 +993,7 @@ _comps=(
|
|||||||
'podgrep' '_perl_modules'
|
'podgrep' '_perl_modules'
|
||||||
'podpath' '_perl_modules'
|
'podpath' '_perl_modules'
|
||||||
'podtoc' '_perl_modules'
|
'podtoc' '_perl_modules'
|
||||||
|
'poetry' '_poetry'
|
||||||
'poff' '_pon'
|
'poff' '_pon'
|
||||||
'policytool' '_java'
|
'policytool' '_java'
|
||||||
'polybar' '_polybar'
|
'polybar' '_polybar'
|
||||||
@ -1064,6 +1090,7 @@ _comps=(
|
|||||||
'resolvectl' '_resolvectl'
|
'resolvectl' '_resolvectl'
|
||||||
'restart' '_initctl'
|
'restart' '_initctl'
|
||||||
'retawq' '_webbrowser'
|
'retawq' '_webbrowser'
|
||||||
|
'rg' '_rg'
|
||||||
'rgrep' '_grep'
|
'rgrep' '_grep'
|
||||||
'rgview' '_vim'
|
'rgview' '_vim'
|
||||||
'rgvim' '_vim'
|
'rgvim' '_vim'
|
||||||
@ -1089,6 +1116,7 @@ _comps=(
|
|||||||
'rubber-pipe' '_rubber'
|
'rubber-pipe' '_rubber'
|
||||||
'ruby' '_ruby'
|
'ruby' '_ruby'
|
||||||
'ruby-mri' '_ruby'
|
'ruby-mri' '_ruby'
|
||||||
|
'run0' '_run0'
|
||||||
'run-help' '_run-help'
|
'run-help' '_run-help'
|
||||||
'rup' '_hosts'
|
'rup' '_hosts'
|
||||||
'rusage' '_precommand'
|
'rusage' '_precommand'
|
||||||
@ -1108,6 +1136,8 @@ _comps=(
|
|||||||
'schedtool' '_schedtool'
|
'schedtool' '_schedtool'
|
||||||
'scons' '_scons'
|
'scons' '_scons'
|
||||||
'scp' '_ssh'
|
'scp' '_ssh'
|
||||||
|
'scrcpy' '_scrcpy'
|
||||||
|
'scrcpy.exe' '_scrcpy'
|
||||||
'screen' '_screen'
|
'screen' '_screen'
|
||||||
'script' '_script'
|
'script' '_script'
|
||||||
'scriptreplay' '_script'
|
'scriptreplay' '_script'
|
||||||
@ -1264,6 +1294,7 @@ _comps=(
|
|||||||
'tkconch' '_twisted'
|
'tkconch' '_twisted'
|
||||||
'tkinfo' '_texinfo'
|
'tkinfo' '_texinfo'
|
||||||
'tla' '_tla'
|
'tla' '_tla'
|
||||||
|
'tldr' '_tldr'
|
||||||
'tload' '_tload'
|
'tload' '_tload'
|
||||||
'tmux' '_tmux'
|
'tmux' '_tmux'
|
||||||
'todo' '_devtodo'
|
'todo' '_devtodo'
|
||||||
@ -1300,6 +1331,7 @@ _comps=(
|
|||||||
'type' '_which'
|
'type' '_which'
|
||||||
'typeset' '_typeset'
|
'typeset' '_typeset'
|
||||||
'udevadm' '_udevadm'
|
'udevadm' '_udevadm'
|
||||||
|
'udisksctl' '_udisks2'
|
||||||
'ulimit' '_ulimit'
|
'ulimit' '_ulimit'
|
||||||
'uml_mconsole' '_uml'
|
'uml_mconsole' '_uml'
|
||||||
'uml_moo' '_uml'
|
'uml_moo' '_uml'
|
||||||
@ -1397,6 +1429,7 @@ _comps=(
|
|||||||
'-value-,XZ_OPT,-default-' '_xz'
|
'-value-,XZ_OPT,-default-' '_xz'
|
||||||
'-vared-' '_in_vared'
|
'-vared-' '_in_vared'
|
||||||
'vared' '_vared'
|
'vared' '_vared'
|
||||||
|
'varlinkctl' '_varlinkctl'
|
||||||
'vcs_info_hookadd' '_vcs_info'
|
'vcs_info_hookadd' '_vcs_info'
|
||||||
'vcs_info_hookdel' '_vcs_info'
|
'vcs_info_hookdel' '_vcs_info'
|
||||||
'vi' '_vi'
|
'vi' '_vi'
|
||||||
@ -1438,6 +1471,7 @@ _comps=(
|
|||||||
'wipefs' '_wipefs'
|
'wipefs' '_wipefs'
|
||||||
'wodim' '_cdrecord'
|
'wodim' '_cdrecord'
|
||||||
'wpa_cli' '_wpa_cli'
|
'wpa_cli' '_wpa_cli'
|
||||||
|
'wpctl' '_wpctl'
|
||||||
'write' '_users_on'
|
'write' '_users_on'
|
||||||
'www' '_webbrowser'
|
'www' '_webbrowser'
|
||||||
'xargs' '_xargs'
|
'xargs' '_xargs'
|
||||||
@ -1670,17 +1704,21 @@ bindkey '^[,' _history-complete-newer
|
|||||||
bindkey '^[/' _history-complete-older
|
bindkey '^[/' _history-complete-older
|
||||||
bindkey '^[~' _bash_complete-word
|
bindkey '^[~' _bash_complete-word
|
||||||
|
|
||||||
autoload -Uz _alacritty _bootctl _bspc _busctl _checkupdates \
|
autoload -Uz _alacritty _bootctl _bspc _busctl _bwrap \
|
||||||
_coredumpctl _curl _hostnamectl _journalctl _kernel-install \
|
_calibre _cargo _checkupdates _chwd _coredumpctl \
|
||||||
_libinput _localectl _loginctl _lsd _machinectl \
|
_ctr _curl _docker _dolphin _dunst \
|
||||||
_meson _mkinitcpio _mpv _networkctl _ninja \
|
_dunstctl _eza _flatpak _gh _hostnamectl \
|
||||||
_oomctl _paccache _pacdiff _paclist _paclog-pkglist \
|
_img2sixel _journalctl _kernel-install _libinput _localectl \
|
||||||
_pacman _pacscripts _pacsearch _pacsort _pactree \
|
_loginctl _machinectl _mkinitcpio _mpv _networkctl \
|
||||||
_pass _playerctl _polybar _polybar_msg _pulseaudio \
|
_ninja _onefetch _oomctl _paccache _pacdiff \
|
||||||
_rankmirrors _resolvectl _sd_hosts_or_user_at_host _sd_machines _sd_outputmodes \
|
_paclist _paclog-pkglist _pacman _pacscripts _pacsearch \
|
||||||
_sd_unit_files _systemctl _systemd _systemd-analyze _systemd-delta \
|
_pacsort _pactree _pip _playerctl _poetry \
|
||||||
_systemd-inhibit _systemd-nspawn _systemd-path _systemd-run _systemd-tmpfiles \
|
_polybar _polybar_msg _pulseaudio _rankmirrors _resolvectl \
|
||||||
_timedatectl _udevadm _updpkgsums _yay _yt-dlp \
|
_rg _run0 _scrcpy _sd_hosts_or_user_at_host _sd_machines \
|
||||||
|
_sd_outputmodes _sd_unit_files _systemctl _systemd _systemd-analyze \
|
||||||
|
_systemd-delta _systemd-inhibit _systemd-nspawn _systemd-path _systemd-run \
|
||||||
|
_systemd-tmpfiles _timedatectl _tldr _udevadm _udisks2 \
|
||||||
|
_updpkgsums _varlinkctl _wpctl _yay _yt-dlp \
|
||||||
_zathura _cdr _all_labels _all_matches _alternative \
|
_zathura _cdr _all_labels _all_matches _alternative \
|
||||||
_approximate _arg_compile _arguments _bash_completions _cache_invalid \
|
_approximate _arg_compile _arguments _bash_completions _cache_invalid \
|
||||||
_call_function _combination _complete _complete_debug _complete_help \
|
_call_function _combination _complete _complete_debug _complete_help \
|
||||||
|
39
home/.zshrc
39
home/.zshrc
@ -1,11 +1,11 @@
|
|||||||
# Originally created by - https://github.com/gh0stzk
|
# Originally created by - https://github.com/gh0stzk
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
export VISUAL="${EDITOR}"
|
export VISUAL='nvim'
|
||||||
export EDITOR='nvim'
|
export EDITOR='nvim'
|
||||||
export TERMINAL='alacritty'
|
export TERMINAL='alacritty'
|
||||||
export BROWSER='brave'
|
export BROWSER='librewolf'
|
||||||
export HISTORY_IGNORE="(ls|dir|cd|pwd|exit|sudo reboot|history|cd -|cd ..)"
|
export HISTORY_IGNORE='(ls|dir|cd|pwd|exit|sudo reboot|history|cd -|cd ..)'
|
||||||
|
|
||||||
if [ -d "$HOME/.local/bin" ] ;
|
if [ -d "$HOME/.local/bin" ] ;
|
||||||
then PATH="$HOME/.local/bin:$PATH"
|
then PATH="$HOME/.local/bin:$PATH"
|
||||||
@ -86,20 +86,39 @@ fi
|
|||||||
|
|
||||||
# Alias
|
# Alias
|
||||||
alias mirrors="sudo reflector --verbose --latest 5 --country 'United States' --age 6 --sort rate --save /etc/pacman.d/mirrorlist"
|
alias mirrors="sudo reflector --verbose --latest 5 --country 'United States' --age 6 --sort rate --save /etc/pacman.d/mirrorlist"
|
||||||
|
|
||||||
alias grub-update="sudo grub-mkconfig -o /boot/grub/grub.cfg"
|
alias grub-update="sudo grub-mkconfig -o /boot/grub/grub.cfg"
|
||||||
alias maintenance="yay -Sc && sudo pacman -Scc"
|
alias maintenance="yay -Sc && sudo pacman -Scc"
|
||||||
alias trim="sudo fstrim -av"
|
alias trim="sudo fstrim -av"
|
||||||
alias update="yay -Syu --combinedupgrade="false""
|
alias update="yay -Syu --combinedupgrade="false""
|
||||||
|
|
||||||
alias vm-on="sudo systemctl start libvirtd.service"
|
alias vm-on="sudo systemctl start libvirtd.service"
|
||||||
alias vm-off="sudo systemctl stop libvirtd.service"
|
alias vm-off="sudo systemctl stop libvirtd.service"
|
||||||
|
|
||||||
alias music="ncmpcpp"
|
alias music="ncmpcpp"
|
||||||
|
alias ls='eza --icons=always --color=always --group-directories-first -a'
|
||||||
alias ls='lsd -a --group-directories-first'
|
alias dir='eza --icons=always --color=always --group-directories-first -a'
|
||||||
alias dir='lsd -a --group-directories-first'
|
alias ll='eza --icons=always --color=always --group-directories-first -la'
|
||||||
alias ll='lsd -la --group-directories-first'
|
alias ranger='ranger --choosedir=$HOME/.rangerdir; LASTDIR=`cat $HOME/.rangerdir`; cd "$LASTDIR"'
|
||||||
|
alias df='df -BG -xtmpfs -xdevtmpfs -xefivarfs'
|
||||||
|
alias tldr='tldr -L en'
|
||||||
|
|
||||||
# Autostart
|
# Autostart
|
||||||
$HOME/.local/bin/colorscript -r
|
$HOME/.local/bin/colorscript -r
|
||||||
|
if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
|
||||||
|
exec startx
|
||||||
|
fi
|
||||||
|
___MY_VMOPTIONS_SHELL_FILE="${HOME}/.jetbrains.vmoptions.sh"; if [ -f "${___MY_VMOPTIONS_SHELL_FILE}" ]; then . "${___MY_VMOPTIONS_SHELL_FILE}"; fi
|
||||||
|
|
||||||
|
# >>> conda initialize >>>
|
||||||
|
# !! Contents within this block are managed by 'conda init' !!
|
||||||
|
__conda_setup="$('/usr/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
eval "$__conda_setup"
|
||||||
|
else
|
||||||
|
if [ -f "/usr/etc/profile.d/conda.sh" ]; then
|
||||||
|
. "/usr/etc/profile.d/conda.sh"
|
||||||
|
else
|
||||||
|
export PATH="/usr/bin:$PATH"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
unset __conda_setup
|
||||||
|
# <<< conda initialize <<<
|
||||||
|
|
||||||
|
@ -1,25 +1,33 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Simple CLI for shell-color-scripts
|
# Simple CLI for shell-color-scripts
|
||||||
DIR_COLORSCRIPTS="$HOME/.local/share/asciiart"
|
DIR_COLORSCRIPTS="$HOME/.local/share/asciiart"
|
||||||
|
|
||||||
fmt_help=" %-20s\t%-54s\n"
|
fmt_help=" %-20s\t%-54s\n"
|
||||||
|
list_colorscripts="$(/usr/bin/ls "${DIR_COLORSCRIPTS}" | cut -d ' ' -f 1 | nl)"
|
||||||
|
length_colorscripts="$(/usr/bin/ls "${DIR_COLORSCRIPTS}" | wc -l)"
|
||||||
|
|
||||||
function _help() {
|
function _help() {
|
||||||
echo "Description: A collection of terminal color scripts."
|
echo "Description: A collection of terminal color scripts."
|
||||||
echo ""
|
echo ""
|
||||||
echo "Usage: colorscript [OPTION] [SCRIPT NAME/INDEX]"
|
echo "Usage: colorscript [OPTION] [SCRIPT NAME/INDEX]"
|
||||||
printf "${fmt_help}" \
|
printf "${fmt_help}" \
|
||||||
"-h, --help, help" "Print this help." \
|
"-h, --help, help" "Print this help." \
|
||||||
|
"-l, --list, list" "List all installed color scripts." \
|
||||||
"-r, --random, random" "Run a random color script." \
|
"-r, --random, random" "Run a random color script." \
|
||||||
"-e, --exec, exec" "Run a specified color script by SCRIPT NAME or INDEX."
|
"-e, --exec, exec" "Run a specified color script by SCRIPT NAME or INDEX."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function _list() {
|
||||||
|
echo "There are "$(ls "${DIR_COLORSCRIPTS}" | wc -l)" installed color scripts:"
|
||||||
|
echo "${list_colorscripts}"
|
||||||
|
}
|
||||||
|
|
||||||
function _random() {
|
function _random() {
|
||||||
declare -i random_index=$RANDOM%$length_colorscripts
|
declare -i random_index=$((RANDOM % length_colorscripts + 1))
|
||||||
[[ $random_index -eq 0 ]] && random_index=1
|
[[ $random_index -eq 0 ]] && random_index=1
|
||||||
|
|
||||||
random_colorscript="$(echo "${list_colorscripts}" | sed -n ${random_index}p \
|
random_colorscript="$(echo "${list_colorscripts}" | sed -n ${random_index}p \
|
||||||
| tr -d ' ' | tr '\t' ' ' | cut -d ' ' -f 2)"
|
| tr -d ' ' | tr '\t' ' ' | cut -d ' ' -f 2)"
|
||||||
# echo "${random_colorscript}"
|
|
||||||
exec "${DIR_COLORSCRIPTS}/${random_colorscript}"
|
exec "${DIR_COLORSCRIPTS}/${random_colorscript}"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -67,6 +75,9 @@ case "$#" in
|
|||||||
-h | --help | help)
|
-h | --help | help)
|
||||||
_help
|
_help
|
||||||
;;
|
;;
|
||||||
|
-l | --list | list)
|
||||||
|
_list
|
||||||
|
;;
|
||||||
-r | --random | random)
|
-r | --random | random)
|
||||||
_random
|
_random
|
||||||
;;
|
;;
|
||||||
|
@ -19,9 +19,12 @@ case "$class" in
|
|||||||
outcome "state=floating sticky=on center=on"
|
outcome "state=floating sticky=on center=on"
|
||||||
;;
|
;;
|
||||||
mpv)
|
mpv)
|
||||||
outcome "state=pseudo_tiled focus=on rectangle=849x477+0+0 center=on"
|
outcome "state=floating focus=on rectangle=849x477+0+0 center=on"
|
||||||
;;
|
;;
|
||||||
virt-manager)
|
virt-manager)
|
||||||
outcome "state=floating center=on"
|
outcome "state=floating center=on"
|
||||||
;;
|
;;
|
||||||
|
ranger)
|
||||||
|
outcome "state=floating rectangle=900x700+0+0 center=on"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -4,7 +4,7 @@ case $1 in
|
|||||||
polybar-msg cmd hide | bspc config top_padding 2 | bspc config bottom_padding 2
|
polybar-msg cmd hide | bspc config top_padding 2 | bspc config bottom_padding 2
|
||||||
exit;;
|
exit;;
|
||||||
-u | --unhide | unhide)
|
-u | --unhide | unhide)
|
||||||
polybar-msg cmd show | bspc config top_padding 48 | bspc config bottom_padding 48
|
polybar-msg cmd show | bspc config top_padding 76 | bspc config bottom_padding 76
|
||||||
exit;;
|
exit;;
|
||||||
*)
|
*)
|
||||||
echo "Invalid option"
|
echo "Invalid option"
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# I don't remember if I made this script or not.
|
|
||||||
|
|
||||||
#colors
|
#colors
|
||||||
#bold="(tput bold)"
|
#bold="(tput bold)"
|
||||||
@ -90,10 +89,15 @@ distro() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Get root partition space used
|
# Get root partition space used
|
||||||
storage() {
|
root_storage() {
|
||||||
df -h --output=used,size / | awk 'NR == 2 { print $1" / "$2 }'
|
df -h --output=used,size / | awk 'NR == 2 { print $1" / "$2 }'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
home_storage() {
|
||||||
|
if mountpoint -q "/home"; then
|
||||||
|
df -h --output=used,size /home | awk 'NR == 2 { print $1" / "$2 }'
|
||||||
|
fi
|
||||||
|
}
|
||||||
# Get Memory usage
|
# Get Memory usage
|
||||||
mem() {
|
mem() {
|
||||||
free --mega | awk 'NR == 2 { print $3" / "$2" MB" }'
|
free --mega | awk 'NR == 2 { print $3" / "$2" MB" }'
|
||||||
@ -142,6 +146,7 @@ echo -e " ${c0} ┃ ${c9}(${c0}${c8}\_;/${c0}${c9})${c0} ┃ ${c1
|
|||||||
echo -e " ┃ ${c0}┃ ${c2}init${c3} $(get_init)"
|
echo -e " ┃ ${c0}┃ ${c2}init${c3} $(get_init)"
|
||||||
echo -e " ┃ I ${c1}${c0} Arch ┃ ${c7}de/wm${c3} $(get_de_wm)"
|
echo -e " ┃ I ${c1}${c0} Arch ┃ ${c7}de/wm${c3} $(get_de_wm)"
|
||||||
echo -e " ┃ ┃ ${c5}up${c3} $(get_uptime)"
|
echo -e " ┃ ┃ ${c5}up${c3} $(get_uptime)"
|
||||||
echo -e " ┃ ┃ ${c1}disk${c3} $(storage)"
|
echo -e " ┃ ┃ ${c1}root${c3} $(root_storage)"
|
||||||
|
echo -e " ┃ ┃ ${c1}home${c3} $(home_storage)"
|
||||||
echo -e " ┗━━━━━━━━━━━━━━━━━━━━━━┛ ${c1}━━━${c2}━━━${c3}━━━${c4}━━━${c5}━━━${c6}━━━${c7}━━━"
|
echo -e " ┗━━━━━━━━━━━━━━━━━━━━━━┛ ${c1}━━━${c2}━━━${c3}━━━${c4}━━━${c5}━━━${c6}━━━${c7}━━━"
|
||||||
echo -e " "
|
echo -e " "
|
40
misc/bin/nodeselector
Executable file
40
misc/bin/nodeselector
Executable file
@ -0,0 +1,40 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
clear
|
||||||
|
get_term_size() {
|
||||||
|
IFS='[;' read -sp $'\e7\e[9999;9999H\e[6n\e8' -d R -rs _ lines
|
||||||
|
}
|
||||||
|
listNodes() {
|
||||||
|
for nodeList in $(bspc query -N -n .window | grep -v "$(bspc query -N -n)"); do
|
||||||
|
echo $(xtitle -t 90 ${nodeList})
|
||||||
|
done
|
||||||
|
}
|
||||||
|
getNodes() {
|
||||||
|
count=0
|
||||||
|
for nodeCount in $(bspc query -N -n .window | grep -v "$(bspc query -N -n)"); do
|
||||||
|
count=$((count+1))
|
||||||
|
export node${count}=$nodeCount
|
||||||
|
done
|
||||||
|
selectedNode="node$y"
|
||||||
|
}
|
||||||
|
getCursorPos() {
|
||||||
|
echo -en "\E[6n" && read -sdR CURPOS && CURPOS=${CURPOS#*[} && y=$(printf ";"$CURPOS | cut -d';' -f2)
|
||||||
|
}
|
||||||
|
listNodes
|
||||||
|
printf '\e[H'
|
||||||
|
while [[ true ]]; do
|
||||||
|
read -rsn1 input
|
||||||
|
getCursorPos
|
||||||
|
getNodes
|
||||||
|
if [[ "$input" = "j" && $y -lt $count ]]; then
|
||||||
|
printf '\e[B'
|
||||||
|
elif [[ "$input" = "k" ]]; then
|
||||||
|
printf '\e[A'
|
||||||
|
elif [[ "$input" = "l" ]]; then
|
||||||
|
bspc node --focus ${!selectedNode}
|
||||||
|
clear
|
||||||
|
break
|
||||||
|
elif [[ "$input" = "q" ]]; then
|
||||||
|
clear
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
@ -21,7 +21,7 @@ case "$1" in
|
|||||||
alacritty --hold --class updating,alacritty -o window.dimensions.lines=22 window.dimensions.columns=47 -e updates --print-updates
|
alacritty --hold --class updating,alacritty -o window.dimensions.lines=22 window.dimensions.columns=47 -e updates --print-updates
|
||||||
;;
|
;;
|
||||||
--ranger)
|
--ranger)
|
||||||
alacritty --class alacritty -e ranger
|
alacritty --class ranger,alacritty -e ranger
|
||||||
;;
|
;;
|
||||||
--nvim)
|
--nvim)
|
||||||
alacritty -e nvim
|
alacritty -e nvim
|
||||||
@ -32,8 +32,14 @@ case "$1" in
|
|||||||
--fetch)
|
--fetch)
|
||||||
alacritty --hold --class floaterm,alacritty -o window.dimensions.lines=21 window.dimensions.columns=90 -e neofetch
|
alacritty --hold --class floaterm,alacritty -o window.dimensions.lines=21 window.dimensions.columns=90 -e neofetch
|
||||||
;;
|
;;
|
||||||
|
--nodeselector)
|
||||||
|
alacritty --class floaterm,alacritty -o window.dimensions.lines=21 window.dimensions.columns=90 -e nodeselector
|
||||||
|
;;
|
||||||
--browser)
|
--browser)
|
||||||
brave
|
cachy-browser
|
||||||
|
;;
|
||||||
|
--osmc)
|
||||||
|
prismlauncher -l b1.7.3
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Not a Valid Option"
|
echo "Not a Valid Option"
|
||||||
|
14
setup.sh
14
setup.sh
@ -37,9 +37,9 @@ clear
|
|||||||
printf '%s%sInstalling needed packages..%s\n\n' "${CNC}" "${CRE}" "${CNC}"
|
printf '%s%sInstalling needed packages..%s\n\n' "${CNC}" "${CRE}" "${CNC}"
|
||||||
|
|
||||||
dependencies=(alacritty base-devel brightnessctl bspwm dunst feh git imagemagick jgmenu \
|
dependencies=(alacritty base-devel brightnessctl bspwm dunst feh git imagemagick jgmenu \
|
||||||
libnotify libwebp lsd maim mpc mpd ncmpcpp neofetch neovim \
|
libnotify libwebp eza maim mpc mpd ncmpcpp neofetch neovim \
|
||||||
pacman-contrib pamixer papirus-icon-theme physlock picom playerctl \
|
pacman-contrib pamixer papirus-icon-theme physlock picom playerctl \
|
||||||
polkit-gnome polybar ranger rofi sxhkd \
|
polkit-gnome polybar ranger rofi sxhkd tealdear \
|
||||||
ttf-jetbrains-mono ttf-jetbrains-mono-nerd \
|
ttf-jetbrains-mono ttf-jetbrains-mono-nerd \
|
||||||
ueberzug webp-pixbuf-loader xclip xdg-user-dirs xdo xdotool \
|
ueberzug webp-pixbuf-loader xclip xdg-user-dirs xdo xdotool \
|
||||||
xorg-xdpyinfo xorg-xkill xorg-xprop xorg-xrandr xorg-xsetroot xorg-xwininfo \
|
xorg-xdpyinfo xorg-xkill xorg-xprop xorg-xrandr xorg-xsetroot xorg-xwininfo \
|
||||||
@ -257,12 +257,12 @@ sleep 1
|
|||||||
clear
|
clear
|
||||||
|
|
||||||
# Installing Brave
|
# Installing Brave
|
||||||
printf '%s%sInstalling Brave%s\n\n' "${CNC}" "${CRE}" "${CNC}"
|
printf '%s%sInstalling Librewolf%s\n\n' "${CNC}" "${CRE}" "${CNC}"
|
||||||
if command -v brave >/dev/null 2>&1; then
|
if command -v librewolf >/dev/null 2>&1; then
|
||||||
printf "%s%sBrave is already installed.%s" "${BLD}" "${CGR}" "${CNC}"
|
printf "%s%sLibrewolf is already installed.%s" "${BLD}" "${CGR}" "${CNC}"
|
||||||
else
|
else
|
||||||
printf "%s%sInstalling Brave.%s" "${BLD}" "${CBL}" "${CNC}"
|
printf "%s%sInstalling Librewolf.%s" "${BLD}" "${CBL}" "${CNC}"
|
||||||
yay -S brave-bin --noconfirm
|
yay -S librewolf-bin --noconfirm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user