Various changes

[X11] Adjust standard font sizes
[bin] Remove conditional vdirsyncer
[xmonad] Adjust font size of bottom
[zsh] Remove consolidate-path, tmuxp completion, and 'zshaddhistory'
  (the thing that added cwd to history items)
This commit is contained in:
Adam Cooper 2022-11-12 05:51:37 -05:00
parent fff7c8962f
commit c873278609
5 changed files with 15 additions and 24 deletions

View file

@ -1,5 +1,5 @@
*.termName: xterm-256color
*faceName: FantasqueSansMono Nerd Font:size=16
*faceName: FantasqueSansMono Nerd Font:size=10
*metaSendsEscape: true
*VT100.Translations: #override \n\
@ -27,13 +27,13 @@ Xcursor.size: 48
! }}}
! VT Font Menu: Unreadable
*faceSize1: 12
*faceSize1: 6
! VT font menu: Tiny
*faceSize2: 14
*faceSize2: 8
! VT font menu: Medium
*faceSize3: 16
*faceSize3: 10
! VT font menu: Large
*faceSize4: 18
*faceSize4: 14
! VT font menu: Huge
*faceSize5: 24

View file

@ -1,10 +0,0 @@
#!/bin/bash
set -euo pipefail
if [[ -n $(secret-tool lookup service nextcloud) ]]; then
/usr/bin/vdirsyncer discover
/usr/bin/vdirsyncer sync --force-delete my_contacts/z-app-generated--contactsinteraction--recent
else
echo "Failed to unlock database"
fi

View file

@ -6,7 +6,7 @@ sleep 16
# /usr/sbin/qutebrowser --restore home & sleep 5 && sh -c "wmctrl -r qutebrowser -t 2"
# /usr/sbin/qutebrowser & sleep 5 && sh -c "wmctrl -r qutebrowser -t 2"
# /usr/sbin/firefox-developer-edition & sleep 5 && sh -c "wmctrl -r firefox -t 2"
/usr/sbin/xterm -fa 'Fantasque Sans Mono:size=12' -e btm --battery --color default-light --dot_marker & sleep 5 && sh -c "wmctrl -r btm -t 1"
/usr/sbin/xterm -fa 'Fantasque Sans Mono:size=6' -e btm --battery --color default-light --dot_marker & sleep 5 && sh -c "wmctrl -r btm -t 1"
# /usr/sbin/xterm -e newsboat & sleep 5 && sh -c "wmctrl -r newsboat -t 4"
# /usr/sbin/xterm -e joplin & sleep 5 && sh -c "wmctrl -r joplin -t 5"
/usr/sbin/cbatticon &

View file

@ -46,4 +46,4 @@ export NAVI_TAG_COLOR=6
export NAVI_COMMENT_COLOR=3
# Consolidate PATH
export PATH="$(consolidate-path "$PATH")"
# export PATH="$(consolidate-path "$PATH")"

View file

@ -54,12 +54,12 @@ source ~/.config/zsh/theme-and-appearance.zsh
# This version should strip any existing pwd from the command before adding the
# current pwd. This eliminates the pileup of these pwd comments when reusing
# old commands (e.g., with up-arrow).
function zshaddhistory() {
history_item="${${1%%$'\n'}%%$' ###'*} ### ${PWD}"
print -sr ${(z)history_item}
fc -p
return 1
}
# function zshaddhistory() {
# history_item="${${1%%$'\n'}%%$' ###'*} ### ${PWD}"
# print -sr ${(z)history_item}
# fc -p
# return 1
# }
# Starship
eval "$(starship init zsh)"
@ -117,7 +117,8 @@ eval "$(zoxide init zsh)"
eval "$(navi widget zsh)"
# tmuxp completion
eval "$(_TMUXP_COMPLETE=source_zsh tmuxp)"
# N.B. This throws a "parse error" as of 2022-10-12
# eval "$(_TMUXP_COMPLETE=source_zsh tmuxp)"
source /home/adam/.cargo/env