Compare commits

...
Sign in to create a new pull request.

5 commits

6 changed files with 25 additions and 22 deletions

View file

@ -29,9 +29,9 @@ window:
# Number of lines/columns (not pixels) in the terminal. The number of columns
# must be at least `2`, while using a value of `0` for columns and lines will
# fall back to the window manager's recommended size.
#dimensions:
# columns: 0
# lines: 0
dimensions:
columns: 147
lines: 40
# Window position (changes require restart)
#
@ -72,7 +72,7 @@ window:
#
# Values for `startup_mode` (macOS only):
# - SimpleFullscreen
#startup_mode: Windowed
startup_mode: Fullscreen
# Window title
#title: Alacritty
@ -151,7 +151,7 @@ font:
style: Oblique
# Point size
size: 17.0
size: 14.5
# Offset is the extra space around each character. `offset.y` can be thought
# of as modifying the line spacing, and `offset.x` as modifying the letter
@ -830,7 +830,7 @@ key_bindings:
#- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize }
# (Windows only)
#- { key: Return, mods: Alt, action: ToggleFullscreen }
- { key: Return, mods: Alt, action: ToggleFullscreen }
# (macOS only)
#- { key: K, mods: Command, mode: ~Vi|~Search, chars: "\x0c" }

View file

@ -1,3 +1,7 @@
function fish_user_key_bindings
fzf_key_bindings
end
function fsize
sed -i "s/size:.*/size: $argv/" $HOME/.config/alacritty/alacritty.yml
end

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,11 +52,11 @@ 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 ][ '
set -g status-right '#[fg=green]][ #[bright]#[fg=blue]%Y-%m-%d #[fg=white]%I:%M #[dim]#[fg=green]]'
set -g status-right '#[fg=green]][ #{pane_width}x#{pane_height} #[bright]#[fg=blue]%Y-%m-%d #[fg=white]%I:%M #[dim]#[fg=green]]'
# Notifying if other windows has activities
setw -g monitor-activity on

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
}

View file

@ -1,4 +1,4 @@
#!/usr/local/bin/perl
#!/usr/bin/perl
use Getopt::Std;
getopts('u');