feat: little changes not worth a comment

This commit is contained in:
Flinner Yuu 2023-03-31 13:23:01 +03:00
parent 39abcc64e4
commit ce8ee58b97
Signed by: flinner
GPG Key ID: 95CE0DA7F0E58CA6
8 changed files with 49 additions and 26 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/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" ) LOG_FILE=$(sed 's#/#_#g' <<< "$imapnotify_config" )
# sleep for internet to get ready lol # sleep for internet to get ready lol
(sleep 60 && goimapnotify -conf "$imapnotify_config" &> ~/.cache/"$LOG_FILE") & (sleep 60 && goimapnotify -conf "$imapnotify_config" &> ~/.cache/"$LOG_FILE") &

View File

@ -1,15 +1,17 @@
# Beware! This file is rewritten by htop when settings are changed in the interface. # Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly. # 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 config_reader_min_version=3
fields=0 48 17 18 38 39 40 2 46 47 49 1 fields=0 48 17 18 38 39 40 2 46 47 49 1
hide_kernel_threads=1 hide_kernel_threads=1
hide_userland_threads=1 hide_userland_threads=1
hide_running_in_container=0
shadow_other_users=0 shadow_other_users=0
show_thread_names=0 show_thread_names=0
show_program_path=0 show_program_path=1
highlight_base_name=1 highlight_base_name=0
highlight_deleted_exe=1 highlight_deleted_exe=1
shadow_distribution_path_prefix=0
highlight_megabytes=1 highlight_megabytes=1
highlight_threads=1 highlight_threads=1
highlight_changes=0 highlight_changes=0
@ -18,39 +20,41 @@ find_comm_in_cmdline=1
strip_exe_from_cmdline=1 strip_exe_from_cmdline=1
show_merged_command=1 show_merged_command=1
header_margin=1 header_margin=1
screen_tabs=1 screen_tabs=0
detailed_cpu_time=0 detailed_cpu_time=0
cpu_count_from_one=1 cpu_count_from_one=0
show_cpu_usage=1 show_cpu_usage=1
show_cpu_frequency=0 show_cpu_frequency=0
show_cpu_temperature=0
degree_fahrenheit=0
update_process_names=0 update_process_names=0
account_guest_in_cpu_meter=0 account_guest_in_cpu_meter=0
color_scheme=0 color_scheme=0
enable_mouse=1 enable_mouse=1
delay=20 delay=15
hide_function_bar=0 hide_function_bar=0
header_layout=two_50_50 header_layout=two_50_50
column_meters_0=LeftCPUs2 CPU Battery Blank Blank Blank Memory NetworkIO DiskIO column_meters_0=LeftCPUs2 Memory Swap Clock NetworkIO
column_meter_modes_0=1 1 1 2 2 2 3 4 4 column_meter_modes_0=1 1 1 4 3
column_meters_1=RightCPUs2 Memory Zram Swap Blank Blank Blank LoadAverage Uptime Tasks column_meters_1=RightCPUs2 Tasks LoadAverage Uptime DiskIO
column_meter_modes_1=1 1 1 1 2 2 2 3 4 4 column_meter_modes_1=1 2 2 4 3
tree_view=0 tree_view=0
sort_key=46 sort_key=47
tree_sort_key=46 tree_sort_key=0
sort_direction=-1 sort_direction=-1
tree_sort_direction=1 tree_sort_direction=1
tree_view_always_by_pid=0 tree_view_always_by_pid=0
all_branches_collapsed=0 all_branches_collapsed=0
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
.sort_key=PERCENT_CPU .sort_key=PERCENT_MEM
.tree_sort_key=PERCENT_CPU .tree_sort_key=PID
.tree_view=0 .tree_view=0
.tree_view_always_by_pid=0 .tree_view_always_by_pid=0
.sort_direction=-1 .sort_direction=-1
.tree_sort_direction=1 .tree_sort_direction=1
.all_branches_collapsed=0 .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 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=IO_RATE
.tree_sort_key=PID .tree_sort_key=PID
.tree_view=0 .tree_view=0
.tree_view_always_by_pid=0 .tree_view_always_by_pid=0

View File

@ -1,5 +1,6 @@
sub-file-paths=ass:srt:sub:Sub:subs:Subs:subtitles:Subtitles sub-file-paths=ass:srt:sub:Sub:subs:Subs:subtitles:Subtitles
sub-auto=fuzzy sub-auto=fuzzy
alang=jpn
screenshot-format=png screenshot-format=png
screenshot-high-bit-depth=yes screenshot-high-bit-depth=yes
@ -10,3 +11,6 @@ screenshot-directory="~/Pictures/screenshots"
screenshot-template="%f-%wH.%wM.%wS.%wT-#%#00n" screenshot-template="%f-%wH.%wM.%wS.%wT-#%#00n"
force-window=immediate force-window=immediate
hwdec=auto hwdec=auto
script-opts-append=ytdl_hook-ytdl_path=yt-dlp

View File

@ -3,7 +3,7 @@
#################### ####################
# Anki deck for new cards. Subdecks are supported. # 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 names are listed in `Tools -> Manage note types` menu in Anki.
model_name=animecards model_name=animecards

View File

@ -756,12 +756,14 @@ interface = eth0
[module/wireless-network] [module/wireless-network]
type = internal/network type = internal/network
interface = wlan0 ;interface = wlan0
interface = wlp8s0
; Normal Module ; Normal Module
[module/network] [module/network]
type = internal/network type = internal/network
interface = wlan0 ;interface = wlan0
interface = wlp8s0
; Seconds to sleep between updates ; Seconds to sleep between updates
; Default: 1 ; Default: 1

View File

@ -3,5 +3,5 @@
#--write-subs #--write-subs
--embed-subs --embed-subs
--write-auto-subs --write-auto-subs
--sub-langs "en.*" #--sub-langs "en.*,ja.*"

View File

@ -7,6 +7,7 @@ set selection-clipboard clipboard
map u scroll half-up map u scroll half-up
map d scroll half-down map d scroll half-down
map D toggle_page_mode map D toggle_page_mode
# or set first-page-column 1:1 OR 1:2
map r reload map r reload
map R rotate map R rotate
map K zoom in map K zoom in

View File

@ -62,6 +62,10 @@ zplugin ice wait'0' lucid
zinit load agkozak/zsh-z zinit load agkozak/zsh-z
zplugin ice wait'5' lucid
zplugin load chisui/zsh-nix-shell
#zplugin ice wait'1' lucid #zplugin ice wait'1' lucid
#zplugin load marlonrichert/zsh-autocomplete #zplugin load marlonrichert/zsh-autocomplete
@ -187,6 +191,7 @@ alias sudo='sudo '
alias fm='ranger' alias fm='ranger'
alias fm.='. ranger' alias fm.='. ranger'
alias books="fm ~/Nextcloud/Books"
alias ll='ls -alF' alias ll='ls -alF'
alias la='ls -A' 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 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 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_ue=$(printf '\e[0m') # leave underline mode
export LESS_TERMCAP_us=$(printf '\e[04;36m') # enter underline mode - cyan 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 # Load the pure theme, with zsh-async library that's bundled with it