polonius-init

This commit is contained in:
Barak Michener 2021-01-17 17:54:23 -08:00
parent f5638b6c81
commit 6ebc6fe6a8
3 changed files with 13 additions and 14 deletions

View file

@ -8,23 +8,20 @@
[keybindings] [keybindings]
cycle_next = <Primary>j cycle_next = <Primary>j
cycle_prev = <Primary>k cycle_prev = <Primary>k
split_vert = "" split_vert = <Primary><Shift>v
close_term = <Primary><Shift>w close_term = <Primary><Shift>w
paste = <Primary><Shift>v paste = <Shift>Insert
help = ""
[profiles] [profiles]
[[default]] [[default]]
allow_bold = False
background_darkness = 0.8 background_darkness = 0.8
background_type = transparent background_type = transparent
cursor_color = "#ffffff" cursor_color = "#ffffff"
font = Iosevka Berkeley Light 18 font = Iosevka Berkeley weight=453 21
foreground_color = "#ffffff" foreground_color = "#ffffff"
show_titlebar = False show_titlebar = False
scrollbar_position = hidden scrollbar_position = hidden
scrollback_infinite = True scrollback_infinite = True
use_system_font = False use_system_font = False
bold_is_bright = True
[[4k]] [[4k]]
background_darkness = 0.8 background_darkness = 0.8
background_type = transparent background_type = transparent

View file

@ -52,7 +52,7 @@ set-window-option -g window-status-style fg=white,bg=default,dim
# active window title colors # active window title colors
set-window-option -g window-status-current-style fg=cyan,bg=default,bright set-window-option -g window-status-current-style fg=cyan,bg=default,bright
set-window-option -g window-style fg=#aaaaaa,bg=terminal set-window-option -g window-style fg=#aaaaaa,bg=#111111
set-window-option -g window-active-style fg=terminal,bg=terminal set-window-option -g window-active-style fg=terminal,bg=terminal
set -g status-left '#[fg=green][ #H ][ ' set -g status-left '#[fg=green][ #H ][ '

16
bin/pk
View file

@ -1,7 +1,9 @@
#!/bin/sh #!/bin/sh
search () { search () {
shift shift
if command -v pacman &> /dev/null; then if command -v apt &> /dev/null; then
apt search $1
elif command -v pacman &> /dev/null; then
pacman -Ss $1 || yay -Ss $1 pacman -Ss $1 || yay -Ss $1
elif command -v dnf &> /dev/null; then elif command -v dnf &> /dev/null; then
dnf search $1 dnf search $1
@ -19,7 +21,9 @@ search () {
update () { update () {
shift shift
if command -v pacman &> /dev/null; then if command -v apt-get &> /dev/null; then
sudo apt-get update
elif command -v pacman &> /dev/null; then
sudo pacman -Sy sudo pacman -Sy
elif command -v dnf &> /dev/null; then elif command -v dnf &> /dev/null; then
sudo dnf update sudo dnf update
@ -27,14 +31,14 @@ update () {
sudo port selfupdate sudo port selfupdate
elif command -v portsnap &> /dev/null; then elif command -v portsnap &> /dev/null; then
sudo portsnap fetch && sudo portsnap upgrade sudo portsnap fetch && sudo portsnap upgrade
elif command -v apt-get &> /dev/null; then
sudo apt-get update
fi fi
} }
install () { install () {
shift shift
if command -v pacman &> /dev/null; then if command -v apt-get &> /dev/null; then
sudo apt-get install $*
elif command -v pacman &> /dev/null; then
sudo pacman -S $* || yay -S $* sudo pacman -S $* || yay -S $*
elif command -v dnf &> /dev/null; then elif command -v dnf &> /dev/null; then
sudo dnf install $* sudo dnf install $*
@ -42,8 +46,6 @@ install () {
sudo port install $* sudo port install $*
elif command -v portmaster &> /dev/null; then elif command -v portmaster &> /dev/null; then
sudo portmaster $* sudo portmaster $*
elif command -v apt-get &> /dev/null; then
sudo apt-get install $*
fi fi
} }