summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/alacritty/alacritty.toml6
-rw-r--r--.config/alacritty/docked.toml (renamed from .config/alacritty/alacritty-desktop.toml)5
-rw-r--r--.config/alacritty/normal.toml (renamed from .config/alacritty/alacritty-pavilion.toml)3
-rw-r--r--.config/mimeapps.list1
-rw-r--r--.config/shell/aliasrc2
-rw-r--r--.config/shell/profile1
-rwxr-xr-x.local/bin/maimshot2
-rwxr-xr-x.local/bin/run_alacritty14
-rw-r--r--.local/share/vocab/words.txt3
9 files changed, 18 insertions, 19 deletions
diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml
index 3692fde..e40ff72 100644
--- a/.config/alacritty/alacritty.toml
+++ b/.config/alacritty/alacritty.toml
@@ -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
diff --git a/.config/alacritty/alacritty-desktop.toml b/.config/alacritty/docked.toml
index 1158f68..2577db8 100644
--- a/.config/alacritty/alacritty-desktop.toml
+++ b/.config/alacritty/docked.toml
@@ -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"
diff --git a/.config/alacritty/alacritty-pavilion.toml b/.config/alacritty/normal.toml
index 3692fde..81d9005 100644
--- a/.config/alacritty/alacritty-pavilion.toml
+++ b/.config/alacritty/normal.toml
@@ -1,6 +1,3 @@
-
-live_config_reload = true
-
[env]
TERM = "xterm-256color"
diff --git a/.config/mimeapps.list b/.config/mimeapps.list
index 5239382..c3198ef 100644
--- a/.config/mimeapps.list
+++ b/.config/mimeapps.list
@@ -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;
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
index f450289..a5c89f3 100644
--- a/.config/shell/aliasrc
+++ b/.config/shell/aliasrc
@@ -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 \
diff --git a/.config/shell/profile b/.config/shell/profile
index 8a75873..a4135ba 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -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"
diff --git a/.local/bin/maimshot b/.local/bin/maimshot
index 39d6319..db4780c 100755
--- a/.local/bin/maimshot
+++ b/.local/bin/maimshot
@@ -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 ;;
diff --git a/.local/bin/run_alacritty b/.local/bin/run_alacritty
index d5589ce..e88a2fd 100755
--- a/.local/bin/run_alacritty
+++ b/.local/bin/run_alacritty
@@ -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
diff --git a/.local/share/vocab/words.txt b/.local/share/vocab/words.txt
index ca729ca..58082e0 100644
--- a/.local/share/vocab/words.txt
+++ b/.local/share/vocab/words.txt
@@ -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.