alacritty docked & normal configs, use nvim as manpager
This commit is contained in:
parent
dce15fb90d
commit
04e18be665
|
|
@ -1,6 +1,4 @@
|
|||
|
||||
live_config_reload = true
|
||||
|
||||
[env]
|
||||
TERM = "xterm-256color"
|
||||
|
||||
|
|
@ -611,3 +609,7 @@ lines = 0
|
|||
[window.padding]
|
||||
x = 0
|
||||
y = 0
|
||||
|
||||
[general]
|
||||
|
||||
live_config_reload = true
|
||||
|
|
|
|||
|
|
@ -1,6 +1,3 @@
|
|||
|
||||
live_config_reload = true
|
||||
|
||||
[env]
|
||||
TERM = "xterm-256color"
|
||||
|
||||
|
|
@ -40,7 +37,7 @@ persistent_logging = false
|
|||
render_timer = false
|
||||
|
||||
[font]
|
||||
size = 10.5
|
||||
size = 11
|
||||
|
||||
[font.bold]
|
||||
family = "JetBrainsMono Nerd Font"
|
||||
|
|
@ -1,6 +1,3 @@
|
|||
|
||||
live_config_reload = true
|
||||
|
||||
[env]
|
||||
TERM = "xterm-256color"
|
||||
|
||||
|
|
@ -13,6 +13,7 @@ video/x-matroska=video.desktop
|
|||
x-scheme-handler/lbry=lbry.desktop
|
||||
inode/directory=file.desktop
|
||||
x-scheme-handler/tonsite=org.telegram.desktop.desktop
|
||||
x-scheme-handler/mailto=brave-browser.desktop
|
||||
|
||||
[Added Associations]
|
||||
x-scheme-handler/tonsite=org.telegram.desktop.desktop;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ alias \
|
|||
|
||||
# yt="yt-dlp --embed-metadata -i -o '%(title)s.%(ext)s' --external-downloader=aria2c" \
|
||||
|
||||
alias on="cd ~/dox/brain; nvim ."
|
||||
alias on="tmux new-session -s notes -c ~/dox/brain"
|
||||
|
||||
# Colorize commands when possible.
|
||||
alias \
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
|
|||
export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0"
|
||||
#export LESSHISTFILE="-"
|
||||
export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc"
|
||||
export MANPAGER='nvim +Man!'
|
||||
# export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme.
|
||||
export __GL_SHADER_DISK_CACHE_PATH=~/.cache/
|
||||
export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/pythonrc"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
ocr_cmd="xclip -sel clip"
|
||||
|
||||
case "$(printf "a selected area (copy)\\ncurrent window (copy)\\nfull screen (copy)\\na selected area\\ncurrent window\\nfull screen\\na selected area (OCR)" | dmenu -l 6 -i -p "Screenshot which area?")" in
|
||||
case "$(printf "a selected area (copy)\\ncurrent window (copy)\\nfull screen (copy)\\na selected area\\ncurrent window\\nfull screen\\na selected area (OCR)" | dmenu -l 7 -i -p "Screenshot which area?")" in
|
||||
"a selected area (copy)") maim -u -s | xclip -selection clipboard -t image/png ;;
|
||||
"current window (copy)") maim -i "$(xdotool getactivewindow)" | xclip -selection clipboard -t image/png ;;
|
||||
"full screen (copy)") sleep 0.2 ; maim | xclip -selection clipboard -t image/png ;;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,8 @@
|
|||
#!/bin/sh
|
||||
#!/bin/env bash
|
||||
|
||||
hostname=$(hostnamectl hostname)
|
||||
|
||||
# Run alacritty
|
||||
if [[ $hostname = 'pavilion' ]]; then
|
||||
alacritty --config-file "$XDG_CONFIG_HOME/alacritty/alacritty-pavilion.toml" $*
|
||||
elif [[ $hostname = 'arch' ]]; then
|
||||
alacritty --config-file "$XDG_CONFIG_HOME/alacritty/alacritty-desktop.toml" $*
|
||||
mode=$(autorandr --current)
|
||||
if [[ $mode = 'hybrid' ]]; then
|
||||
alacritty --config-file "$XDG_CONFIG_HOME/alacritty/docked.toml" $*
|
||||
else
|
||||
alacritty --config-file "$XDG_CONFIG_HOME/alacritty/normal.toml" $*
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -146,3 +146,6 @@ consigliere -> a trusted advisor or counselor, especially to the leader of a cri
|
|||
conceal -> to keep from being observed or discovered; hide
|
||||
->
|
||||
indispensable -> absolutely necessaru; essential
|
||||
prowl -> to roam through stealthily, as in search of prey or plunder.
|
||||
chauffeured -> one employed to drive a private automobile.
|
||||
abysmal -> Resembling an abyss in depth; unfathomable.
|
||||
|
|
|
|||
Loading…
Reference in New Issue