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]
cycle_next = <Primary>j
cycle_prev = <Primary>k
split_vert = ""
split_vert = <Primary><Shift>v
close_term = <Primary><Shift>w
paste = <Primary><Shift>v
help = ""
paste = <Shift>Insert
[profiles]
[[default]]
allow_bold = False
background_darkness = 0.8
background_type = transparent
cursor_color = "#ffffff"
font = Iosevka Berkeley Light 18
font = Iosevka Berkeley weight=453 21
foreground_color = "#ffffff"
show_titlebar = False
scrollbar_position = hidden
scrollback_infinite = True
use_system_font = False
bold_is_bright = True
[[4k]]
background_darkness = 0.8
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
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 -g status-left '#[fg=green][ #H ][ '

16
bin/pk
View file

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