1
0
Fork 0
This commit is contained in:
Vladimír Dudr 2022-10-04 12:41:51 +02:00
parent ae763be668
commit 346b814105
6 changed files with 18 additions and 11 deletions

View file

@ -32,7 +32,7 @@
[diff] [diff]
algorithm = patience algorithm = patience
external = difft external = difft
[sendemail] [sendemail]
smtpserver = /usr/bin/msmtp smtpserver = /usr/bin/msmtp

View file

@ -1,6 +1,11 @@
#!/bin/bash #!/bin/bash
hc() { herbstclient "$@" ;} hc() {
t="$EPOCHREALTIME"
herbstclient "$@"
t2="$EPOCHREALTIME"
echo "hc: $( bc<<<"$t2 - $t")" >&2
}
panel_height=18 panel_height=18
# bgcolor=$(hc get frame_border_normal_color) # bgcolor=$(hc get frame_border_normal_color)
# selbg=$(hc get window_border_active_color) # selbg=$(hc get window_border_active_color)
@ -160,7 +165,7 @@ hc --idle | {
;; ;;
player) player)
# declare -A player_status # declare -A player_status
if [[ "${cmd[1]}" = cmus ]] if [[ "${cmd[1]}" = cmus ]] || [[ "${cmd[1]}" = mpd ]]
then then
play_line=" ${cmd[3]:0:20}/${cmd[4]:0:20}" play_line=" ${cmd[3]:0:20}/${cmd[4]:0:20}"
[[ -n ${cmd[5]} ]] && play_line="$play_line: ${cmd[5]:0:20}" [[ -n ${cmd[5]} ]] && play_line="$play_line: ${cmd[5]:0:20}"

View file

@ -18,7 +18,7 @@ function M.setup()
close_if_last_window = false, -- Close Neo-tree if it is the last window left in the tab close_if_last_window = false, -- Close Neo-tree if it is the last window left in the tab
popup_border_style = "rounded", popup_border_style = "rounded",
enable_git_status = true, enable_git_status = true,
enable_diagnostics = true, enable_diagnostics = false,
sort_case_insensitive = false, -- used when sorting files and directories in the tree sort_case_insensitive = false, -- used when sorting files and directories in the tree
sort_function = nil, -- use a custom function for sorting files and directories in the tree sort_function = nil, -- use a custom function for sorting files and directories in the tree
-- sort_function = function (a,b) -- sort_function = function (a,b)
@ -176,7 +176,7 @@ function M.setup()
["<bs>"] = "navigate_up", ["<bs>"] = "navigate_up",
["."] = "set_root", ["."] = "set_root",
["H"] = "toggle_hidden", ["H"] = "toggle_hidden",
["/"] = "fuzzy_finder", ["/"] = "noop",
["D"] = "fuzzy_finder_directory", ["D"] = "fuzzy_finder_directory",
["f"] = "filter_on_submit", ["f"] = "filter_on_submit",
["<c-x>"] = "clear_filter", ["<c-x>"] = "clear_filter",

View file

@ -13,6 +13,7 @@ CombinedUpgrade
#CleanAfter #CleanAfter
#UpgradeMenu #UpgradeMenu
NewsOnUpgrade NewsOnUpgrade
BatchInstall
LocalRepo = paru LocalRepo = paru
Chroot Chroot
@ -23,7 +24,8 @@ Chroot
# #
# Binary OPTIONS # Binary OPTIONS
# #
#[bin] [bin]
#FileManager = vifm #FileManager = vifm
#MFlags = --skippgpcheck #MFlags = --skippgpcheck
#Sudo = doas #Sudo = doas
Pager=less

View file

@ -1,5 +1,5 @@
[global] [global]
error_log = /proc/self/fd/2 error_log = /tmp/php72.log
daemonize = no daemonize = no
[www] [www]
@ -13,7 +13,7 @@ pm.max_spare_servers = 3
pm.status_path = /fpm-status pm.status_path = /fpm-status
access.log = /proc/self/fd/2 access.log = /tmp/php72.access.log
access.format = "%R - %u %t \"%m %r\" %s %d" access.format = "%R - %u %t \"%m %r\" %s %d"
request_terminate_timeout = 0 request_terminate_timeout = 0
@ -22,5 +22,5 @@ catch_workers_output = yes
php_admin_value[error_log] = /dev/stderr php_admin_value[error_log] = /dev/stderr
;php_admin_flag[log_errors] = on ;php_admin_flag[log_errors] = on
;php_admin_value[memory_limit] = 32M ;php_admin_value[memory_limit] = 32M
php_admin_value[sendmail_path] = {{.chezmoi.homeDir}}/bin/pipemail php_admin_value[sendmail_path] = {{ .chezmoi.homeDir }}/bin/pipemail
php_admin_value[sys_temp_dir] = {{.chezmoi.homeDir}}/jopixel/webserver/temp php_admin_value[sys_temp_dir] = {{ .chezmoi.homeDir }}/jopixel/webserver/temp

View file

@ -57,7 +57,7 @@ source $ZSH/oh-my-zsh.sh
# User configuration # User configuration
export GOPATH=~/go export GOPATH=~/go
export PATH=$PATH:~/bin:~/.cargo/bin:$GOPATH/bin export PATH=~/bin:~/.cargo/bin:$GOPATH/bin:$PATH
#export MANPAGER="bat -p -l manpage" #export MANPAGER="bat -p -l manpage"
export MANPAGER="sh -c 'col -bx | bat -l man -p'" export MANPAGER="sh -c 'col -bx | bat -l man -p'"
# export MANPATH="/usr/local/man:$MANPATH" # export MANPATH="/usr/local/man:$MANPATH"