upload dotfiles

This commit is contained in:
λmolinae 2025-03-19 22:04:07 -06:00
parent c79eb9fc65
commit ac383289c7
337 changed files with 3187 additions and 0 deletions

1
.config/ctpv/config Normal file
View file

@ -0,0 +1 @@
set chafasixel

View file

@ -0,0 +1,86 @@
{
"display": {
"separator": "- "
},
"modules": [
"break",
{
"type": "title",
"keyWidth": 10
},
"break",
{
"type": "os",
"key": "󰟀 ",
"keyColor": "34", // = color4
},
{
"type": "kernel",
"key": " ",
"keyColor": "34",
},
{
"type": "cpu",
"key": " ",
"keyColor": "34",
},
{
"type": "memory",
"key": " ",
"keyColor": "34",
},
{
"type": "packages",
"format": "{} (apk)",
"key": "󰏓 ",
"keyColor": "34",
},
{
"type": "shell",
"key": " ",
"keyColor": "34",
},
{
"type": "terminal",
"key": " ",
"keyColor": "34",
},
{
"type": "wm",
"key": " ",
"keyColor": "34",
},
{
"type": "cursor",
"key": "󰇀 ",
"keyColor": "34",
},
{
"type": "terminalfont",
"key": "󰛖 ",
"keyColor": "34",
},
{
"type": "uptime",
"key": "󱎫 ",
"keyColor": "34",
},
{
"type": "media",
"key": "󰎇 ",
"keyColor": "34",
},
{
"type": "player",
"key": "󰲑 ",
"keyColor": "34",
},
"break",
{
"type": "custom",
"format": "\u001b[31m \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m "
},
"break",
"break",
]
}

18
.config/foot/foot.ini Normal file
View file

@ -0,0 +1,18 @@
[main]
shell=/bin/zsh
term=xterm-256color
title=foot
font=Inconsolata
letter-spacing=0
dpi-aware=yes
include = ~/.cache/wal/colors-foot.ini
[colors]
alpha=0.85
[cursor]
style=beam
unfocused-style=none
blink=yes
beam-thickness=1
blink-rate=600

20
.config/fuzzel/fuzzel.ini Normal file
View file

@ -0,0 +1,20 @@
[main]
dpi-aware=yes
icon-theme=Papirus-Dark
width=25
font=Inconsolata
line-height=18
fields=name,generic,comment,categories,filename,keywords
terminal=footclient -e
prompt="> "
show-actions=yes
exit-on-keyboard-focus-loss=yes
include = ~/.cache/wal/colors-fuzzel.ini
[border]
radius=0
width=2
[dmenu]
exit-immediately-if-empty=yes

View file

@ -0,0 +1,6 @@
[Settings]
gtk-cursor-theme-name=macOS
gtk-cursor-theme-size=28
gtk-icon-theme-name=Papirus-Dark
gtk-font-name=Inconsolata 11
gtk-application-prefer-dark-theme=true

8
.config/kanshi/config Normal file
View file

@ -0,0 +1,8 @@
profile {
output eDP-1 disable
output "LG Electronics MP59G 0x000672C5" mode 1920x1080 position 0,0
}
profile {
output eDP-1 enable scale 1.25
}

174
.config/lf/colors Normal file
View file

@ -0,0 +1,174 @@
# vim:ft=dircolors
# (This is not a dircolors file but it helps to highlight colors and comments)
# default values from dircolors
# (entries with a leading # are not implemented in lf)
# #no 00 # NORMAL
# fi 00 # FILE
# #rs 0 # RESET
# di 01;34 # DIR
# ln 01;36 # LINK
# #mh 00 # MULTIHARDLINK
# pi 40;33 # FIFO
# so 01;35 # SOCK
# #do 01;35 # DOOR
# bd 40;33;01 # BLK
# cd 40;33;01 # CHR
# or 40;31;01 # ORPHAN
# #mi 00 # MISSING
# su 37;41 # SETUID
# sg 30;43 # SETGID
# #ca 30;41 # CAPABILITY
# tw 30;42 # STICKY_OTHER_WRITABLE
# ow 34;42 # OTHER_WRITABLE
# st 37;44 # STICKY
# ex 01;32 # EXEC
# default values from lf (with matching order)
# ln 01;36 # LINK
# or 31;01 # ORPHAN
# tw 01;34 # STICKY_OTHER_WRITABLE
# ow 01;34 # OTHER_WRITABLE
# st 01;34 # STICKY
# di 01;34 # DIR
# pi 33 # FIFO
# so 01;35 # SOCK
# bd 33;01 # BLK
# cd 33;01 # CHR
# su 01;32 # SETUID
# sg 01;32 # SETGID
# ex 01;32 # EXEC
# fi 00 # FILE
# file types (with matching order)
ln 01;36 # LINK
or 31;01 # ORPHAN
tw 34 # STICKY_OTHER_WRITABLE
ow 34 # OTHER_WRITABLE
st 01;34 # STICKY
di 01;34 # DIR
pi 33 # FIFO
so 01;35 # SOCK
bd 33;01 # BLK
cd 33;01 # CHR
su 01;32 # SETUID
sg 01;32 # SETGID
ex 01;32 # EXEC
fi 00 # FILE
# archives or compressed (dircolors defaults)
*.tar 01;31
*.tgz 01;31
*.arc 01;31
*.arj 01;31
*.taz 01;31
*.lha 01;31
*.lz4 01;31
*.lzh 01;31
*.lzma 01;31
*.tlz 01;31
*.txz 01;31
*.tzo 01;31
*.t7z 01;31
*.zip 01;31
*.z 01;31
*.dz 01;31
*.gz 01;31
*.lrz 01;31
*.lz 01;31
*.lzo 01;31
*.xz 01;31
*.zst 01;31
*.tzst 01;31
*.bz2 01;31
*.bz 01;31
*.tbz 01;31
*.tbz2 01;31
*.tz 01;31
*.deb 01;31
*.rpm 01;31
*.jar 01;31
*.war 01;31
*.ear 01;31
*.sar 01;31
*.rar 01;31
*.alz 01;31
*.ace 01;31
*.zoo 01;31
*.cpio 01;31
*.7z 01;31
*.rz 01;31
*.cab 01;31
*.wim 01;31
*.swm 01;31
*.dwm 01;31
*.esd 01;31
# image formats (dircolors defaults)
*.jpg 01;35
*.jpeg 01;35
*.mjpg 01;35
*.mjpeg 01;35
*.gif 01;35
*.bmp 01;35
*.pbm 01;35
*.pgm 01;35
*.ppm 01;35
*.tga 01;35
*.xbm 01;35
*.xpm 01;35
*.tif 01;35
*.tiff 01;35
*.png 01;35
*.svg 01;35
*.svgz 01;35
*.mng 01;35
*.pcx 01;35
*.mov 01;35
*.mpg 01;35
*.mpeg 01;35
*.m2v 01;35
*.mkv 01;35
*.webm 01;35
*.ogm 01;35
*.mp4 01;35
*.m4v 01;35
*.mp4v 01;35
*.vob 01;35
*.qt 01;35
*.nuv 01;35
*.wmv 01;35
*.asf 01;35
*.rm 01;35
*.rmvb 01;35
*.flc 01;35
*.avi 01;35
*.fli 01;35
*.flv 01;35
*.gl 01;35
*.dl 01;35
*.xcf 01;35
*.xwd 01;35
*.yuv 01;35
*.cgm 01;35
*.emf 01;35
*.ogv 01;35
*.ogx 01;35
# audio formats (dircolors defaults)
*.aac 00;36
*.au 00;36
*.flac 00;36
*.m4a 00;36
*.mid 00;36
*.midi 00;36
*.mka 00;36
*.mp3 00;36
*.mpc 00;36
*.ogg 00;36
*.ra 00;36
*.wav 00;36
*.oga 00;36
*.opus 00;36
*.spx 00;36
*.xspf 00;36

377
.config/lf/icons Normal file
View file

@ -0,0 +1,377 @@
# vim:ft=conf
# These examples require Nerd Fonts or a compatible font to be used.
# See https://www.nerdfonts.com for more information.
# default values from lf (with matching order)
# ln l # LINK
# or l # ORPHAN
# tw t # STICKY_OTHER_WRITABLE
# ow d # OTHER_WRITABLE
# st t # STICKY
# di d # DIR
# pi p # FIFO
# so s # SOCK
# bd b # BLK
# cd c # CHR
# su u # SETUID
# sg g # SETGID
# ex x # EXEC
# fi - # FILE
# file types (with matching order)
ln  # LINK
or  # ORPHAN
tw t # STICKY_OTHER_WRITABLE
ow  # OTHER_WRITABLE
st t # STICKY
di  # DIR
pi p # FIFO
so s # SOCK
bd b # BLK
cd c # CHR
su u # SETUID
sg g # SETGID
ex  # EXEC
fi  # FILE
# disable some default filetype icons, let them choose icon by filename
# ln  # LINK
# or  # ORPHAN
# tw # STICKY_OTHER_WRITABLE
# ow # OTHER_WRITABLE
# st # STICKY
# di  # DIR
# pi # FIFO
# so # SOCK
# bd # BLK
# cd # CHR
# su # SETUID
# sg # SETGID
# ex # EXEC
# fi  # FILE
# file extensions (vim-devicons)
*.styl 
*.sass 
*.scss 
*.htm 
*.html 
*.slim 
*.haml 
*.ejs 
*.css 
*.less 
*.md 
*.mdx 
*.markdown 
*.rmd 
*.json 
*.webmanifest 
*.js 
*.mjs 
*.jsx 
*.rb 
*.gemspec 
*.rake 
*.php 
*.py 
*.pyc 
*.pyo 
*.pyd 
*.coffee 
*.mustache 
*.hbs 
*.conf 
*.ini 
*.yml 
*.yaml 
*.toml 
*.bat 
*.mk 
*.jpg 
*.jpeg 
*.bmp 
*.png 
*.webp 
*.gif 
*.ico 
*.twig 
*.cpp 
*.c++ 
*.cxx 
*.cc 
*.cp 
*.c 
*.cs 󰌛
*.h 
*.hh 
*.hpp 
*.hxx 
*.hs 
*.lhs 
*.nix 
*.lua 
*.java 
*.sh 
*.fish 
*.bash 
*.zsh 
*.ksh 
*.csh 
*.awk 
*.ps1 
*.ml λ
*.mli λ
*.diff 
*.db 
*.sql 
*.dump 
*.clj 
*.cljc 
*.cljs 
*.edn 
*.scala 
*.go 
*.dart 
*.xul 
*.sln 
*.suo 
*.pl 
*.pm 
*.t 
*.rss 
'*.f#' 
*.fsscript 
*.fsx 
*.fs 
*.fsi 
*.rs 
*.rlib 
*.d 
*.erl 
*.hrl 
*.ex 
*.exs 
*.eex 
*.leex 
*.heex 
*.vim 
*.ai 
*.psd 
*.psb 
*.ts 
*.tsx 
*.jl 
*.pp 
*.vue 
*.elm 
*.swift 
*.xcplayground 
*.tex 󰙩
*.r 󰟔
*.rproj 󰗆
*.sol 󰡪
*.pem 
# file names (vim-devicons) (case-insensitive not supported in lf)
*gruntfile.coffee 
*gruntfile.js 
*gruntfile.ls 
*gulpfile.coffee 
*gulpfile.js 
*gulpfile.ls 
*mix.lock 
*dropbox 
*.ds_store 
*.gitconfig 
*.gitignore 
*.gitattributes 
*.gitlab-ci.yml 
*.bashrc 
*.zshrc 
*.zshenv 
*.zprofile 
*.vimrc 
*.gvimrc 
*_vimrc 
*_gvimrc 
*.bashprofile 
*favicon.ico 
*license 
*node_modules 
*react.jsx 
*procfile 
*dockerfile 
*docker-compose.yml 
*docker-compose.yaml 
*compose.yml 
*compose.yaml 
*rakefile 
*config.ru 
*gemfile 
*makefile 
*cmakelists.txt 
*robots.txt 󰚩
# file names (case-sensitive adaptations)
*Gruntfile.coffee 
*Gruntfile.js 
*Gruntfile.ls 
*Gulpfile.coffee 
*Gulpfile.js 
*Gulpfile.ls 
*Dropbox 
*.DS_Store 
*LICENSE 
*React.jsx 
*Procfile 
*Dockerfile 
*Docker-compose.yml 
*Docker-compose.yaml 
*Rakefile 
*Gemfile 
*Makefile 
*CMakeLists.txt 
# file patterns (vim-devicons) (patterns not supported in lf)
# .*jquery.*\.js$ 
# .*angular.*\.js$ 
# .*backbone.*\.js$ 
# .*require.*\.js$ 
# .*materialize.*\.js$ 
# .*materialize.*\.css$ 
# .*mootools.*\.js$ 
# .*vimrc.* 
# Vagrantfile$ 
# file patterns (file name adaptations)
*jquery.min.js 
*angular.min.js 
*backbone.min.js 
*require.min.js 
*materialize.min.js 
*materialize.min.css 
*mootools.min.js 
*vimrc 
Vagrantfile 
# archives or compressed (extensions from dircolors defaults)
*.tar 
*.tgz 
*.arc 
*.arj 
*.taz 
*.lha 
*.lz4 
*.lzh 
*.lzma 
*.tlz 
*.txz 
*.tzo 
*.t7z 
*.zip 
*.z 
*.dz 
*.gz 
*.lrz 
*.lz 
*.lzo 
*.xz 
*.zst 
*.tzst 
*.bz2 
*.bz 
*.tbz 
*.tbz2 
*.tz 
*.deb 
*.rpm 
*.jar 
*.war 
*.ear 
*.sar 
*.rar 
*.alz 
*.ace 
*.zoo 
*.cpio 
*.7z 
*.rz 
*.cab 
*.wim 
*.swm 
*.dwm 
*.esd 
# image formats (extensions from dircolors defaults)
*.jpg 
*.jpeg 
*.mjpg 
*.mjpeg 
*.gif 
*.bmp 
*.pbm 
*.pgm 
*.ppm 
*.tga 
*.xbm 
*.xpm 
*.tif 
*.tiff 
*.png 
*.svg 
*.svgz 
*.mng 
*.pcx 
*.mov 
*.mpg 
*.mpeg 
*.m2v 
*.mkv 
*.webm 
*.ogm 
*.mp4 
*.m4v 
*.mp4v 
*.vob 
*.qt 
*.nuv 
*.wmv 
*.asf 
*.rm 
*.rmvb 
*.flc 
*.avi 
*.fli 
*.flv 
*.gl 
*.dl 
*.xcf 
*.xwd 
*.yuv 
*.cgm 
*.emf 
*.ogv 
*.ogx 
# audio formats (extensions from dircolors defaults)
*.aac 
*.au 
*.flac 
*.m4a 
*.mid 
*.midi 
*.mka 
*.mp3 
*.mpc 
*.ogg 
*.ra 
*.wav 
*.oga 
*.opus 
*.spx 
*.xspf 
# other formats
*.pdf 

121
.config/lf/lfrc Normal file
View file

@ -0,0 +1,121 @@
# enable icons
set icons
# enable image previews
set sixel true
set previewer ctpv
set cleaner ctpvclear
&ctpv -s $id
&ctpvquit $id
# show hidden files
set hidden true
# interpreter for shell commands
set shell sh
# set '-eu' options for shell commands
# These options are used to have safer shell commands. Option '-e' is used to
# exit on error and option '-u' is used to give error for unset variables.
# Option '-f' disables pathname expansion which can be useful when $f, $fs, and
# $fx variables contain names with '*' or '?' characters. However, this option
# is used selectively within individual commands as it can be limiting at
# times.
set shellopts '-eu'
# set internal field separator (IFS) to "\n" for shell commands
# This is useful to automatically split file names in $fs and $fx properly
# since default file separator used in these variables (i.e. 'filesep' option)
# is newline. You need to consider the values of these options and create your
# commands accordingly.
set ifs "\n"
# leave some space at the top and the bottom of the screen
set scrolloff 10
# Use the `dim` attribute instead of underline for the cursor in the preview pane
set cursorpreviewfmt "\033[7;2m"
# use enter for shell commands
map <enter> shell
# show the result of execution of previous commands
map ` !true
# execute current file (must be executable)
map x $$f
map X !$f
# dedicated keys for file opener actions
map o &mimeopen $f
map O $mimeopen --ask $f
# define a custom 'open' command
# This command is called when current file is not a directory. You may want to
# use either file extensions and/or mime types here. Below uses an editor for
# text files and a file opener for the rest.
cmd open &{{
case $(file --mime-type -Lb $f) in
text/*) lf -remote "send $id \$$EDITOR \$fx";;
*) for f in $fx; do $OPENER $f > /dev/null 2> /dev/null & done;;
esac
}}
# mkdir command. See wiki if you want it to select created dir
map a :push %mkdir<space>
# define a custom 'rename' command without prompt for overwrite
cmd rename %[ -e $1 ] && printf "file exists" || mv $f $1
map r push :rename<space>
# make sure trash folder exists
# %mkdir -p ~/.trash
# move current file or selected files to trash folder
# (also see 'man mv' for backup/overwrite options)
# cmd trash %set -f; mv $fx ~/.trash
# define a custom 'delete' command
cmd delete ${{
set -f
printf "$fx\n"
printf "delete? [y/n] "
read ans
[ "$ans" = "y" ] && rm -rf $fx
}}
# use '<delete>' key for either 'trash' or 'delete' command
# map <delete> trash
map <delete> delete
# extract the current file with the right command
# (xkcd link: https://xkcd.com/1168/)
cmd extract ${{
set -f
case $f in
*.tar.bz|*.tar.bz2|*.tbz|*.tbz2) tar xjvf $f;;
*.tar.gz|*.tgz) tar xzvf $f;;
*.tar.xz|*.txz) tar xJvf $f;;
*.zip) unzip $f;;
*.rar) unrar x $f;;
*.7z) 7z x $f;;
esac
}}
# compress current file or selected files with tar and gunzip
cmd tar ${{
set -f
mkdir $1
cp -r $fx $1
tar czf $1.tar.gz $1
rm -rf $1
}}
# compress current file or selected files with zip
cmd zip ${{
set -f
mkdir $1
cp -r $fx $1
zip -r $1.zip $1
rm -rf $1
}}

13
.config/mako/config Normal file
View file

@ -0,0 +1,13 @@
include=/home/amolinae/.cache/wal/colors-mako
sort=-time
layer=top
width=300
height=200
border-size=2
border-radius=0
padding=20
icons=1
max-icon-size=64
default-timeout=5000
ignore-timeout=1
font=Inconsolata 11

8
.config/mimeapps.list Normal file
View file

@ -0,0 +1,8 @@
[Default Applications]
application/pdf=org.pwmt.zathura.desktop;
video/x-matroska=mpv.desktop;
video/mp4=mpv.desktop;
image/png=imv.desktop;
image/jpeg=imv.desktop;
image/gif=imv.desktop;
inode/directory=lf.desktop;

99
.config/ncpamixer.conf Normal file
View file

@ -0,0 +1,99 @@
"theme" = "c0r73x"
# Default theme {
"theme.default.static_bar" = false
"theme.default.default_indicator" = "♦ "
"theme.default.bar_style.bg" = "░"
"theme.default.bar_style.fg" = "█"
"theme.default.bar_style.indicator" = "█"
"theme.default.bar_style.top" = "▁"
"theme.default.bar_style.bottom" = "▔"
"theme.default.bar_low.front" = 2
"theme.default.bar_low.back" = 0
"theme.default.bar_mid.front" = 3
"theme.default.bar_mid.back" = 0
"theme.default.bar_high.front" = 1
"theme.default.bar_high.back" = 0
"theme.default.volume_low" = 2
"theme.default.volume_mid" = 3
"theme.default.volume_high" = 1
"theme.default.volume_peak" = 1
"theme.default.volume_indicator" = -1
"theme.default.selected" = 2
"theme.default.default" = -1
"theme.default.border" = -1
"theme.default.dropdown.selected_text" = 0
"theme.default.dropdown.selected" = 2
"theme.default.dropdown.unselected" = -1
# }
# c0r73x theme {
"theme.c0r73x.static_bar" = false
"theme.c0r73x.default_indicator" = "■ "
"theme.c0r73x.bar_style.bg" = "■"
"theme.c0r73x.bar_style.fg" = "■"
"theme.c0r73x.bar_style.indicator" = "■"
"theme.c0r73x.bar_style.top" = ""
"theme.c0r73x.bar_style.bottom" = ""
"theme.c0r73x.bar_low.front" = 0
"theme.c0r73x.bar_low.back" = -1
"theme.c0r73x.bar_mid.front" = 0
"theme.c0r73x.bar_mid.back" = -1
"theme.c0r73x.bar_high.front" = 0
"theme.c0r73x.bar_high.back" = -1
"theme.c0r73x.volume_low" = 6
"theme.c0r73x.volume_mid" = 6
"theme.c0r73x.volume_high" = 6
"theme.c0r73x.volume_peak" = 1
"theme.c0r73x.volume_indicator" = 15
"theme.c0r73x.selected" = 6
"theme.c0r73x.default" = -1
"theme.c0r73x.border" = -1
"theme.c0r73x.dropdown.selected_text" = 0
"theme.c0r73x.dropdown.selected" = 6
"theme.c0r73x.dropdown.unselected" = -1
# }
# Keybinds {
"keycode.9" = "switch" # tab
"keycode.13" = "select" # enter
"keycode.27" = "quit" # escape
"keycode.99" = "dropdown" # c
"keycode.113" = "quit" # q
"keycode.109" = "mute" # m
"keycode.100" = "set_default" # d
"keycode.108" = "volume_up" # l
"keycode.104" = "volume_down" # h
"keycode.261" = "volume_up" # arrow right
"keycode.260" = "volume_down" # arrow left
"keycode.107" = "move_up" # k
"keycode.106" = "move_down" # j
"keycode.259" = "move_up" # arrow up
"keycode.258" = "move_down" # arrow down
"keycode.338" = "page_up" # page up
"keycode.339" = "page_down" # page down
"keycode.76" = "tab_next" # L
"keycode.72" = "tab_prev" # H
"keycode.265" = "tab_playback" # f1
"keycode.266" = "tab_recording" # f2
"keycode.267" = "tab_output" # f3
"keycode.268" = "tab_input" # f4
"keycode.269" = "tab_config" # f5
"keycode.f.80" = "tab_playback" # f1 VT100
"keycode.f.81" = "tab_recording" # f2 VT100
"keycode.f.82" = "tab_output" # f3 VT100
"keycode.f.83" = "tab_input" # f4 VT100
"keycode.f.84" = "tab_config" # f5 VT100
"keycode.71" = "move_last" # G
"keycode.103" = "move_first" # g
# "keycode.48" = "set_volume_100" # 0
"keycode.48" = "set_volume_0" # 0
"keycode.49" = "set_volume_10" # 1
"keycode.50" = "set_volume_20" # 2
"keycode.51" = "set_volume_30" # 3
"keycode.52" = "set_volume_40" # 4
"keycode.53" = "set_volume_50" # 5
"keycode.54" = "set_volume_60" # 6
"keycode.55" = "set_volume_70" # 7
"keycode.56" = "set_volume_80" # 8
"keycode.57" = "set_volume_90" # 9
"keycode.63" = "help" # ?
# }

View file

@ -0,0 +1,39 @@
theme = "default"
client_id = "65b708073fc0480ea92a077233ca87bd"
client_port = 8080
login_redirect_uri = "http://127.0.0.1:8989/login"
playback_format = "{status} {track} | {artists}\n{album}\n{metadata}"
tracks_playback_limit = 50
app_refresh_duration_in_ms = 32
playback_refresh_duration_in_ms = 0
page_size_in_rows = 20
play_icon = ""
pause_icon = ""
liked_icon = "󰥱"
border_type = "Plain"
progress_bar_type = "Rectangle"
enable_media_control = true
enable_streaming = "Always"
enable_cover_image_cache = true
cover_img_scale=1.8
cover_img_length=10
cover_img_width=5
default_device = "spotify-player"
seek_duration_secs = 5
[layout]
playback_window_position = "Top"
playback_window_height = 6
[layout.library]
playlist_percent = 40
album_percent = 40
[device]
name = "spotify-player"
device_type = "speaker"
volume = 100
bitrate = 320
audio_cache = false
normalization = false
autoplay = true

6
.config/swayidle/config Normal file
View file

@ -0,0 +1,6 @@
timeout 145 'brillo -O'
timeout 150 'brillo -a -u 150000 -S 5' resume 'brillo -u 150000 -I'
timeout 180 'swaylock -f'
timeout 300 'wlr-randr --output eDP-1 --off' resume 'wlr-randr --output eDP-1 --on'
timeout 1800 'loginctl suspend'
before-sleep 'swaylock -f'

6
.config/swaylock/config Normal file
View file

@ -0,0 +1,6 @@
image="$HOME/Pictures/Wallpapers/vatihall.jpg"
clock
indicator
ignore-empty-password
hide-keyboard-layout
disable-caps-lock-text

20
.config/tofi/config Normal file
View file

@ -0,0 +1,20 @@
include = /home/amolinae/.cache/wal/colors-tofi
drun-launch=true
font = "Inconsolata"
font-size = 11
anchor = top
width = 100%
height = 30
horizontal = true
prompt-text = " run: "
outline-width = 0
border-width = 0
min-input-width = 120
result-spacing = 15
padding-top = 0
padding-bottom = 0
padding-left = 0
padding-right = 0
auto-accept-single = false
require-match = true

15
.config/tofi/configfs Normal file
View file

@ -0,0 +1,15 @@
include = /home/amolinae/.cache/wal/colors-tofi
prompt-text = ""
width = 100%
height = 100%
border-width = 0
outline-width = 0
padding-left = 35%
padding-top = 35%
result-spacing = 25
num-results = 5
font = Inconsolata
font-size = 32
text-color = #FFFFFF
hide-cursor = true

21
.config/tofi/configsq Normal file
View file

@ -0,0 +1,21 @@
include = /home/amolinae/.cache/wal/colors-tofi
font = "Inconsolata"
font-size = 14
hint-font = true
prompt-text = ""
anchor = center
width = 25%
height = 25%
horizontal = false
outline-width = 0
border-width = 2
min-input-width = 120
result-spacing = 15
padding-top = 8
padding-bottom = 8
padding-left = 8
padding-right = 8
multi-instance = false
auto-accept-single = false
require-match = true

15
.config/user-dirs.dirs Normal file
View file

@ -0,0 +1,15 @@
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

View file

@ -0,0 +1,19 @@
[colors]
background={background.strip}
foreground={foreground.strip}
regular0={color0.strip}
regular1={color1.strip}
regular2={color2.strip}
regular3={color3.strip}
regular4={color4.strip}
regular5={color5.strip}
regular6={color6.strip}
regular7={color7.strip}
bright0={color8.strip}
bright1={color9.strip}
bright2={color10.strip}
bright3={color11.strip}
bright4={color12.strip}
bright5={color13.strip}
bright6={color14.strip}
bright7={color15.strip}

View file

@ -0,0 +1,11 @@
[colors]
background={background.strip}ff
prompt={foreground.strip}ff
text={foreground.strip}ff
placeholder={foreground.strip}ff
input={foreground.strip}ff
match={foreground.strip}ff
selection={color1.strip}ff
selection-text={background.strip}ff
selection-match={foreground.strip}ff
border={color1.strip}ff

View file

@ -0,0 +1,10 @@
$color0 = rgb({color0.strip})
$color1 = rgb({color1.strip})
$color2 = rgb({color2.strip})
$color3 = rgb({color3.strip})
$color4 = rgb({color4.strip})
$color5 = rgb({color5.strip})
$color6 = rgb({color6.strip})
$color7 = rgb({color7.strip})
$color8 = rgb({color8.strip})
$wallpaper = "{wallpaper}"

View file

@ -0,0 +1,3 @@
background-color={background}
text-color={foreground}
border-color={color1}

View file

@ -0,0 +1,4 @@
background-color = {background.strip}
border-color = {color1.strip}
selection-color = {color1.strip}
text-color = {foreground.strip}

View file

@ -0,0 +1,14 @@
#define WALLPAPER "{wallpaper}"
/* Taken from https://github.com/djpohly/dwl/issues/466 */
#define COLOR(hex) {{ ((hex >> 24) & 0xFF) / 255.0f, \
((hex >> 16) & 0xFF) / 255.0f, \
((hex >> 8) & 0xFF) / 255.0f, \
(hex & 0xFF) / 255.0f }}
static const float rootcolor[] = COLOR(0x{color0.strip}ff);
static uint32_t colors[][3] = {{
/* fg bg border */
[SchemeNorm] = {{ 0x{color15.strip}ff, 0x{color0.strip}ff, 0x{color8.strip}ff }},
[SchemeSel] = {{ 0x{color15.strip}ff, 0x{color2.strip}ff, 0x{color1.strip}ff }},
[SchemeUrg] = {{ 0x{color15.strip}ff, 0x{color1.strip}ff, 0x{color2.strip}ff }},
}};

View file

@ -0,0 +1,34 @@
set recolor "true"
set recolor-keephue "true"
set completion-bg "{background}"
set completion-fg "{foreground}"
set completion-group-bg "{background}"
set completion-group-fg "{color2}"
set completion-highlight-bg "{foreground}"
set completion-highlight-fg "{background}"
set recolor-lightcolor "{background}"
set recolor-darkcolor "{foreground}"
set default-bg "{background}"
set inputbar-bg "{background}"
set inputbar-fg "{foreground}"
set notification-bg "{background}"
set notification-fg "{foreground}"
set notification-error-bg "{color1}"
set notification-error-fg "{foreground}"
set notification-warning-bg "{color1}"
set notification-warning-fg "{foreground}"
set statusbar-bg "{background}"
set statusbar-fg "{foreground}"
set index-bg "{background}"
set index-fg "{foreground}"
set index-active-bg "{foreground}"
set index-active-fg "{background}"
set render-loading-bg "{background}"
set render-loading-fg "{foreground}"
set window-title-home-tilde true
set statusbar-basename true
set selection-clipboard clipboard

View file

@ -0,0 +1,20 @@
set default-bg "{background}"
set default-fg "{foreground}"
set statusbar-bg "{background}"
set statusbar-fg "{foreground}"
set inputbar-bg "{background}"
set inputbar-fg "{foreground}"
set notification-bg "{background}"
set notification-fg "{foreground}"
set notification-error-bg "{background}"
set notification-error-fg "{foreground}"
set notification-warning-bg "{background}"
set notification-warning-fg "{foreground}"
set highlight-color "{color3}"
set highlight-active-color "{color6}"
set completion-bg "{color3}"
set completion-fg "{color6}"
set completion-highlight-bg "{color3}"
set completion-highlight-fg "{color6}"
set recolor-lightcolor "{background}"
set recolor-darkcolor "{foreground}"

View file

@ -0,0 +1,56 @@
{{
"schemeVersion": 2,
"enabled": true,
"fetchNews": true,
"theme": {{
"mode": 1,
"brightness": 100,
"contrast": 100,
"grayscale": 0,
"sepia": 0,
"useFont": false,
"fontFamily": "Open Sans",
"textStroke": 0,
"engine": "dynamicTheme",
"stylesheet": "",
"darkSchemeBackgroundColor": "{color0}",
"darkSchemeTextColor": "{color15}",
"lightSchemeBackgroundColor": "#{color0.lighten(15%)}",
"lightSchemeTextColor": "{color15}",
"scrollbarColor": "auto",
"selectionColor": "auto",
"styleSystemControls": false,
"lightColorScheme": "Default",
"darkColorScheme": "Default",
"immediateModify": false
}},
"presets": [],
"customThemes": [],
"enabledByDefault": true,
"enabledFor": [],
"disabledFor": [],
"changeBrowserTheme": false,
"syncSettings": true,
"syncSitesFixes": true,
"automation": {{
"enabled": false,
"mode": "",
"behavior": "OnOff"
}},
"time": {{
"activation": "18:00",
"deactivation": "9:00"
}},
"location": {{
"latitude": null,
"longitude": null
}},
"previewNewDesign": true,
"enableForPDF": true,
"enableForProtectedPages": true,
"enableContextMenus": false,
"detectDarkTheme": false,
"displayedNews": [
"thanks-2023"
]
}}

View file

@ -0,0 +1,5 @@
set selection-clipboard clipboard
map D set "first-page-column 1:1"
map <C-d> set "first-page-column 1:2"
include /home/amolinae/.cache/wal/colors-zathura

1518
.config/zsh/.zcompdump Normal file

File diff suppressed because it is too large Load diff

17
.config/zsh/.zprofile Normal file
View file

@ -0,0 +1,17 @@
export PATH="$PATH:$(find ~/.local/bin -type d | paste -sd ':' -)"
unsetopt PROMPT_SP 2>/dev/null
export EDITOR="nvim"
export TERMINAL="foot-client"
export BROWSER="librewolf"
export MANPAGER='nvim +Man!'
# HOME cleanup
export ZDOTDIR=$HOME/.config/zsh
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"
export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc"
export CARGO_HOME="$XDG_DATA_HOME"/cargo

94
.config/zsh/.zshrc Normal file
View file

@ -0,0 +1,94 @@
# Enable colors and change prompt:
case $(tty) in /dev/tty[0-9]*)
source .cache/wal/colors-tty.sh
esac
autoload -U colors && colors # Load colors
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[red]%}@%{$fg[yellow]%}%M %{$fg[yellow]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
# OSC-7 escape sequence
autoload -Uz add-zsh-hook
function osc7-pwd() {
emulate -L zsh # also sets localoptions for us
setopt extendedglob
local LC_ALL=C
printf '\e]7;file://%s%s\e\' $HOST ${PWD//(#m)([^@-Za-z&-;_~])/%${(l:2::0:)$(([##16]#MATCH))}}
}
function chpwd-osc7-pwd() {
(( ZSH_SUBSHELL )) || osc7-pwd
}
add-zsh-hook -Uz chpwd chpwd-osc7-pwd
setopt autocd # Automatically cd into typed directory.
stty stop undef # Disable ctrl-s to freeze terminal.
setopt interactive_comments
# Useful options
setopt correct
setopt noclobber
setopt histignoredups
# History in cache directory:
HISTSIZE=10000000
SAVEHIST=10000000
HISTFILE="${XDG_CACHE_HOME:-$HOME/.cache}/zsh/history"
# Basic auto/tab complete:
setopt auto_list
autoload -U compinit
zstyle ':completion:*' menu select
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
zmodload zsh/complist
compinit
_comp_options+=(globdots) # Include hidden files.
# Completion files: Use XDG dirs
[ -d "$XDG_CACHE_HOME"/zsh ] || mkdir -p "$XDG_CACHE_HOME"/zsh
zstyle ':completion:*' cache-path "$XDG_CACHE_HOME"/zsh/zcompcache
compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-$ZSH_VERSION
# vi mode
bindkey -v
export KEYTIMEOUT=1
# Use vim keys in tab complete menu:
bindkey -M menuselect 'h' vi-backward-char
bindkey -M menuselect 'k' vi-up-line-or-history
bindkey -M menuselect 'l' vi-forward-char
bindkey -M menuselect 'j' vi-down-line-or-history
bindkey -v '^?' backward-delete-char
# Change cursor shape for different vi modes.
function zle-keymap-select () {
case $KEYMAP in
vicmd) echo -ne '\e[1 q';; # block
viins|main) echo -ne '\e[5 q';; # beam
esac
}
zle -N zle-keymap-select
zle-line-init() {
zle -K viins # initiate `vi insert` as keymap (can be removed if `bindkey -V` has been set elsewhere)
echo -ne "\e[5 q"
}
zle -N zle-line-init
echo -ne '\e[5 q' # Use beam shape cursor on startup.
preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt.
# Aliases
alias sudo='doas'
alias neofetch='fastfetch'
alias yay='paru'
alias docker='podman'
alias ls='ls -lah'
alias codium='codium --ozone-platform=wayland'
alias cmatrix='cmatrix -bcm -u 7'
alias stmps='stmps -mpris'
alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
alias vi='busybox vi'
# Commands
fastfetch
# Load syntax highlighting; should be last.
source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh 2>/dev/null

16
.local/bin/bwroot Executable file
View file

@ -0,0 +1,16 @@
#!/bin/sh
ROOT=""$HOME"/Documents/alpchroot"
case "$1" in
"") echo "usage: bwroot ARGUMENT" >&2; exit 1; ;;
*)
bwrap \
--bind "$ROOT" / \
--bind /proc /proc \
--dev-bind /dev /dev \
--bind "$PWD" "$PWD" \
--bind "$HOME" "$HOME" \
--unshare-all \
"$@" ;;
esac

2
.local/bin/camera Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
pkill -f /dev/video || mpv --untimed --no-cache --no-osc --no-input-default-bindings --profile=low-latency --input-conf=/dev/null --autofit=25% --title=webcam $(ls /dev/video[0,2,4,6,8] | tail -n 1)

2
.local/bin/dwmlaunch Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
zsh -lc "/usr/libexec/pipewire-launcher & slstatus | dbus-run-session dwl"

19
.local/bin/getvol Executable file
View file

@ -0,0 +1,19 @@
#!/bin/sh
dev=@DEFAULT_SINK@
! [ "$1" = '-m' ] || { dev=@DEFAULT_SOURCE@; shift; }
vol="$(wpctl get-volume "$dev")"
[ "$vol" != "${vol%\[MUTED\]}" ] && echo "MUTED" && exit
vol="${vol#Volume: }"
split() {
# For ommiting the . without calling and external program.
IFS=$2
set -- $1
printf '%s' "$@"
}
vol="$(printf "%.0f" "$(split "$vol" ".")")"
echo "$vol"

20
.local/bin/powermenu Executable file
View file

@ -0,0 +1,20 @@
#!/bin/sh -x
# tofi powermenu
case $(printf "%s\n" " Lock session" "󰍃 Log out" "󰤄 Suspend" " Reboot" "󰐥 Shut down" | fuzzel -d) in
" Lock session")
swaylock
;;
"󰍃 Log out")
kill "$(pidof dwl)"
;;
"󰤄 Suspend")
loginctl suspend
;;
" Reboot")
loginctl reboot
;;
"󰐥 Shut down")
loginctl poweroff
esac

33
.local/bin/recordscreen Executable file
View file

@ -0,0 +1,33 @@
#!/bin/sh -x
#
# Show icon in slstatus: [ 󰕧 + 󱄠 (󰑊) ]
# [ 󰕧 + 󱄠 + 󰍬 (󰑊) ]
# [ 󰕧 (󰑊) ]
#
screencast(){
case $(printf "%s\n" "󰍬 Mic ON" "󰍭 Mic OFF" | fuzzel -d) in
"󰍬 Mic ON")
wf-recorder -D -a -f ~/Videos/Recordings/recording_$(date +"%Y-%m-%d_%H:%M:%S.mp4")
;;
"󰍭 Mic OFF")
wf-recorder -D --audio="$(pactl list short sources | grep output | awk '{print $2}')" -f ~/Videos/Recordings/recording_$(date +"%Y-%m-%d_%H:%M:%S.mp4")
;;
esac
}
video(){
wf-recorder -D -f ~/Videos/Recordings/recording_$(date +"%Y-%m-%d_%H:%M:%S.mp4")
}
kill(){
killall -s SIGINT wf-recorder && \
notify-send "wf-recorder" "recording stopped" || \
notify-send "ERROR" "No recording process found"
}
case $(printf "%s\n" "󰻒 Screencast" "󰕧 Video only" "󰕨 Stop recording" | fuzzel -d) in
"󰻒 Screencast") screencast;;
"󰕧 Video only") video;;
"󰕨 Stop recording") kill;;
*) kill;;
esac

12
.local/bin/tofiunicode Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
# The famous "get a menu of emojis to copy" script, ported to tofi (wayland).
# Get user selection via tofi from emoji file.
chosen=$(cut -d ';' -f1 ~/.local/share/misc/chars/* | fuzzel -d | sed "s/ .*//")
# Exit if none chosen.
[ -z "$chosen" ] && exit
printf "%s" "$chosen" | wl-copy
notify-send "'$chosen' copied to clipboard." &

View file

@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Name=imv
GenericName=Image Viewer
Comment=X11/Wayland Image Viewer
Exec=/usr/bin/imv %f
Icon=multimedia-photo-viewer
Terminal=true

View file

@ -0,0 +1,3 @@
[Icon Theme]
Name=macOS-White
Inherits="macOS-White"

View file

@ -0,0 +1 @@
left_ptr_watch

View file

@ -0,0 +1 @@
sb_v_double_arrow

View file

@ -0,0 +1 @@
sb_h_double_arrow

View file

@ -0,0 +1 @@
crossed_circle

View file

@ -0,0 +1 @@
left_ptr_watch

View file

@ -0,0 +1 @@
sb_h_double_arrow

View file

@ -0,0 +1 @@
sb_v_double_arrow

View file

@ -0,0 +1 @@
left_ptr_watch

View file

@ -0,0 +1 @@
question_arrow

View file

@ -0,0 +1 @@
hand2

Binary file not shown.

View file

@ -0,0 +1 @@
link

Binary file not shown.

View file

@ -0,0 +1 @@
left_ptr

View file

@ -0,0 +1 @@
bottom_right_corner

View file

@ -0,0 +1 @@
top_side

Binary file not shown.

View file

@ -0,0 +1 @@
bottom_right_corner

View file

@ -0,0 +1 @@
plus

Binary file not shown.

View file

@ -0,0 +1 @@
crossed_circle

View file

@ -0,0 +1 @@
move

View file

@ -0,0 +1 @@
sb_h_double_arrow

View file

@ -0,0 +1 @@
cross

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1 @@
cross

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1 @@
question_arrow

View file

@ -0,0 +1 @@
left_ptr

View file

@ -0,0 +1 @@
cross

View file

@ -0,0 +1 @@
question_arrow

View file

@ -0,0 +1 @@
copy

View file

@ -0,0 +1 @@
link

View file

@ -0,0 +1 @@
move

View file

@ -0,0 +1 @@
move

Binary file not shown.

View file

@ -0,0 +1 @@
dotbox

Binary file not shown.

View file

@ -0,0 +1 @@
sb_v_double_arrow

View file

@ -0,0 +1 @@
sb_down_arrow

View file

@ -0,0 +1 @@
pencil

View file

@ -0,0 +1 @@
right_ptr

View file

@ -0,0 +1 @@
right_ptr

View file

@ -0,0 +1 @@
dotbox

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