From ce8ee58b9788f22accf7bbc6e6118cdba0f95c6a Mon Sep 17 00:00:00 2001 From: Flinner Yuu Date: Fri, 31 Mar 2023 13:23:01 +0300 Subject: [PATCH] feat: little changes not worth a comment --- bin/bin/run_goimapnotify.sh | 2 +- htop/.config/htop/htoprc | 46 ++++++++++++---------- mpv/.config/mpv/mpv.conf | 4 ++ mpv/.config/mpv/script-opts/subs2srs.conf | 2 +- polybar/.config/polybar/forest/modules.ini | 6 ++- yt-dlp/.config/yt-dlp/config | 2 +- zathura/.config/zathura/zathurarc | 1 + zsh/.zshrc | 12 ++++++ 8 files changed, 49 insertions(+), 26 deletions(-) diff --git a/bin/bin/run_goimapnotify.sh b/bin/bin/run_goimapnotify.sh index 222e7f6..6113aa0 100755 --- a/bin/bin/run_goimapnotify.sh +++ b/bin/bin/run_goimapnotify.sh @@ -1,6 +1,6 @@ #!/bin/sh -for imapnotify_config in ~/Documents/passwords/*_imapnotify.json; do +for imapnotify_config in ~/Documents/Passwords/*_imapnotify.json; do LOG_FILE=$(sed 's#/#_#g' <<< "$imapnotify_config" ) # sleep for internet to get ready lol (sleep 60 && goimapnotify -conf "$imapnotify_config" &> ~/.cache/"$LOG_FILE") & diff --git a/htop/.config/htop/htoprc b/htop/.config/htop/htoprc index 6a809e4..53ad164 100644 --- a/htop/.config/htop/htoprc +++ b/htop/.config/htop/htoprc @@ -1,15 +1,17 @@ # Beware! This file is rewritten by htop when settings are changed in the interface. # The parser is also very primitive, and not human-friendly. -htop_version=3.2.1 +htop_version=3.2.2 config_reader_min_version=3 fields=0 48 17 18 38 39 40 2 46 47 49 1 hide_kernel_threads=1 hide_userland_threads=1 +hide_running_in_container=0 shadow_other_users=0 show_thread_names=0 -show_program_path=0 -highlight_base_name=1 +show_program_path=1 +highlight_base_name=0 highlight_deleted_exe=1 +shadow_distribution_path_prefix=0 highlight_megabytes=1 highlight_threads=1 highlight_changes=0 @@ -18,39 +20,41 @@ find_comm_in_cmdline=1 strip_exe_from_cmdline=1 show_merged_command=1 header_margin=1 -screen_tabs=1 +screen_tabs=0 detailed_cpu_time=0 -cpu_count_from_one=1 +cpu_count_from_one=0 show_cpu_usage=1 show_cpu_frequency=0 +show_cpu_temperature=0 +degree_fahrenheit=0 update_process_names=0 account_guest_in_cpu_meter=0 color_scheme=0 enable_mouse=1 -delay=20 +delay=15 hide_function_bar=0 header_layout=two_50_50 -column_meters_0=LeftCPUs2 CPU Battery Blank Blank Blank Memory NetworkIO DiskIO -column_meter_modes_0=1 1 1 2 2 2 3 4 4 -column_meters_1=RightCPUs2 Memory Zram Swap Blank Blank Blank LoadAverage Uptime Tasks -column_meter_modes_1=1 1 1 1 2 2 2 3 4 4 +column_meters_0=LeftCPUs2 Memory Swap Clock NetworkIO +column_meter_modes_0=1 1 1 4 3 +column_meters_1=RightCPUs2 Tasks LoadAverage Uptime DiskIO +column_meter_modes_1=1 2 2 4 3 tree_view=0 -sort_key=46 -tree_sort_key=46 +sort_key=47 +tree_sort_key=0 sort_direction=-1 tree_sort_direction=1 tree_view_always_by_pid=0 all_branches_collapsed=0 screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command -.sort_key=PERCENT_CPU -.tree_sort_key=PERCENT_CPU -.tree_view=0 -.tree_view_always_by_pid=0 -.sort_direction=-1 -.tree_sort_direction=1 -.all_branches_collapsed=0 -screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command -.sort_key=IO_WRITE_RATE +.sort_key=PERCENT_MEM +.tree_sort_key=PID +.tree_view=0 +.tree_view_always_by_pid=0 +.sort_direction=-1 +.tree_sort_direction=1 +.all_branches_collapsed=0 +screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command +.sort_key=IO_RATE .tree_sort_key=PID .tree_view=0 .tree_view_always_by_pid=0 diff --git a/mpv/.config/mpv/mpv.conf b/mpv/.config/mpv/mpv.conf index 199c96d..a822dd2 100644 --- a/mpv/.config/mpv/mpv.conf +++ b/mpv/.config/mpv/mpv.conf @@ -1,5 +1,6 @@ sub-file-paths=ass:srt:sub:Sub:subs:Subs:subtitles:Subtitles sub-auto=fuzzy +alang=jpn screenshot-format=png screenshot-high-bit-depth=yes @@ -10,3 +11,6 @@ screenshot-directory="~/Pictures/screenshots" screenshot-template="%f-%wH.%wM.%wS.%wT-#%#00n" force-window=immediate hwdec=auto + +script-opts-append=ytdl_hook-ytdl_path=yt-dlp + diff --git a/mpv/.config/mpv/script-opts/subs2srs.conf b/mpv/.config/mpv/script-opts/subs2srs.conf index 81a37fd..895be10 100644 --- a/mpv/.config/mpv/script-opts/subs2srs.conf +++ b/mpv/.config/mpv/script-opts/subs2srs.conf @@ -3,7 +3,7 @@ #################### # Anki deck for new cards. Subdecks are supported. -deck_name=Japanese::Mining +deck_name=all::Japanese::Mining # Model names are listed in `Tools -> Manage note types` menu in Anki. model_name=animecards diff --git a/polybar/.config/polybar/forest/modules.ini b/polybar/.config/polybar/forest/modules.ini index 27caf4f..403267e 100644 --- a/polybar/.config/polybar/forest/modules.ini +++ b/polybar/.config/polybar/forest/modules.ini @@ -756,12 +756,14 @@ interface = eth0 [module/wireless-network] type = internal/network -interface = wlan0 +;interface = wlan0 +interface = wlp8s0 ; Normal Module [module/network] type = internal/network -interface = wlan0 +;interface = wlan0 +interface = wlp8s0 ; Seconds to sleep between updates ; Default: 1 diff --git a/yt-dlp/.config/yt-dlp/config b/yt-dlp/.config/yt-dlp/config index bfc587b..fca45f5 100644 --- a/yt-dlp/.config/yt-dlp/config +++ b/yt-dlp/.config/yt-dlp/config @@ -3,5 +3,5 @@ #--write-subs --embed-subs --write-auto-subs ---sub-langs "en.*" +#--sub-langs "en.*,ja.*" diff --git a/zathura/.config/zathura/zathurarc b/zathura/.config/zathura/zathurarc index 9964e50..61e2470 100644 --- a/zathura/.config/zathura/zathurarc +++ b/zathura/.config/zathura/zathurarc @@ -7,6 +7,7 @@ set selection-clipboard clipboard map u scroll half-up map d scroll half-down map D toggle_page_mode +# or set first-page-column 1:1 OR 1:2 map r reload map R rotate map K zoom in diff --git a/zsh/.zshrc b/zsh/.zshrc index 51e0e33..fb850bf 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -62,6 +62,10 @@ zplugin ice wait'0' lucid zinit load agkozak/zsh-z +zplugin ice wait'5' lucid +zplugin load chisui/zsh-nix-shell + + #zplugin ice wait'1' lucid #zplugin load marlonrichert/zsh-autocomplete @@ -187,6 +191,7 @@ alias sudo='sudo ' alias fm='ranger' alias fm.='. ranger' +alias books="fm ~/Nextcloud/Books" alias ll='ls -alF' alias la='ls -A' @@ -209,6 +214,7 @@ alias ip='ip --color=auto' alias ytfzfd='YTFZF_PLAYER="youtube-dl --embed-subs --write-sub --sub-lang en" ytfzf' alias cargo-doc-server="python -m http.server -d target/doc/ -b 127.0.0.1" +alias startx="exec startx" #=============================================================================================== @@ -275,6 +281,12 @@ export LESS_TERMCAP_so=$(printf '\e[01;33m') # enter standout mode - yellow export LESS_TERMCAP_ue=$(printf '\e[0m') # leave underline mode export LESS_TERMCAP_us=$(printf '\e[04;36m') # enter underline mode - cyan +# fcitx (japanese) +GTK_IM_MODULE='fcitx' +QT_IM_MODULE='fcitx' +SDL_IM_MODULE='fcitx' +XMODIFIERS='@im=fcitx' + #=============================================================================================== # Load the pure theme, with zsh-async library that's bundled with it