Author: Adam Evyčędo <git@apiote.xyz>
explicit gitignore and cleaning-up home
.config/aerc/aerc.conf | 2 .config/alsa/asoundrc | 1 .config/boxxy/boxxy.yaml | 9 .config/fontconfig/fonts.conf | 27 + .config/fontconfig/fonts.conf.back | 35 + .config/khal/config | 2 .config/khard/khard.conf | 2 .config/lf/lfrc | 61 +++ .config/me/me.signature | 4 .config/npm/npmrc | 3 .config/pythonrc | 33 + .config/qalculate/qalc.cfg | 81 ++++ .config/qalculate/qalculate-gtk.cfg | 250 +++++++++++++ .config/qt5ct/colors/paper.conf | 4 .config/qt5ct/qt5ct.conf | 28 + .config/readline/inputrc | 96 ++++ .config/sh/aliases | 10 .config/sh/variables | 17 .config/sway/sway_startup.sh | 19 .config/todoman/config.py | 5 .config/todoman/todoman.conf | 6 .config/transmission/settings.json | 132 ++++++ .config/user-dirs.dirs | 8 .config/vdirsyncer/config | 4 .config/vdirsyncer/getpass.sh.nose | 1 .config/wezterm/wezterm.lua | 3 .config/wob/wob.ini | 1 .config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml | 13 .davfs2/davfs2.conf | 14 | 0 .gitignore | 80 ++++ | 0 | 0 | 0 .local/bin/backup | 1 .local/bin/network_backup | 4 .local/bin/sudo | 4 .local/bin/update-git | 95 ++++ .local/share/qutebrowser/greasemonkey/redirect.js.bak | 107 +++++ .profile | 21 .shrc | 40 -- | 0 | 0 | 0 | 0
diff --git a/.config/aerc/accounts.conf.age b/.config/aerc/accounts.conf.age new file mode 100644 index 0000000000000000000000000000000000000000..a9fe12c44c7ef9ac916339dcaef8cba6be997d32 Binary files /dev/null and b/.config/aerc/accounts.conf.age differ diff --git a/.config/aerc/accounts.conf.nose b/.config/aerc/accounts.conf.nose deleted file mode 100644 index fcd15c195c4874b9b70945b9d77a9621f053aee8..0000000000000000000000000000000000000000 Binary files a/.config/aerc/accounts.conf.nose and /dev/null differ diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf index 43ce2af896556decdb459117c2f01e9e3b799e98..e27f23c84ac96b783b2c99d95f4398b18b7e65e5 100644 --- a/.config/aerc/aerc.conf +++ b/.config/aerc/aerc.conf @@ -61,7 +61,7 @@ # # Specifies the command to run the editor with. It will be shown in an embedded # terminal, though it may also launch a graphical window if the environment # supports it. Defaults to $EDITOR, or vi. -editor=kak +editor=hx [filters] # diff --git a/.config/alsa/asoundrc b/.config/alsa/asoundrc new file mode 100644 index 0000000000000000000000000000000000000000..8b137891791fe96927ad78e64b0aad7bded08bdc --- /dev/null +++ b/.config/alsa/asoundrc @@ -0,0 +1 @@ + diff --git a/.config/boxxy/boxxy.yaml b/.config/boxxy/boxxy.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a182d2e23061e7ec1af3b5c1db8b237b530b6e36 --- /dev/null +++ b/.config/boxxy/boxxy.yaml @@ -0,0 +1,9 @@ +rules: +- name: gramps + target: "~/.gramps" + rewrite: "~/.local/share/gramps" + mode: directory +- name: ssh + target: "~/.ssh" + rewrite: "~/.local/share/ssh" + mode: directory diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf new file mode 100644 index 0000000000000000000000000000000000000000..48974f89164220feeb6ba4037200005c94758844 --- /dev/null +++ b/.config/fontconfig/fonts.conf @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <match target="font"> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>false</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintnone</const> + </edit> + <edit name="rgba" mode="assign"> + <const>none</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>false</bool> + </edit> + <edit name="lcdfilter" mode="assign"> + <const>lcdnone</const> + </edit> + <edit name="dpi" mode="assign"> + <double>102</double> + </edit> + </match> +</fontconfig> diff --git a/.config/fontconfig/fonts.conf.back b/.config/fontconfig/fonts.conf.back new file mode 100644 index 0000000000000000000000000000000000000000..8d614a06641bb0e40b0c187f2043da89ac9aeac6 --- /dev/null +++ b/.config/fontconfig/fonts.conf.back @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <match target="font"> + <edit name="antialias" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hinting" mode="assign"> + <bool>true</bool> + </edit> + <edit name="hintstyle" mode="assign"> + <const>hintmedium</const> + </edit> + <edit name="rgba" mode="assign"> + <const>rgb</const> + </edit> + <edit name="autohint" mode="assign"> + <bool>true</bool> + </edit> + <edit name="lcdfilter" mode="assign"> + <const>lcdnone</const> + </edit> + <edit name="dpi" mode="assign"> + <double>102</double> + </edit> + </match> + <match target="font"> + <test name="weight" compare="more"> + <const>medium</const> + </test> + <edit name="autohint" mode="assign"> + <bool>true</bool> + </edit> + </match> +</fontconfig> diff --git a/.config/gammastep/config.ini.nose b/.config/gammastep/config.ini.nose deleted file mode 100644 index 35515d019fc5615ffd32b6664d64b88bfc760ea7..0000000000000000000000000000000000000000 Binary files a/.config/gammastep/config.ini.nose and /dev/null differ diff --git a/.config/git/config b/.config/git/config new file mode 100644 index 0000000000000000000000000000000000000000..de37ee25702bcd754aee942ef762995984e3783e --- /dev/null +++ b/.config/git/config @@ -0,0 +1,35 @@ +[init] + defaultBranch = master +[user] + name = Adam Evyčędo + email = git@apiote.xyz + signingkey = D5299134F42642A72D740EEB5A8C74D1318B549B +[push] + default = simple + autoSetupRemote = true +[core] + editor = hx + autocrlf = input + excludesFile = ~/.config/git/ignore +[color] + ui = auto +[merge] + conflictstyle = diff3 + tool = env LOCAL="$LOCAL" BASE="$BASE" REMOTE="$REMOTE" MERGED="$MERGED" kakmerge +[mergetool] + prompt = false +[mergetool "kakmerge"] + cmd = kakmerge + trustExitCode = true +[gpg] + program = gpg2 +[pull] + rebase = true +[rerere] + enabled = true + autoupdate = true +[sendemail] + smtpserver = smtp.migadu.com + smtpuser = git@apiote.xyz + smtpencryption = ssl + smtpserverport = 465 diff --git a/.config/gonk/account.age b/.config/gonk/account.age new file mode 100644 index 0000000000000000000000000000000000000000..042bb239b3861d063828b1ce669c2db01e658739 Binary files /dev/null and b/.config/gonk/account.age differ diff --git a/.config/gtk-2.0/gtkrc b/.config/gtk-2.0/gtkrc new file mode 100644 index 0000000000000000000000000000000000000000..4b5cb871212865152308e23ff3c7e09e371ef77f --- /dev/null +++ b/.config/gtk-2.0/gtkrc @@ -0,0 +1,11 @@ +gtk-enable-animations=1 +gtk-primary-button-warps-slider=0 +gtk-toolbar-style=3 +gtk-menu-images=1 +gtk-button-images=1 +gtk-cursor-theme-size=24 +gtk-cursor-theme-name="Breeze_Amber" +gtk-theme-name="Materia-dark" +gtk-font-name="Fira Sans 11" +gtk-icon-theme-name="Papirus-dark" + diff --git a/.config/httpdirfs/config.age b/.config/httpdirfs/config.age new file mode 100644 index 0000000000000000000000000000000000000000..0f2bcc5bee51ab339d9d540de5431285adb24147 Binary files /dev/null and b/.config/httpdirfs/config.age differ diff --git a/.config/httpdirfs/config.nose b/.config/httpdirfs/config.nose deleted file mode 100644 index c919aea1b32e581a90809b01a2db3374bd7c0d32..0000000000000000000000000000000000000000 Binary files a/.config/httpdirfs/config.nose and /dev/null differ diff --git a/.config/khal/config b/.config/khal/config index fcee441d048ff6796340b9a9a1b2b40b3eabad98..cfef15745f0e1c07d3c3d240f71a213f47b8c71a 100644 --- a/.config/khal/config +++ b/.config/khal/config @@ -1,7 +1,7 @@ [calendars] [[marvin]] -path = ~/.dav/calendars/* +path = ~/.local/share/dav/calendars/* type = discover [locale] diff --git a/.config/khard/khard.conf b/.config/khard/khard.conf index 7241aedddabafbf9b450daec31d30c6302f97b01..15341e0a2a0f8fe240f7d1891ce209da37ccf88e 100644 --- a/.config/khard/khard.conf +++ b/.config/khard/khard.conf @@ -1,6 +1,6 @@ [addressbooks] [[personal]] -path = ~/.dav/contacts/4acfb5ff-2f38-add1-7609-d711336c3522/ +path = ~/.local/share/dav/contacts/4acfb5ff-2f38-add1-7609-d711336c3522/ [general] debug = no diff --git a/.config/lf/lfrc b/.config/lf/lfrc new file mode 100644 index 0000000000000000000000000000000000000000..a2d4ad00131285ba7477468dda918f4567749e37 --- /dev/null +++ b/.config/lf/lfrc @@ -0,0 +1,61 @@ +# https://github.com/gokcehan/lf/wiki + +set shell sh +set shellopts '-eu' +set ifs "\n" +set scrolloff 10 +set icons +set previewer ~/.config/lf/previewer.sh + +# execute current file (must be executable) +map x $$f +map X !$f +map o &xdg-open $f +map D delete +map gi cd /run/media/adam +map gs cd /media/syncthing/adam/Marvin +map gn cd /media/nextcloud/me@cloud.apiote.xyz/ +map <f-5> reload +map <f-2> rename $f +map <enter> open $f +map . set hidden! + +cmd open ${{ + case $(file --mime-type $f -b) in + text/*) hx $fx;; + image/*) setsid feh $fx >/dev/null 2>&1 &;; + audio/*) mpv $fx;; + video/*) setsid mpv $fx >/dev/null 2>&1 &;; + *) for f in $fx; do setsid $OPENER $f > /dev/null 2> /dev/null & done;; + esac +}} + +cmd trash %set -f; mv $fx ~/.local/share/Trash/files/ + +cmd extract ${{ + set -f + case $f in + *.tar.bz|*.tar.bz2|*.tbz|*.tbz2) tar xzvf $f;; + *.tar.gz|*.tgz) tar xzvf $f;; + *.tar.xz|*.txz) /usr/bin/tar xavf $f;; + *.zip) unzip $f;; + *.rar) unrar x $f;; + *.7z) 7z x $f;; + esac +}} + +cmd tar ${{ + set -f + mkdir $1 + cp -r $fx $1 + tar czf $1.tar.gz $1 + rm -rf $1 +}} + +cmd zip ${{ + set -f + mkdir $1 + cp -r $fx $1 + zip -r $1.zip $1 + rm -rf $1 +}} diff --git a/.config/me/me.signature b/.config/me/me.signature new file mode 100644 index 0000000000000000000000000000000000000000..aa32f7928846be70406801cf9a38289bd5a0e0b2 --- /dev/null +++ b/.config/me/me.signature @@ -0,0 +1,4 @@ +Adam + +() ascii ribbon campaign — against html e-mail +/\ www.asciiribbon.org — against proprietary attachments diff --git a/.config/npm/npmrc b/.config/npm/npmrc new file mode 100644 index 0000000000000000000000000000000000000000..c2da224854badf9c9ec19c61d059079653dfd6d6 --- /dev/null +++ b/.config/npm/npmrc @@ -0,0 +1,3 @@ +prefix=${XDG_DATA_HOME}/npm +cache=${XDG_CACHE_HOME}/npm +init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js diff --git a/.config/pythonrc b/.config/pythonrc new file mode 100644 index 0000000000000000000000000000000000000000..1633579c39f3bf399081cd517cf088d507071581 --- /dev/null +++ b/.config/pythonrc @@ -0,0 +1,33 @@ +#!/usr/bin/python3 + +import os +import atexit +import readline +from pathlib import Path + +if readline.get_current_history_length() == 0: + + state_home = os.environ.get("XDG_STATE_HOME") + if state_home is None: + state_home = Path.home() / ".local" / "state" + else: + state_home = Path(state_home) + + history_path = state_home / "python_history" + if history_path.is_dir(): + raise OSError(f"'{history_path}' cannot be a directory") + + history = str(history_path) + + try: + readline.read_history_file(history) + except OSError: # Non existent + pass + + def write_history(): + try: + readline.write_history_file(history) + except OSError: + pass + + atexit.register(write_history) diff --git a/.config/qalculate/qalc.cfg b/.config/qalculate/qalc.cfg new file mode 100644 index 0000000000000000000000000000000000000000..39a2837a3db466d41c38baea1788bcc0b93a2a11 --- /dev/null +++ b/.config/qalculate/qalc.cfg @@ -0,0 +1,81 @@ + +[General] +version=4.5.1 +save_mode_on_exit=0 +save_definitions_on_exit=1 +clear_history_on_exit=0 +ignore_locale=0 +colorize=1 +auto_update_exchange_rates=-1 +spacious=1 +vertical_space=1 +excessive_parenthesis=0 +short_multiplication=1 +use_unicode_signs=1 +lower_case_numbers=0 +lower_case_e=0 +imaginary_j=0 +base_display=1 +twos_complement=1 +hexadecimal_twos_complement=0 +spell_out_logical_operators=1 +digit_grouping=0 +decimal_comma=-1 +dot_as_separator=-1 +comma_as_separator=0 +multiplication_sign=2 +division_sign=0 + +[Mode] +min_deci=0 +use_min_deci=0 +max_deci=2 +use_max_deci=0 +precision=10 +interval_arithmetic=1 +interval_display=0 +min_exp=-1 +negative_exponents=0 +sort_minus_last=1 +number_fraction_format=-1 +complex_number_form=0 +use_prefixes=0 +use_prefixes_for_all_units=0 +use_prefixes_for_currencies=0 +use_binary_prefixes=0 +abbreviate_names=1 +all_prefixes_enabled=0 +denominator_prefix_enabled=1 +place_units_separately=1 +auto_post_conversion=3 +mixed_units_conversion=3 +local_currency_conversion=1 +number_base=10 +number_base_expression=10 +read_precision=0 +assume_denominators_nonzero=1 +warn_about_denominators_assumed_nonzero=1 +structuring=1 +angle_unit=1 +caret_as_xor=0 +functions_enabled=1 +variables_enabled=1 +calculate_variables=1 +calculate_functions=1 +variable_units_enabled=1 +sync_units=1 +unknownvariables_enabled=0 +units_enabled=1 +allow_complex=1 +allow_infinite=1 +indicate_infinite_series=0 +show_ending_zeroes=1 +rounding_mode=0 +approximation=-1 +interval_calculation=1 +in_rpn_mode=0 +rpn_syntax=0 +limit_implicit_multiplication=0 +parsing_mode=0 +default_assumption_type=4 +default_assumption_sign=0 diff --git a/.config/qalculate/qalculate-gtk.cfg b/.config/qalculate/qalculate-gtk.cfg new file mode 100644 index 0000000000000000000000000000000000000000..8fee6a99c6ea46fc996108c25b40e90405763158 --- /dev/null +++ b/.config/qalculate/qalculate-gtk.cfg @@ -0,0 +1,250 @@ + +[General] +version=0.9.12 +allow_multiple_instances=0 +width=1920 +height=1056 +units_width=960 +units_height=1056 +units_panel_position=350 +error_info_shown=1 +save_mode_on_exit=1 +save_definitions_on_exit=1 +load_global_definitions=1 +auto_update_exchange_rates=-1 +wget_args=--quiet --tries=1 +show_keypad=1 +keypad_height=832 +show_history=0 +history_height=832 +show_stack=1 +show_convert=0 +continuous_conversion=1 +set_missing_prefixes=0 +rpn_keypad_only=1 +display_expression_status=1 +enable_completion=1 +use_unicode_signs=1 +lower_case_numbers=0 +lower_case_e=1 +base_display=2 +spell_out_logical_operators=1 +dot_as_separator=0 +comma_as_separator=0 +use_custom_result_font=0 +use_custom_expression_font=0 +use_custom_status_font=0 +custom_result_font=Cantarell 11 +custom_expression_font=Cantarell 11 +custom_status_font=Cantarell 11 +multiplication_sign=2 +division_sign=1 +expression_history=senz +expression_history=Kur +expression_history=Prem +expression_history=12×12×12×12 Tm to hour +expression_history=12×12×12×12 Tm to sec +expression_history=10 Tm to sec +expression_history=1 Tm to sec +expression_history=0x7d52cc +expression_history=0x7d52xx +expression_history=0xaa7cbb +expression_history=mod(9999 , 60) +expression_history=mod(9999 , 3600) / 60 +expression_history=mod(9999 , 3600) +expression_history=divide(9999, 3600) +expression_history=div(9999 , 3600) +expression_history=9999 % 3600 +expression_history=9999 5 3600 +expression_history=9999 mod 3600 +expression_history=9999/3600 +expression_history=127 +expression_history=168/12 +expression_history=2016 /12 +expression_history=2018 /12 +expression_history=mod(2018, 12) +expression_history=2018mod12 +expression_history=0x3 +expression_history=0x03 +expression_history=0x20 +expression_history=0xF1 +history_expression=senz +history_parse=Senz +history_result=1 Sz +history_expression=Kur +history_parse=Kur +history_result=1 Kr +history_expression=Prem +history_parse=Prem +history_result=1 Pm +history_expression=12×12×12×12 Tm to hour +history_parse=12 × 12 × 12 × (12 × Tim) +history_result=1 h +history_result=1 h +history_result=1 h +history_expression=12×12×12×12 Tm to sec +history_parse=12 × 12 × 12 × (12 × Tim) +history_warning=Error(s) in unitexpression. +history_result=2100 s +history_expression=10 Tm to sec +history_parse=10 × Tim +history_warning=Error(s) in unitexpression. +history_result=1.8↊ s +history_expression=1 Tm to sec +history_parse=1 × Tim +history_warning=Error(s) in unitexpression. +history_result=0.21 s +history_expression=0x7d52cc +history_parse=8 213 196 +history_result=8 213 196 +history_expression=0x7d52xx +history_parse=32 082 × x × x +history_result=32 082x^2 +history_expression=0xaa7cbb +history_parse=11 173 051 +history_result=11 173 051 +history_expression=mod(9999 , 60) +history_parse=mod(9999, 60) +history_result=39 +history_expression=mod(9999 , 3600) / 60 +history_parse=mod(9999, 3600) ∕ 60 +history_result=46.65 +history_expression=mod(9999 , 3600) +history_parse=mod(9999, 3600) +history_result=2799 +history_expression=divide(9999, 3600) +history_parse=divide(9999, 3600) +history_result=2.7775 +history_expression=mod(9999 , 3600) +history_parse=mod(9999, 3600) +history_result=2799 +history_expression=mod(9999 , 3600) +history_parse=mod(9999, 3600) +history_result=2799 +history_expression=divide(9999, 3600) +history_parse=divide(9999, 3600) +history_result=2.7775 +history_expression=divide(9999, 3600) +history_parse=divide(9999, 3600) +history_result=2.7775 +history_expression=div(9999 , 3600) +history_parse=day × i × (0 × [9999, 3600]) +history_error="v" is not a valid variable/function/unit. +history_result=[0 d, 0 d] +history_expression=mod(9999 , 3600) +history_parse=mod(9999, 3600) +history_result=2799 +history_expression=9999 % 3600 +history_parse=(9999 × percent) × 3600 +history_result=359 964 +history_expression=9999 5 3600 +history_parse=999 953 600 +history_result=999 953 600 +history_expression=9999 mod 3600 +history_parse=9999 × mod(3600) +history_error=You need at least 2 argument(s) (Numerator, Denominator) in function mod(). +history_result=9999 × mod(3600) +history_expression=9999/3600 +history_parse=9999 ∕ 3600 +history_result_approximate=0x2.C70A3D7 +history_result=2.7775 +history_expression=127 +history_parse=127 +history_result=127 +history_result=0x7F +history_expression=168/12 +history_parse=168 ∕ 12 +history_result=14 +history_expression=2016 /12 +history_parse=2016 ∕ 12 +history_result=168 +history_expression=2018 /12 +history_parse=2018 ∕ 12 +history_result_approximate=168.16667 +history_expression=mod(2018, 12) +history_parse=mod(2018, 12) +history_result=2 +history_expression=2018mod12 +history_parse=2018 × mod(12) +history_error=You need at least 2 argument(s) (Numerator, Denominator) in function mod(). +history_result=0111 1110 0010 × mod(1100) +history_expression=0x3 +history_parse=3 +history_result=0011 +history_expression=0x03 +history_parse=3 +history_result=0011 +history_expression=0x20 +history_parse=32 +history_result=0010 0000 +history_expression=0xF1 +history_parse=241 +history_result=1111 0001 +recent_functions= +recent_variables= +recent_units=Cg,°V,oF,oC,Sz + +[Mode] +min_deci=0 +use_min_deci=0 +max_deci=2 +use_max_deci=0 +precision=8 +min_exp=-1 +negative_exponents=0 +sort_minus_last=1 +number_fraction_format=0 +use_prefixes=1 +use_prefixes_for_all_units=0 +use_prefixes_for_currencies=0 +abbreviate_names=1 +all_prefixes_enabled=0 +denominator_prefix_enabled=1 +place_units_separately=1 +auto_post_conversion=0 +mixed_units_conversion=3 +number_base=12 +number_base_expression=10 +read_precision=0 +assume_denominators_nonzero=1 +warn_about_denominators_assumed_nonzero=1 +structuring=1 +angle_unit=1 +functions_enabled=1 +variables_enabled=1 +calculate_functions=1 +calculate_variables=1 +sync_units=1 +unknownvariables_enabled=0 +units_enabled=1 +allow_complex=1 +allow_infinite=1 +indicate_infinite_series=0 +show_ending_zeroes=0 +round_halfway_to_even=0 +approximation=1 +in_rpn_mode=0 +rpn_syntax=0 +limit_implicit_multiplication=0 +parsing_mode=0 +spacious=1 +excessive_parenthesis=0 +short_multiplication=1 +default_assumption_type=4 +default_assumption_sign=0 + +[Plotting] +plot_legend_placement=2 +plot_style=0 +plot_smoothing=0 +plot_display_grid=1 +plot_full_border=0 +plot_min=0 +plot_max=10 +plot_step=1 +plot_sampling_rate=101 +plot_use_sampling_rate=1 +plot_variable=x +plot_rows=0 +plot_type=0 +plot_color=1 diff --git a/.config/qt5ct/colors/paper.conf b/.config/qt5ct/colors/paper.conf new file mode 100644 index 0000000000000000000000000000000000000000..9c822b60d8a8cbd8f22974d64da8a0a45233817b --- /dev/null +++ b/.config/qt5ct/colors/paper.conf @@ -0,0 +1,4 @@ +[ColorScheme] +active_colors=#ffffff, #424245, #979797, #5e5c5b, #302f2e, #4a4947, #ffffff, #ffffff, #ffffff, #3d3d3d, #222020, #e7e4e0, #12608a, #f9f9f9, #0986d3, #a70b06, #5c5b5a, #ffffff, #3f3f36, #ffffff +disabled_colors=#808080, #424245, #979797, #5e5c5b, #302f2e, #4a4947, #808080, #ffffff, #808080, #3d3d3d, #222020, #e7e4e0, #12608a, #808080, #0986d3, #a70b06, #5c5b5a, #ffffff, #3f3f36, #ffffff +inactive_colors=#ffffff, #424245, #979797, #5e5c5b, #302f2e, #4a4947, #ffffff, #ffffff, #ffffff, #3d3d3d, #222020, #e7e4e0, #12608a, #f9f9f9, #0986d3, #a70b06, #5c5b5a, #ffffff, #3f3f36, #ffffff diff --git a/.config/qt5ct/qt5ct.conf b/.config/qt5ct/qt5ct.conf new file mode 100644 index 0000000000000000000000000000000000000000..2cde98cb903ed259856c304a0c2ce92f6aada27f --- /dev/null +++ b/.config/qt5ct/qt5ct.conf @@ -0,0 +1,28 @@ +[Appearance] +color_scheme_path=/usr/share/qt5ct/colors/darker.conf +custom_palette=true +icon_theme=Papirus-Dark +standard_dialogs=gtk3 +style=Materia-Dark + +[Fonts] +fixed=@Variant(\0\0\0@\0\0\0\xe\0I\0o\0s\0\x65\0v\0k\0\x61@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) +general=@Variant(\0\0\0@\0\0\0\x12\0\x46\0i\0r\0\x61\0 \0S\0\x61\0n\0s@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) + +[Interface] +activate_item_on_single_click=1 +buttonbox_layout=3 +cursor_flash_time=1000 +dialog_buttons_have_icons=1 +double_click_interval=400 +gui_effects=@Invalid() +keyboard_scheme=2 +menus_have_icons=true +show_shortcuts_in_context_menus=true +stylesheets=@Invalid() +toolbutton_style=4 +underline_shortcut=1 +wheel_scroll_lines=3 + +[SettingsWindow] +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x3\xbe\0\0\x4\x37\0\0\0\0\0\0\0\0\0\0\x5\x39\0\0\x4)\0\0\0\0\x2\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\x3\xbe\0\0\x4\x37) diff --git a/.config/readline/inputrc b/.config/readline/inputrc new file mode 100644 index 0000000000000000000000000000000000000000..f1b4fccc86f669bf7a6f64f3ba7e619d36a90fbc --- /dev/null +++ b/.config/readline/inputrc @@ -0,0 +1,96 @@ +set editing-mode vi + +set bell-style none +set show-mode-in-prompt on + +set blink-matching-paren on +set colored-completion-prefix on +set colored-stats on +# set history-preserve-point on +set mark-symlinked-directories on +set show-all-if-ambiguous on +set show-all-if-unmodified on +set skip-completed-text on +# todo add background +set vi-ins-mode-string "+ " +set vi-cmd-mode-string "漣" + +set keymap vi-insert +"\e[A": history-search-backward +"\e[B": history-search-forward +#TAB: menu-complete +"\e[Z": menu-complete +"\e[H": beginning-of-line +"\e[F": end-of-line + +set keymap vi-command +"\C-a\C-xm": set-mark +"\C-a\C-xh": backward-char +"\C-a\C-xl": forward-char +"\C-a\C-xw": vi-forward-word +"\C-a\C-xW": vi-forward-bigword +"\C-a\C-xb": vi-backward-word +"\C-a\C-xB": vi-backward-bigword +"\C-a\C-xe": vi-end-word +"\C-a\C-xE": vi-end-bigword +"\C-a\C-xf": vi-char-search +"\C-a\C-xt": vi-char-search +"\C-a\C-xF": vi-char-search +"\C-a\C-xT": vi-char-search +"\C-a\C-x0": beginning-of-line +"\C-a\C-x$": end-of-line +"\C-a\C-xd": kill-region +"\C-a\C-xy": copy-region-as-kill + +"\e[A": history-search-backward +"\e[B": history-search-forward +#TAB: menu-complete +"\e[Z": menu-complete +"\e[H": beginning-of-line +"\e[F": end-of-line +"u": undo +"h": "\C-a\C-xm\C-a\C-xh" +"H": "\C-a\C-xh" +"\M-h": "\C-a\C-xm\C-a\C-x0" +"\M-H": "\C-a\C-x0" +"gh": "\C-a\C-x0\C-a\C-xm" +"Gh": "\C-a\C-x0" +"GH": "\C-a\C-x0" +"l": "\C-a\C-xm\C-a\C-xl" +"L": "\C-a\C-xl" +"gl": "\C-a\C-x$\C-a\C-xm" +"Gl": "\C-a\C-x$" +"GL": "\C-a\C-x$" +"\M-l": "\C-a\C-xm\C-a\C-x$" +"\M-L": "\C-a\C-x$" +"w": "\C-a\C-xm\C-a\C-xw" +"W": "\C-a\C-xw" +"\M-w": "\C-a\C-xm\C-a\C-xW" +"\M-W": "\C-a\C-xW" +"b": "\C-a\C-xm\C-a\C-xb" +"B": "\C-a\C-xb" +"\M-b": "\C-a\C-xm\C-a\C-xB" +"\M-B": "\C-a\C-xB" +"e": "\C-a\C-xm\C-a\C-xe" +"E": "\C-a\C-xE" +"\M-e": "\C-a\C-xm\C-a\C-xE" +"\M-E": "\C-a\C-xE" +"f": "\C-a\C-xm\C-a\C-xf" +"F": "\C-a\C-xf" +"\M-f": "\C-a\C-xm\C-a\C-xF" +"\M-F": "\C-a\C-xF" +"t": "\C-a\C-xm\C-a\C-xt" +"T": "\C-a\C-xt" +"\M-t": "\C-a\C-xm\C-a\C-xT" +"\M-T": "\C-a\C-xT" +"x": "\C-a\C-x0\C-a\C-xm\C-a\C-x$" +";": "\C-a\C-xm" +"\M-;": exchange-point-and-mark +"d": kill-region +"gg": beginning-of-history +"gk": beginning-of-history +"gj": end-of-history +"ge": end-of-history +"c": "\C-a\C-xdi" +"y": "\C-a\C-xy" +"P": "\C-a\C-xhp" diff --git a/.config/sh/aliases b/.config/sh/aliases index 343dbe6d8b9c65cb4b87e212af2744c45f3db945..3892619735092a8b0526cc58a9c8e55ed74ea74f 100644 --- a/.config/sh/aliases +++ b/.config/sh/aliases @@ -11,17 +11,17 @@ alias gpg="gpg2" alias calc="echo '' | fzf --bind 'change:reload(qalc {q})'" alias ag="ag -U" alias sshp='ssh -o PasswordAuthentication=yes -o PreferredAuthentications=keyboard-interactive,password -o PubkeyAuthentication=no' -#todo server -alias ide="kak -e 'edit-or-dir .'" # doas alias connmanctl="doas connmanctl" -alias android-studio="doas /usr/local/bin/android-studio" -alias glibc="doas /usr/local/bin/glibc" -alias thumb="doas ~/.local/bin/thumb" alias laptop_mode="doas laptop_mode" alias rfkill="doas rfkill" # alternatives alias make="echo 'using bmake…'; bmake -j 8 -B" alias Make="/usr/bin/make -j 8" + +# boxxy +alias gramps="boxxy -l none gramps" +alias ssh="boxxy -l none ssh" +alias scp="boxxy -l none scp" diff --git a/.config/sh/variables b/.config/sh/variables index 323dec06918fa74e0c3bebee4f883eb8ad9ffa3f..038401ad2ecd899c34be04cafecbc8cf19e06659 100644 --- a/.config/sh/variables +++ b/.config/sh/variables @@ -1,8 +1,11 @@ +export XDG_DATA_HOME=$HOME/.local/share +export XDG_CONFIG_HOME=$HOME/.config +export XDG_STATE_HOME=$HOME/.local/state +export XDG_CACHE_HOME=$HOME/.cache export _JAVA_AWT_WM_NONREPARENTING=1 export GTK_THEME=Materia:dark export EDITOR=hx export ANDROID_EMULATOR_USE_SYSTEM_LIBS=1 -export GOPATH=~/.go export XZ_OPT=--threads=0 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig export LD_LIBRARY_PATH=/usr/local/lib @@ -13,3 +16,15 @@ export ENV=~/.shrc export VIRTUAL_ENV_DISABLE_PROMPT=true export CC=clang export GOPROXY=direct +export CARGO_HOME=$XDG_DATA_HOME/cargo +export GOPATH=$XDG_STATE_HOME/go +export GNUPGHOME=$XDG_DATA_HOME/gnupg +export GTK2_RC_FILES=$XDG_CONFIG_HOME/gtk-2.0/gtkrc +export HISTFILE=$XDG_STATE_HOME/bash/history +export INPUTRC=$XDG_CONFIG_HOME/readline/inputrc +export LESSHISTFILE=$XDG_STATE_HOME/less/history +export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc +export PYTHONSTARTUP=$XDG_CONFIG_HOME/pythonrc +export SQLITE_HISTORY=$XDG_CACHE_HOME/sqlite_history +export W3M_DIR=$XDG_DATA_HOME/w3m +export XCURSOR_PATH=/usr/share/icons:$XDG_DATA_HOME/icons diff --git a/.config/sqlite3/sqliterc b/.config/sqlite3/sqliterc new file mode 100644 index 0000000000000000000000000000000000000000..e7db006cd6b16ceb5133cf624e355b4b8dd429e2 --- /dev/null +++ b/.config/sqlite3/sqliterc @@ -0,0 +1,4 @@ +.mode column +.headers on +.changes on +.nullvalue NULL diff --git a/.config/sway/sway_startup.sh b/.config/sway/sway_startup.sh index 6c90bc888326c340ba4d069c0d3c49ee9643341a..22efc5afcae057a8f519316c1087f71545ca8683 100755 --- a/.config/sway/sway_startup.sh +++ b/.config/sway/sway_startup.sh @@ -1,9 +1,9 @@ #!/bin/sh -. ~/.config/sh/variables -. ~/.config/sh/variables.wayland -. ~/.config/sh/aliases -. ~/.config/sh/functions +. "$HOME/.config/sh/variables" +. "$XDG_CONFIG_HOME/sh/variables.wayland" +. "$XDG_CONFIG_HOME/sh/aliases" +. "$XDG_CONFIG_HOME/sh/functions" # pgrep lock_listen || ~/.local/bin/lock_listen & pgrep battery_notify || ~/.local/bin/battery_notify & @@ -27,9 +27,9 @@ pgrep ssh-agent || (ssh-agent > /tmp/ssh-agent.sh && ssh-agent -c > /tmp/ssh-agent.fish) # swaymsg output HDMI-A-1 bg $(ls ~/Pictures/wallpapers/encrypt/ | sort -R | tail -1) fill -dbus-launch --sh-syntax > /tmp/dbus.sh -grep -v export /tmp/dbus.sh | sed 's/=/ /' | sed 's/^/set -gx /' > /tmp/dbus.fish -. /tmp/dbus.sh + dbus-launch --sh-syntax > /tmp/dbus.sh + grep -v export /tmp/dbus.sh | sed 's/=/ /' | sed 's/^/set -gx /' > /tmp/dbus.fish + . /tmp/dbus.sh pgrep mako || mako & @@ -39,10 +39,9 @@ swayidle -w \ timeout 600 'swaylock -f' \ resume 'swaymsg "output * dpms on"; ~/.local/bin/bar_all_once' \ - lock 'killall eeze-agent' \ before-sleep 'swaylock -f' & -mount | grep nextcloud || mount /media/nextcloud/me@cloud.apiote.xyz/ >/tmp/nextcloud.log 2>&1 & +# mount | grep nextcloud || mount /media/nextcloud/me@cloud.apiote.xyz/ >/tmp/nextcloud.log 2>&1 & while [ ! -e /tmp/swaybar/pipe ] do @@ -57,3 +56,5 @@ pipewire & pipewire-pulse & wireplumber & + +~/.local/bin/network_backup & diff --git a/.config/todoman/config.py b/.config/todoman/config.py new file mode 100644 index 0000000000000000000000000000000000000000..54653ed3e2d78f98abe015f391fff67be9c205cd --- /dev/null +++ b/.config/todoman/config.py @@ -0,0 +1,5 @@ +date_format = "%F" +time_format = "%R" +default_list = "Personal" +humanize = True +path = "~/.local/share/dav/calendars/*" diff --git a/.config/todoman/todoman.conf b/.config/todoman/todoman.conf deleted file mode 100644 index edcf55dd915d36db25d122fbf52a1055ccb9f3e9..0000000000000000000000000000000000000000 --- a/.config/todoman/todoman.conf +++ /dev/null @@ -1,6 +0,0 @@ -[main] -date_format = %F -time_format = %R -default_list = Personal -humanize = True -path = ~/.dav/calendars/* diff --git a/.config/transmission/settings.json b/.config/transmission/settings.json new file mode 100644 index 0000000000000000000000000000000000000000..55146afb739fc6563b4fb58178be8c889781eb9e --- /dev/null +++ b/.config/transmission/settings.json @@ -0,0 +1,132 @@ +{ + "alt-speed-down": 50, + "alt-speed-enabled": false, + "alt-speed-time-begin": 540, + "alt-speed-time-day": 127, + "alt-speed-time-enabled": false, + "alt-speed-time-end": 1020, + "alt-speed-up": 50, + "announce-ip": "", + "announce-ip-enabled": false, + "anti-brute-force-enabled": false, + "anti-brute-force-threshold": 100, + "bind-address-ipv4": "0.0.0.0", + "bind-address-ipv6": "::", + "blocklist-date": 0, + "blocklist-enabled": false, + "blocklist-updates-enabled": true, + "blocklist-url": "http://www.example.com/blocklist", + "cache-size-mb": 4, + "compact-view": false, + "default-trackers": "", + "details-window-height": 577, + "details-window-width": 700, + "dht-enabled": true, + "download-dir": "/home/adam/Videos", + "download-queue-enabled": true, + "download-queue-size": 5, + "encryption": 2, + "filter-mode": "show-all", + "filter-trackers": "", + "idle-seeding-limit": 30, + "idle-seeding-limit-enabled": false, + "incomplete-dir": "/home/adam/Downloads", + "incomplete-dir-enabled": false, + "inhibit-desktop-hibernation": false, + "lpd-enabled": false, + "main-window-height": 1056, + "main-window-is-maximized": 1, + "main-window-layout-order": "menu,toolbar,filter,list,statusbar", + "main-window-width": 1920, + "main-window-x": 0, + "main-window-y": 0, + "message-level": 2, + "open-dialog-dir": "/home/adam", + "peer-congestion-algorithm": "", + "peer-id-ttl-hours": 6, + "peer-limit-global": 200, + "peer-limit-per-torrent": 200, + "peer-port": 51413, + "peer-port-random-high": 65535, + "peer-port-random-low": 49152, + "peer-port-random-on-start": false, + "peer-socket-tos": "le", + "pex-enabled": true, + "port-forwarding-enabled": true, + "preallocation": 1, + "prefetch-enabled": true, + "prompt-before-exit": true, + "queue-stalled-enabled": true, + "queue-stalled-minutes": 30, + "ratio-limit": 0, + "ratio-limit-enabled": true, + "recent-download-dir-1": "/home/adam/Downloads", + "recent-download-dir-2": "/home/adam/Videos/Series/Outlander/S04", + "recent-download-dir-3": "/home/adam/Videos/Series/Love, Death and Robots", + "recent-download-dir-4": "/home/adam/Videos/Series/The Real O\u2019Neals", + "remote-session-enabled": false, + "remote-session-host": "localhost", + "remote-session-password": "", + "remote-session-port": 9091, + "remote-session-requres-authentication": false, + "remote-session-username": "", + "rename-partial-files": false, + "rpc-authentication-required": false, + "rpc-bind-address": "0.0.0.0", + "rpc-enabled": false, + "rpc-host-whitelist": "", + "rpc-host-whitelist-enabled": true, + "rpc-password": "{588fdef3bacfeed863cb8f05e66beb07ff168d8bKYvJdLwR", + "rpc-port": 9091, + "rpc-socket-mode": "0750", + "rpc-url": "/transmission/", + "rpc-username": "", + "rpc-whitelist": "127.0.0.1", + "rpc-whitelist-enabled": true, + "scrape-paused-torrents-enabled": true, + "script-torrent-added-enabled": false, + "script-torrent-added-filename": "", + "script-torrent-done-enabled": false, + "script-torrent-done-filename": "/home/adam", + "script-torrent-done-seeding-enabled": false, + "script-torrent-done-seeding-filename": "", + "seed-queue-enabled": false, + "seed-queue-size": 10, + "show-backup-trackers": false, + "show-extra-peer-details": false, + "show-filterbar": true, + "show-notification-area-icon": false, + "show-options-window": false, + "show-statusbar": true, + "show-toolbar": true, + "show-tracker-scrapes": true, + "sort-mode": "sort-by-queue", + "sort-reversed": false, + "speed-limit-down": 500, + "speed-limit-down-enabled": false, + "speed-limit-up": 0, + "speed-limit-up-enabled": true, + "start-added-torrents": true, + "start-minimized": false, + "statusbar-stats": "session-transfer", + "tcp-enabled": true, + "torrent-added-notification-enabled": true, + "torrent-added-verify-mode": "fast", + "torrent-complete-notification-enabled": true, + "torrent-complete-sound-command": [ + "canberra-gtk-play", + "-i", + "complete-download", + "-d", + "transmission torrent downloaded" + ], + "torrent-complete-sound-enabled": false, + "trash-can-enabled": true, + "trash-original-torrent-files": true, + "umask": "022", + "upload-slots-per-torrent": 14, + "user-has-given-informed-consent": true, + "utp-enabled": true, + "watch-dir": "/home/adam/Downloads", + "watch-dir-enabled": true +} diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs new file mode 100644 index 0000000000000000000000000000000000000000..b57ef1225ead600377ba4f81921eb9f7d432a636 --- /dev/null +++ b/.config/user-dirs.dirs @@ -0,0 +1,8 @@ +XDG_DESKTOP_DIR="$HOME/Desktop" +XDG_DOCUMENTS_DIR="$HOME/Documents" +XDG_DOWNLOAD_DIR="$HOME/Downloads" +XDG_MUSIC_DIR="$HOME/Music" +XDG_PICTURES_DIR="$HOME/Pictures" +XDG_PUBLICSHARE_DIR="$HOME/Public" +XDG_TEMPLATES_DIR="$HOME/Templates" +XDG_VIDEOS_DIR="$HOME/Videos" diff --git a/.config/vdirsyncer/config b/.config/vdirsyncer/config index b85c107b74df36e100ab25927908e28eb60a4fbb..5e3cbc97d10251c2e8fef7c2982ca2e1be7bb518 100644 --- a/.config/vdirsyncer/config +++ b/.config/vdirsyncer/config @@ -11,7 +11,7 @@ conflict_resolution = "b wins" [storage mycroft_calendars_local] type = "filesystem" -path = "~/.dav/calendars/" +path = "~/.local/share/dav/calendars/" fileext = ".ics" [storage mycroft_calendars_remote] @@ -28,7 +28,7 @@ collections = ["from a", "from b"] [storage mycroft_contacts_local] type = "filesystem" -path = "~/.dav/contacts/" +path = "~/.local/share/dav/contacts/" fileext = ".vcf" [storage mycroft_contacts_remote] diff --git a/.config/vdirsyncer/getpass.sh.nose b/.config/vdirsyncer/getpass.sh.nose deleted file mode 100644 index c7d7c685b464b7fad08f0f4f95c33127feedd5aa..0000000000000000000000000000000000000000 --- a/.config/vdirsyncer/getpass.sh.nose +++ /dev/null @@ -1 +0,0 @@ -x25519:1:C@BTY7:/# c+-YǨ+1%ߩN'Qz]"x/8 ζg W^is5;'uk \ No newline at end of file diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua index cf64a4f45bf08b2e25550d142201d66818afdb27..646259f46b3df20bede3472575c45bfbcaa84db0 100644 --- a/.config/wezterm/wezterm.lua +++ b/.config/wezterm/wezterm.lua @@ -6,7 +6,8 @@ return { default_prog = { '/usr/bin/fish', '-l' }, font = wezterm.font_with_fallback { "Iosevka", - "Noto Sans Symbols" + "Noto Sans Symbols", + "Unifont" }, check_for_updates = false, use_fancy_tab_bar = false, diff --git a/.config/wob/wob.ini b/.config/wob/wob.ini new file mode 100644 index 0000000000000000000000000000000000000000..1b1067b118398fbb9bc0ff9357c10b0412786b48 --- /dev/null +++ b/.config/wob/wob.ini @@ -0,0 +1 @@ +anchor = bottom diff --git a/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml new file mode 100644 index 0000000000000000000000000000000000000000..e0d8cf59e8e52b5167c2569fb9753fd924486134 --- /dev/null +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<channel name="thunar" version="1.0"> + <property name="last-view" type="string" value="ThunarIconView"/> + <property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_100_PERCENT"/> + <property name="last-window-maximized" type="bool" value="true"/> + <property name="last-separator-position" type="int" value="170"/> + <property name="misc-single-click" type="bool" value="false"/> + <property name="misc-directory-specific-settings" type="bool" value="false"/> + <property name="last-sort-column" type="string" value="THUNAR_COLUMN_NAME"/> + <property name="last-sort-order" type="string" value="GTK_SORT_ASCENDING"/> + <property name="misc-middle-click-in-tab" type="bool" value="true"/> +</channel> diff --git a/.davfs2/davfs2.conf b/.davfs2/davfs2.conf deleted file mode 100644 index 6236df6a2f714ca8989dd35c57aad3f8dc16a896..0000000000000000000000000000000000000000 --- a/.davfs2/davfs2.conf +++ /dev/null @@ -1,14 +0,0 @@ -# davfs2 configuration file 2014-08-10 -# version 12 -# ------------------------------------ - -# Copyright (C) 2006, 2007, 2008, 2009, 2012, 2013, 2014 Werner Baumann - -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. - -# WebDAV Related Options -# ---------------------- - -secrets /home/adam/.davfs2/secrets # user config file only diff --git a/.davfs2/secrets.nose b/.davfs2/secrets.nose deleted file mode 100644 index 2a9ae86b205cb4200e310164d15ceebf3d65b6aa..0000000000000000000000000000000000000000 Binary files a/.davfs2/secrets.nose and /dev/null differ diff --git a/.gitconfig b/.gitconfig deleted file mode 100644 index de37ee25702bcd754aee942ef762995984e3783e..0000000000000000000000000000000000000000 --- a/.gitconfig +++ /dev/null @@ -1,35 +0,0 @@ -[init] - defaultBranch = master -[user] - name = Adam Evyčędo - email = git@apiote.xyz - signingkey = D5299134F42642A72D740EEB5A8C74D1318B549B -[push] - default = simple - autoSetupRemote = true -[core] - editor = hx - autocrlf = input - excludesFile = ~/.config/git/ignore -[color] - ui = auto -[merge] - conflictstyle = diff3 - tool = env LOCAL="$LOCAL" BASE="$BASE" REMOTE="$REMOTE" MERGED="$MERGED" kakmerge -[mergetool] - prompt = false -[mergetool "kakmerge"] - cmd = kakmerge - trustExitCode = true -[gpg] - program = gpg2 -[pull] - rebase = true -[rerere] - enabled = true - autoupdate = true -[sendemail] - smtpserver = smtp.migadu.com - smtpuser = git@apiote.xyz - smtpencryption = ssl - smtpserverport = 465 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..bedddba3b0c5ccf10e86797a6361cd44abec7eba --- /dev/null +++ b/.gitignore @@ -0,0 +1,80 @@ +/Code +/Desktop +/Documents +/Downloads +/Music +/Pictures +/Public +/Templates +/Videos +/.cache +/.local/state +/.local/share/ssh +!/.local/share/ssh/config +/.config/GIMP +/.config/Thunar +/.config/aerc/accounts.conf +/.config/calibre +/.config/gedit +/.config/glib-2.0 +/.config/gmitohtml +/.config/gomuks +/.config/gonk/account +/.config/gtk-2.0/gtkfilechooser.ini +/.config/helix/runtime/grammars +/.config/htop +/.config/httpdirfs/config +/.config/hydroxide +/.config/inkscape +/.config/kdeglobals +/.config/keybase +/.config/pavucontrol.ini +/.config/pulse +/.config/qView +/.config/qalculate/qalc.history +/.config/qutebrowser +/.config/subtitleeditor +/.config/syncthing +/.config/todoman/__pycache__/ +/.config/transmission +!/.config/transmission/settings.json +/.config/tree-sitter +/.dbus +/.local/bin +# others in .local/bin +!/.local/bin/sudo +!/.local/bin/update-git +/.local/share/Anki +/.local/share/Trash +/.local/share/aerc/keyring.asc +/.local/share/aerc/keyring.lock +/.local/share/calibre-ebook.com +/.local/share/cargo +/.local/share/dav +/.local/share/eeze +/.local/share/fish +/.local/share/fonts +/.local/share/gedit +/.local/share/gnupg +!/.local/share/gnupg/gpg.conf +/.local/share/gomuks +/.local/share/gonk +/.local/share/gramps +/.local/share/keybase +/.local/share/khal +/.local/share/lf +/.local/share/luakit +/.local/share/mime +/.local/share/music +/.local/share/numen +/.local/share/pki +/.local/share/qalculate/eurofxref-daily.xml +/.local/share/qutebrowser +!/.local/share/qutebrowser/greasemonkey +/.local/share/recently-used.xbel +/.local/share/sigil-ebook +/.local/share/vdirsyncer +/.local/share/webkitgtk-4.0 +/.local/share/webkitgtk +/.local/share/zathura + diff --git a/.gnupg/gpg.conf b/.gnupg/gpg.conf deleted file mode 100644 index cdb3a7218aa6e834a285696bc5416ff7d9813433..0000000000000000000000000000000000000000 --- a/.gnupg/gpg.conf +++ /dev/null @@ -1 +0,0 @@ -keyserver keyserver.ubuntu.com diff --git a/.gtkrc-2.0 b/.gtkrc-2.0 deleted file mode 100644 index 4b5cb871212865152308e23ff3c7e09e371ef77f..0000000000000000000000000000000000000000 --- a/.gtkrc-2.0 +++ /dev/null @@ -1,11 +0,0 @@ -gtk-enable-animations=1 -gtk-primary-button-warps-slider=0 -gtk-toolbar-style=3 -gtk-menu-images=1 -gtk-button-images=1 -gtk-cursor-theme-size=24 -gtk-cursor-theme-name="Breeze_Amber" -gtk-theme-name="Materia-dark" -gtk-font-name="Fira Sans 11" -gtk-icon-theme-name="Papirus-dark" - diff --git a/.icons/default/index.theme b/.icons/default/index.theme deleted file mode 100644 index a8eeadcfb3063fce34e5533b11cfcb08180d7095..0000000000000000000000000000000000000000 --- a/.icons/default/index.theme +++ /dev/null @@ -1,2 +0,0 @@ -[icon theme] -Inherits=Breeze_Amber diff --git a/.local/bin/backup b/.local/bin/backup index 56496950e7af1e2f78bb8b71d20d7bbc20b59b56..c814b44fb09323e055154aac6ccda971d61402ba 100755 --- a/.local/bin/backup +++ b/.local/bin/backup @@ -74,7 +74,6 @@ fi case "$(hostname)" in Mycroft) - cp ~adam/Documents/Creatio/Diary/Archive/diary.epub "/media/usb/adam/H500/Mårran/My/diary$(date '+%Y%m%d').epub" cd / btrfs subvolume snapshot -r / "root_$(date '+%Y%m%d')" btrfs send root_* | btrfs receive /media/usb/adam/H500/ diff --git a/.local/bin/network_backup b/.local/bin/network_backup index 9ed70d3c4bfb6878f89dcbbf53f36693a2d30650..d5892752d6fad87f874852843a55733d14dff6ca 100755 --- a/.local/bin/network_backup +++ b/.local/bin/network_backup @@ -15,7 +15,7 @@ then return 0 fi - now=$(date '%+s') + now=$(date '+%s') then=$(cat ~/.cache/lastBackup) test $((now - then)) -gt 86400 @@ -36,7 +36,7 @@ shouldBackupNow && ( notify-send -i backup 'Running daily backup' backup daily notify-send -i backup 'Finished daily backup' - date '%+s' >~/.cache/lastBackup + date '+%s' >~/.cache/lastBackup ) fi diff --git a/.local/bin/sudo b/.local/bin/sudo new file mode 100755 index 0000000000000000000000000000000000000000..623de906410f72262a57546f485d0b2a258c6297 --- /dev/null +++ b/.local/bin/sudo @@ -0,0 +1,4 @@ +#!/bin/bash + +echo use doas! +exit 127 diff --git a/.local/bin/update-git b/.local/bin/update-git new file mode 100755 index 0000000000000000000000000000000000000000..271e8f1bb4ef9ba1987de2b10949914915bbffe2 --- /dev/null +++ b/.local/bin/update-git @@ -0,0 +1,95 @@ +#!/bin/sh + +set -e + +pkgs="$1" +if [ "$pkgs" = '' ] +then + echo package not specified + exit 1 +fi +if [ "$pkgs" = 'all' ] +then + pkgs='doh go-avif libasciidoc libavif qt-avif qview' +fi + +# todo git clone if not exists +cd ~/Code/dwd +for pkg in $pkgs +do + case "$pkg" in + 'doh') + cd ./dns-over-https/ + git checkout master + git reset --hard HEAD + git pull + /usr/bin/make binary + doas sv stop doh + doas cp doh-client/doh-client /usr/local/bin/ + doas chmod 755 /usr/local/bin/doh-client + doas sv start doh + /usr/bin/make clean + cd ../ + ;; + 'go-avif') + doas xbps-install libaom-devel + cd ./go-avif/ + git checkout master + git reset --hard HEAD + git pull + /usr/bin/bmake + doas cp ~/.go/bin/avif /usr/local/bin/ + doas chmod 755 /usr/local/bin/avif + cd ../ + ;; + 'libasciidoc') + doas xbps-install libdav1d-devel + cd ./libasciidoc/ + git checkout master + git reset --hard HEAD + git pull + export PATH="$HOME/.go/bin/:$PATH" + /usr/bin/make build + doas cp ./bin/libasciidoc /usr/local/bin/asciidoc + doas chmod 755 /usr/local/bin/asciidoc + cd ../ + ;; + 'libavif') + cd ./libavif/ + git checkout master + git reset --hard HEAD + git pull + mkdir -p build && cd build + cmake .. + make + doas make install + cd ../../ + ;; + 'qview') + xbps-install qt5-devel + cd ./qView/ + git tag | sort -n | tail -n1 | xargs git checkout + git reset --hard HEAD + git pull + /usr/bin/bmake + doas cp ./qview /usr/local/bin + doas chmod 755 /usr/local/bin/qview + cd ../ + ;; + 'qt-avif') + xbps-install extra-cmake-modules + cd ./qt-avif-image-plugin/ + git checkout master + git reset --hard HEAD + git pull + mkdir -p build && cd build + cmake .. + make + doas make install + [ -e /usr/lib/qt5/plugins/imageformats/libqavif.so ] || ln -s /usr/lib/plugins/imageformats/libqavif.so /usr/lib/qt5/plugins/imageformats/libqavif.so + cd ../../ + ;; + esac +done + +doas xbps-remove -R cargo cmake freetype-devel expat-devel fontconfig-devel libxcb-devel libssp-devel libaom-devel libdav1d-devel qt5-devel extra-cmake-modules diff --git a/.local/share/gnupg/gpg.conf b/.local/share/gnupg/gpg.conf new file mode 100644 index 0000000000000000000000000000000000000000..cdb3a7218aa6e834a285696bc5416ff7d9813433 --- /dev/null +++ b/.local/share/gnupg/gpg.conf @@ -0,0 +1 @@ +keyserver keyserver.ubuntu.com diff --git a/.local/share/icons/default/index.theme b/.local/share/icons/default/index.theme new file mode 100644 index 0000000000000000000000000000000000000000..a8eeadcfb3063fce34e5533b11cfcb08180d7095 --- /dev/null +++ b/.local/share/icons/default/index.theme @@ -0,0 +1,2 @@ +[icon theme] +Inherits=Breeze_Amber diff --git a/.local/share/qutebrowser/greasemonkey/redirect.js.bak b/.local/share/qutebrowser/greasemonkey/redirect.js.bak new file mode 100644 index 0000000000000000000000000000000000000000..bd3595791edabb64d084dcfb68d8e65e276b00ef --- /dev/null +++ b/.local/share/qutebrowser/greasemonkey/redirect.js.bak @@ -0,0 +1,107 @@ +// ==UserScript== +// @name Open-Source Alternative Redirector +// @namespace - +// @version 0.9.1 +// @description Redirects you from proprietary web-services to ethical alternatives(front-end). +// @author NotYou +// @include *youtube.com/* +// @include *google.com/* +// @include *yahoo.com/* +// @include *bing.com/* +// @include *reddit.com/* +// @include *twitter.com/* +// @include *wikipedia.org/* +// @include *medium.com/* +// @include *i.imgur.com/* +// @include *i.stack.imgur.com/* +// @include *odysee.com/* +// @include *tiktok.com/* +// @run-at document-start +// @license GPL-3.0-or-later +// @icon https://icons.iconarchive.com/icons/itweek/knob-toolbar/32/Knob-Shuffle-Off-icon.png +// @grant none +// ==/UserScript== + +var url = new URL(location.href), + +// INSTANCES // +invidious = 'yewtu.be', +searx = 'search.mdosch.de', +libreddit = 'leddit.xyz', +nitter = 'nitter.lacontrevoie.fr', +wikiless = 'wikiless.org', +lingva = 'lingva.ml', +scribe = 'scribe.rip', +rimgo = 'rimgo.pussthecat.org', +librarian = 'librarian.pussthecat.org', +proxitok = 'proxitok.herokuapp.com' + +// YouTube | Invidious // +if(location.host.indexOf('youtube.com') != -1){ + location.replace('https://' + invidious + location.pathname + location.search) +} + +if(location.host.includes('google.')){ + // Google Translate | Lingva Translate // + if(location.hostname.match(/translate.google.+/)){ + if(location.search === '') { + location.replace('https://' + lingva) + } else { + let + base = location.search.split('&'), + lang1 = base[0].split('=')[1], + lang2 = base[1].split('=')[1], + text = base[2].split('=')[1] + location.replace('https://' + lingva + '/' + lang1 + '/' + lang2 + '/' + text) + } + // Google | SearX // + } else if(location.host.match(/www.google.+/)) { + location.replace('https://' + searx + location.pathname + location.search) + } +} + +// Yahoo | SearX // +if(location.host.indexOf('yahoo.com') != -1){ + let search = location.search.replace('?p', '?q') + location.replace('https://' + searx + location.pathname + search) +} + +// Bing | SearX // +if(location.host.indexOf('bing.com') != -1){ + location.replace('https://' + searx + location.pathname + location.search) +} + +// Reddit | Libreddit // +if(location.host.indexOf('reddit.com') != -1){ + location.replace('https://' + libreddit + location.pathname + location.search) +} + +// Twitter | Nitter // +if(location.host.indexOf('twitter.com') != -1){ + location.replace('https://' + nitter + location.pathname + location.search) +} + +// Wikipedia | Wikiless // +if(location.host.indexOf('wikipedia.org') != -1){ + location.replace('https://' + wikiless + location.pathname + '?lang=' + url.hostname.split('.')[0]) +} + +// Medium | Scribe // +if(location.host.indexOf('medium.com') != -1){ + location.replace('https://' + scribe + location.pathname + location.search) +} + +// i.Imgur | Rimgo // +if(location.host.indexOf('i.imgur.com') != -1){ + location.replace('https://' + rimgo + location.pathname + location.search) +} + +// Odysee | Librarinan // +if(location.host.indexOf('odysee.com') != -1){ + location.replace('https://' + librarian + location.pathname + location.search) +} + +// TikTok | ProxiTok // +if(location.host.indexOf('tiktok.com') != -1||location.host.indexOf('www.tiktok.com') != -1){ + location.replace('https://' + proxitok + location.pathname + location.search) +} diff --git a/.local/share/ssh/config b/.local/share/ssh/config new file mode 100644 index 0000000000000000000000000000000000000000..bc51ad1b9bcd00260c39220f4a62dbabe243beac --- /dev/null +++ b/.local/share/ssh/config @@ -0,0 +1,72 @@ +# https://carlosbecker.dev/posts/ssh-tips-and-tricks/ -- ControlPersist, key forwarding + +Host * + AddKeysToAgent yes + +Host notabug.org + IdentityFile ~/.ssh/notabug +Host gitlab.com + IdentityFile ~/.ssh/gitlab +Host glados + IdentityFile ~/.ssh/glados +Host deepthought + User adam + IdentityFile ~/.ssh/deepthought +Host polluks.cs.put.poznan.pl + User inf122446 + IdentityFile ~/.ssh/polluks +Host apiote.xyz + User adam + IdentityFile ~/.ssh/deepthought + IdentityFile ~/.ssh/deepthought_backup + ProxyCommand /usr/bin/nc -x 127.0.0.1:10080 localhost 22 + ServerAliveInterval 30 + IdentitiesOnly yes +Host apiote-zapas + User adam + ProxyJump apiote@ssh-j.com + Hostname deepthought + IdentityFile ~/.ssh/deepthought + IdentityFile ~/.ssh/deepthought_backup + ServerAliveInterval 30 + IdentitiesOnly yes + +Host *.consdata.local + User root + IdentityFile ~/.ssh/consdata + PubkeyAcceptedAlgorithms +ssh-rsa + HostkeyAlgorithms +ssh-rsa +Host gitlab.centrala.bzwbk + IdentityFile ~/.ssh/santander +Host 172.19.10.140 + User root + IdentityFile ~/.ssh/consdata + PubkeyAcceptedAlgorithms +ssh-rsa + HostkeyAlgorithms +ssh-rsa +Host jenkins* + User root + IdentityFile ~/.ssh/consdata +Host hermes + User root + IdentityFile ~/.ssh/consdata +Host wiki + User root + IdentityFile ~/.ssh/consdata +Host jira + User root + IdentityFile ~/.ssh/consdata +Host backup-workstations + User adm_apioterek + IdentityFile ~/.ssh/consdata +Host router* + User adm_apioterek + IdentityFile ~/.ssh/consdata +Host storage-* + User adm_apioterek + IdentityFile ~/.ssh/consdata +Host files + User adm_apioterek + IdentityFile ~/.ssh/consdata +Host swagger + User root + IdentityFile ~/.ssh/consdata diff --git a/.local/share/termux/colors.properties b/.local/share/termux/colors.properties new file mode 100644 index 0000000000000000000000000000000000000000..a0972992484f50ef2b248e1857dae51912c65c9b --- /dev/null +++ b/.local/share/termux/colors.properties @@ -0,0 +1,21 @@ +foreground=#c9ad53 +background=#2a1f1d +cursor=#9b6c4a + +color0=#573d26 +color1=#be2d26 +color2=#6ba18a +color3=#e99d2a +color4=#5a86ad +color5=#ac80a6 +color6=#74a6ad +color7=#e0dbb7 + +color8=#9b6c4a +color9=#e84627 +color10=#95d8ba +color11=#d0d150 +color12=#b8d3ed +color13=#d19ecb +color14=#93cfd7 +color15=#fff9d5 diff --git a/.local/share/termux/font.ttf b/.local/share/termux/font.ttf new file mode 100644 index 0000000000000000000000000000000000000000..cfa8bf4ab4ddee14f4e9078d252d49b7e23fbe02 Binary files /dev/null and b/.local/share/termux/font.ttf differ diff --git a/.local/share/termux/termux.properties b/.local/share/termux/termux.properties new file mode 100644 index 0000000000000000000000000000000000000000..cc187286eb6919812c93dc5422978cb8e8ed7628 --- /dev/null +++ b/.local/share/termux/termux.properties @@ -0,0 +1,4 @@ +extra-keys-style = none +shortcut.create-session = ctrl + t +shortcut.next-session = ctrl + 2 +shortcut.previous-session = ctrl + 1 diff --git a/.profile b/.profile index d9d310d604faece15cc018b8b2f3a5415d1e914a..75a5374c2c052ebe5ded96255d2d217f4504ad8b 100644 --- a/.profile +++ b/.profile @@ -1,27 +1,12 @@ #!/bin/sh +. "$HOME/.config/sh/variables" +. "$XDG_CONFIG_HOME/sh/variables.$(hostname)" if [ "$WAYLAND_DISPLAY" != "" ] then - . ~/.config/sh/variables.wayland + . "$XDG_CONFIG_HOME/sh/variables.wayland" fi -. "$HOME/.config/sh/variables.$(hostname)" -. ~/.config/sh/variables if [ "$(tty)" = "/dev/tty1" ] && command -v sway >/dev/null 2>&1 then sway fi - -if [ $(hostname) = 'L100' ] -then - export NVM_DIR="$HOME/.nvm" - [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm - export PATH="$PATH:$HOME/.rvm/bin" - [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* - . "$HOME/.cargo/env" - - - # Added by Toolbox App - export PATH="$PATH:/home/users/apioterek/.local/share/JetBrains/Toolbox/scripts" -fi - -ssh-agent -c > /tmp/ssh-agent.fish diff --git a/.shrc b/.shrc deleted file mode 100644 index db9fa4a27fc6bc536019c9c7fd806bf550006874..0000000000000000000000000000000000000000 --- a/.shrc +++ /dev/null @@ -1,40 +0,0 @@ -stty ixany - -set -m - -. ~/.config/sh/variables -. ~/.config/sh/functions -. ~/.config/sh/aliases - -if [ -f '/tmp/ssh-agent.sh' ] -then - . /tmp/ssh-agent.sh >/dev/null -fi - -if [ -f '/tmp/dbus.sh' ] -then - . /tmp/dbus.sh >/dev/null -fi - -if [ "$(whoami)" = "adam" ] -then - umask 077 - entries=$(ls ~/Documents/Creatio/Diary/Current -1 | wc -l) - if [ "$entries" -ge 7 ] - then - echo "There are $entries entries" - fi -fi - -diff /usr/share/X11/xkb/symbols/pl /usr/share/X11/xkb/symbols/pl.new >/dev/null -if [ $? -eq 1 ] -then - echo 'kbd symbols differ' -fi - -PS1="\$(makePS1)" -PS2="\$(makePS2)" - -umask 077 - -# todo PS2 diff --git a/.sqliterc b/.sqliterc deleted file mode 100644 index e7db006cd6b16ceb5133cf624e355b4b8dd429e2..0000000000000000000000000000000000000000 --- a/.sqliterc +++ /dev/null @@ -1,4 +0,0 @@ -.mode column -.headers on -.changes on -.nullvalue NULL diff --git a/.ssh/config b/.ssh/config deleted file mode 100644 index bc51ad1b9bcd00260c39220f4a62dbabe243beac..0000000000000000000000000000000000000000 --- a/.ssh/config +++ /dev/null @@ -1,72 +0,0 @@ -# https://carlosbecker.dev/posts/ssh-tips-and-tricks/ -- ControlPersist, key forwarding - -Host * - AddKeysToAgent yes - -Host notabug.org - IdentityFile ~/.ssh/notabug -Host gitlab.com - IdentityFile ~/.ssh/gitlab -Host glados - IdentityFile ~/.ssh/glados -Host deepthought - User adam - IdentityFile ~/.ssh/deepthought -Host polluks.cs.put.poznan.pl - User inf122446 - IdentityFile ~/.ssh/polluks -Host apiote.xyz - User adam - IdentityFile ~/.ssh/deepthought - IdentityFile ~/.ssh/deepthought_backup - ProxyCommand /usr/bin/nc -x 127.0.0.1:10080 localhost 22 - ServerAliveInterval 30 - IdentitiesOnly yes -Host apiote-zapas - User adam - ProxyJump apiote@ssh-j.com - Hostname deepthought - IdentityFile ~/.ssh/deepthought - IdentityFile ~/.ssh/deepthought_backup - ServerAliveInterval 30 - IdentitiesOnly yes - -Host *.consdata.local - User root - IdentityFile ~/.ssh/consdata - PubkeyAcceptedAlgorithms +ssh-rsa - HostkeyAlgorithms +ssh-rsa -Host gitlab.centrala.bzwbk - IdentityFile ~/.ssh/santander -Host 172.19.10.140 - User root - IdentityFile ~/.ssh/consdata - PubkeyAcceptedAlgorithms +ssh-rsa - HostkeyAlgorithms +ssh-rsa -Host jenkins* - User root - IdentityFile ~/.ssh/consdata -Host hermes - User root - IdentityFile ~/.ssh/consdata -Host wiki - User root - IdentityFile ~/.ssh/consdata -Host jira - User root - IdentityFile ~/.ssh/consdata -Host backup-workstations - User adm_apioterek - IdentityFile ~/.ssh/consdata -Host router* - User adm_apioterek - IdentityFile ~/.ssh/consdata -Host storage-* - User adm_apioterek - IdentityFile ~/.ssh/consdata -Host files - User adm_apioterek - IdentityFile ~/.ssh/consdata -Host swagger - User root - IdentityFile ~/.ssh/consdata diff --git a/.termux/colors.properties b/.termux/colors.properties deleted file mode 100644 index a0972992484f50ef2b248e1857dae51912c65c9b..0000000000000000000000000000000000000000 --- a/.termux/colors.properties +++ /dev/null @@ -1,21 +0,0 @@ -foreground=#c9ad53 -background=#2a1f1d -cursor=#9b6c4a - -color0=#573d26 -color1=#be2d26 -color2=#6ba18a -color3=#e99d2a -color4=#5a86ad -color5=#ac80a6 -color6=#74a6ad -color7=#e0dbb7 - -color8=#9b6c4a -color9=#e84627 -color10=#95d8ba -color11=#d0d150 -color12=#b8d3ed -color13=#d19ecb -color14=#93cfd7 -color15=#fff9d5 diff --git a/.termux/font.ttf b/.termux/font.ttf deleted file mode 100644 index cfa8bf4ab4ddee14f4e9078d252d49b7e23fbe02..0000000000000000000000000000000000000000 Binary files a/.termux/font.ttf and /dev/null differ diff --git a/.termux/termux.properties b/.termux/termux.properties deleted file mode 100644 index cc187286eb6919812c93dc5422978cb8e8ed7628..0000000000000000000000000000000000000000 --- a/.termux/termux.properties +++ /dev/null @@ -1,4 +0,0 @@ -extra-keys-style = none -shortcut.create-session = ctrl + t -shortcut.next-session = ctrl + 2 -shortcut.previous-session = ctrl + 1