diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 15b423e..4000282 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -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" } diff --git a/.config/fish/functions/fish_user_key_bindings.fish b/.config/fish/functions/fish_user_key_bindings.fish index ff0d9f3..cb9f03e 100644 --- a/.config/fish/functions/fish_user_key_bindings.fish +++ b/.config/fish/functions/fish_user_key_bindings.fish @@ -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 diff --git a/.config/terminator/config b/.config/terminator/config index 7303597..8150711 100644 --- a/.config/terminator/config +++ b/.config/terminator/config @@ -8,23 +8,20 @@ [keybindings] cycle_next = j cycle_prev = k - split_vert = "" + split_vert = v close_term = w - paste = v - help = "" + paste = 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 diff --git a/.tmux.conf b/.tmux.conf index b408322..3f8b099 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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 diff --git a/bin/pk b/bin/pk index a7edbdf..1bd1a29 100755 --- a/bin/pk +++ b/bin/pk @@ -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 } diff --git a/bin/unborkify b/bin/unborkify index 120f56d..111940a 100755 --- a/bin/unborkify +++ b/bin/unborkify @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/bin/perl use Getopt::Std; getopts('u');