Krolyxon
Commit 04e18be

Branches

Refs →

dotfiles-x1104e18be

alacritty docked & normal configs, use nvim as manpager

Author
krolxon
Date
2024-12-06 22:04 +0530
Parent
dce15fb
Commit
04e18be665991c2f6b51dece2655e04541a0fb9f

+19 −20

9 files changed

  1. M .config/alacritty/alacritty.toml +4 −2
  2. R .config/alacritty/alacritty-pavilion.toml → .config/alacritty/docked.toml +1 −4
  3. R .config/alacritty/alacritty-desktop.toml → .config/alacritty/normal.toml +1 −4
  4. M .config/mimeapps.list +1 −0
  5. M .config/shell/aliasrc +1 −1
  6. M .config/shell/profile +1 −0
  7. M .local/bin/maimshot +1 −1
  8. M .local/bin/run_alacritty +6 −8
  9. M .local/share/vocab/words.txt +3 −0
M .config/alacritty/alacritty.toml View
@@ -1,6 +1,4 @@
11
2−live_config_reload = true
3−
42 [env]
53 TERM = "xterm-256color"
64
@@ -611,3 +609,7 @@ lines = 0
611609 [window.padding]
612610 x = 0
613611 y = 0
612+
613+[general]
614+
615+live_config_reload = true
R .config/alacritty/alacritty-pavilion.toml → .config/alacritty/docked.toml View
@@ -1,6 +1,3 @@
1−
2−live_config_reload = true
3−
41 [env]
52 TERM = "xterm-256color"
63
@@ -40,7 +37,7 @@ persistent_logging = false
4037 render_timer = false
4138
4239 [font]
43−size = 7.5
40+size = 11
4441
4542 [font.bold]
4643 family = "JetBrainsMono Nerd Font"
R .config/alacritty/alacritty-desktop.toml → .config/alacritty/normal.toml View
@@ -1,6 +1,3 @@
1−
2−live_config_reload = true
3−
41 [env]
52 TERM = "xterm-256color"
63
@@ -40,7 +37,7 @@ persistent_logging = false
4037 render_timer = false
4138
4239 [font]
43−size = 10.5
40+size = 7.5
4441
4542 [font.bold]
4643 family = "JetBrainsMono Nerd Font"
M .config/mimeapps.list View
@@ -13,6 +13,7 @@ video/x-matroska=video.desktop
1313 x-scheme-handler/lbry=lbry.desktop
1414 inode/directory=file.desktop
1515 x-scheme-handler/tonsite=org.telegram.desktop.desktop
16+x-scheme-handler/mailto=brave-browser.desktop
1617
1718 [Added Associations]
1819 x-scheme-handler/tonsite=org.telegram.desktop.desktop;
M .config/shell/aliasrc View
@@ -26,7 +26,7 @@ alias \
2626
2727 # yt="yt-dlp --embed-metadata -i -o '%(title)s.%(ext)s' --external-downloader=aria2c" \
2828
29−alias on="cd ~/dox/brain; nvim ."
29+alias on="tmux new-session -s notes -c ~/dox/brain"
3030
3131 # Colorize commands when possible.
3232 alias \
M .config/shell/profile View
@@ -22,6 +22,7 @@ export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
2222 export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0"
2323 #export LESSHISTFILE="-"
2424 export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc"
25+export MANPAGER='nvim +Man!'
2526 # export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme.
2627 export __GL_SHADER_DISK_CACHE_PATH=~/.cache/
2728 export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/pythonrc"
M .local/bin/maimshot View
@@ -2,7 +2,7 @@
22
33 ocr_cmd="xclip -sel clip"
44
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
66 "a selected area (copy)") maim -u -s | xclip -selection clipboard -t image/png ;;
77 "current window (copy)") maim -i "$(xdotool getactivewindow)" | xclip -selection clipboard -t image/png ;;
88 "full screen (copy)") sleep 0.2 ; maim | xclip -selection clipboard -t image/png ;;
M .local/bin/run_alacritty View
@@ -1,10 +1,8 @@
1−#!/bin/sh
1+#!/bin/env bash
22
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" $*
108 fi
M .local/share/vocab/words.txt View
@@ -146,3 +146,6 @@ consigliere -> a trusted advisor or counselor, especially to the leader of a cri
146146 conceal -> to keep from being observed or discovered; hide
147147 ->
148148 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.