dotfiles-x1104e18be
alacritty docked & normal configs, use nvim as manpager
+19 −20
9 files changed
- M .config/alacritty/alacritty.toml +4 −2
- R .config/alacritty/alacritty-pavilion.toml → .config/alacritty/docked.toml +1 −4
- R .config/alacritty/alacritty-desktop.toml → .config/alacritty/normal.toml +1 −4
- M .config/mimeapps.list +1 −0
- M .config/shell/aliasrc +1 −1
- M .config/shell/profile +1 −0
- M .local/bin/maimshot +1 −1
- M .local/bin/run_alacritty +6 −8
- M .local/share/vocab/words.txt +3 −0
| @@ -1,6 +1,4 @@ | |||
| 1 | 1 | ||
| 2 | − | live_config_reload = true | |
| 3 | − | ||
| 4 | 2 | [env] | |
| 5 | 3 | TERM = "xterm-256color" | |
| 6 | 4 | ||
| @@ -611,3 +609,7 @@ lines = 0 | |||
| 611 | 609 | [window.padding] | |
| 612 | 610 | x = 0 | |
| 613 | 611 | y = 0 | |
| 612 | + | ||
| 613 | + | [general] | |
| 614 | + | ||
| 615 | + | live_config_reload = true | |
| @@ -1,6 +1,3 @@ | |||
| 1 | − | ||
| 2 | − | live_config_reload = true | |
| 3 | − | ||
| 4 | 1 | [env] | |
| 5 | 2 | TERM = "xterm-256color" | |
| 6 | 3 | ||
| @@ -40,7 +37,7 @@ persistent_logging = false | |||
| 40 | 37 | render_timer = false | |
| 41 | 38 | ||
| 42 | 39 | [font] | |
| 43 | − | size = 7.5 | |
| 40 | + | size = 11 | |
| 44 | 41 | ||
| 45 | 42 | [font.bold] | |
| 46 | 43 | family = "JetBrainsMono Nerd Font" | |
| @@ -1,6 +1,3 @@ | |||
| 1 | − | ||
| 2 | − | live_config_reload = true | |
| 3 | − | ||
| 4 | 1 | [env] | |
| 5 | 2 | TERM = "xterm-256color" | |
| 6 | 3 | ||
| @@ -40,7 +37,7 @@ persistent_logging = false | |||
| 40 | 37 | render_timer = false | |
| 41 | 38 | ||
| 42 | 39 | [font] | |
| 43 | − | size = 10.5 | |
| 40 | + | size = 7.5 | |
| 44 | 41 | ||
| 45 | 42 | [font.bold] | |
| 46 | 43 | family = "JetBrainsMono Nerd Font" | |
| @@ -13,6 +13,7 @@ video/x-matroska=video.desktop | |||
| 13 | 13 | x-scheme-handler/lbry=lbry.desktop | |
| 14 | 14 | inode/directory=file.desktop | |
| 15 | 15 | x-scheme-handler/tonsite=org.telegram.desktop.desktop | |
| 16 | + | x-scheme-handler/mailto=brave-browser.desktop | |
| 16 | 17 | ||
| 17 | 18 | [Added Associations] | |
| 18 | 19 | x-scheme-handler/tonsite=org.telegram.desktop.desktop; | |
| @@ -26,7 +26,7 @@ alias \ | |||
| 26 | 26 | ||
| 27 | 27 | # yt="yt-dlp --embed-metadata -i -o '%(title)s.%(ext)s' --external-downloader=aria2c" \ | |
| 28 | 28 | ||
| 29 | − | alias on="cd ~/dox/brain; nvim ." | |
| 29 | + | alias on="tmux new-session -s notes -c ~/dox/brain" | |
| 30 | 30 | ||
| 31 | 31 | # Colorize commands when possible. | |
| 32 | 32 | alias \ | |
| @@ -22,6 +22,7 @@ export RUSTUP_HOME="$XDG_DATA_HOME/rustup" | |||
| 22 | 22 | export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0" | |
| 23 | 23 | #export LESSHISTFILE="-" | |
| 24 | 24 | export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc" | |
| 25 | + | export MANPAGER='nvim +Man!' | |
| 25 | 26 | # export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme. | |
| 26 | 27 | export __GL_SHADER_DISK_CACHE_PATH=~/.cache/ | |
| 27 | 28 | export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/pythonrc" | |
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | 3 | ocr_cmd="xclip -sel clip" | |
| 4 | 4 | ||
| 5 | − | 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 | |
| 5 | + | 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 | |
| 6 | 6 | "a selected area (copy)") maim -u -s | xclip -selection clipboard -t image/png ;; | |
| 7 | 7 | "current window (copy)") maim -i "$(xdotool getactivewindow)" | xclip -selection clipboard -t image/png ;; | |
| 8 | 8 | "full screen (copy)") sleep 0.2 ; maim | xclip -selection clipboard -t image/png ;; | |
| @@ -1,10 +1,8 @@ | |||
| 1 | − | #!/bin/sh | |
| 1 | + | #!/bin/env bash | |
| 2 | 2 | ||
| 3 | − | hostname=$(hostnamectl hostname) | |
| 4 | − | ||
| 5 | − | # Run alacritty | |
| 6 | − | if [[ $hostname = 'pavilion' ]]; then | |
| 7 | − | alacritty --config-file "$XDG_CONFIG_HOME/alacritty/alacritty-pavilion.toml" $* | |
| 8 | − | elif [[ $hostname = 'arch' ]]; then | |
| 9 | − | alacritty --config-file "$XDG_CONFIG_HOME/alacritty/alacritty-desktop.toml" $* | |
| 3 | + | mode=$(autorandr --current) | |
| 4 | + | if [[ $mode = 'hybrid' ]]; then | |
| 5 | + | alacritty --config-file "$XDG_CONFIG_HOME/alacritty/docked.toml" $* | |
| 6 | + | else | |
| 7 | + | alacritty --config-file "$XDG_CONFIG_HOME/alacritty/normal.toml" $* | |
| 10 | 8 | fi | |
| @@ -146,3 +146,6 @@ consigliere -> a trusted advisor or counselor, especially to the leader of a cri | |||
| 146 | 146 | conceal -> to keep from being observed or discovered; hide | |
| 147 | 147 | -> | |
| 148 | 148 | indispensable -> absolutely necessaru; essential | |
| 149 | + | prowl -> to roam through stealthily, as in search of prey or plunder. | |
| 150 | + | chauffeured -> one employed to drive a private automobile. | |
| 151 | + | abysmal -> Resembling an abyss in depth; unfathomable. | |