Compare commits
12 Commits
27cb86c655
...
vim
| Author | SHA1 | Date | |
|---|---|---|---|
|
45b909003b
|
|||
|
7c9567c880
|
|||
|
6010a26f0b
|
|||
|
906c498a08
|
|||
|
fe62bf4d99
|
|||
|
6e1d7df5b5
|
|||
|
3811febee1
|
|||
|
3f4765cced
|
|||
|
2dc1e241c7
|
|||
|
83277c9841
|
|||
|
c46c21b662
|
|||
|
80909ae72c
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
config/alacritty/current-theme.toml
|
||||
@@ -1,6 +1,6 @@
|
||||
import = [
|
||||
"~/.config/alacritty/themes/current-theme.toml"
|
||||
general.import = [
|
||||
"~/.config/alacritty/current-theme.toml"
|
||||
]
|
||||
|
||||
live_config_reload = true
|
||||
ipc_socket = true
|
||||
general.live_config_reload = true
|
||||
general.ipc_socket = true
|
||||
|
||||
@@ -1,18 +1,20 @@
|
||||
[user]
|
||||
email = redacted@example.org
|
||||
name = redacted
|
||||
signingkey = redacted
|
||||
email = "transcaffeine@finally.coffee"
|
||||
name = "transcaffeine"
|
||||
signingKey = "03624C433676E465"
|
||||
[commit]
|
||||
gpgsign = true
|
||||
gpgSign = true
|
||||
[tag]
|
||||
gpgSign = true
|
||||
[gpg]
|
||||
program = /usr/bin/gpg
|
||||
program = "/usr/bin/gpg"
|
||||
[rebase]
|
||||
autostash = true
|
||||
autosquash = true
|
||||
autoStash = true
|
||||
autoSquash = true
|
||||
[pull]
|
||||
rebase = true
|
||||
autostash = true
|
||||
autoStash = true
|
||||
[format]
|
||||
pretty = oneline
|
||||
pretty = "oneline"
|
||||
[alias]
|
||||
logv = log --pretty=full --show-signature
|
||||
logv = "log --pretty=full --show-signature"
|
||||
|
||||
1
config/tmux/current-theme.conf
Symbolic link
1
config/tmux/current-theme.conf
Symbolic link
@@ -0,0 +1 @@
|
||||
light-mode.conf
|
||||
19
config/tmux/dark-mode.conf
Normal file
19
config/tmux/dark-mode.conf
Normal file
@@ -0,0 +1,19 @@
|
||||
# Set colors
|
||||
active_window_bg=colour199
|
||||
inactive_window_bg=colour233
|
||||
bar_fg=colour255
|
||||
bar_bg=colour235
|
||||
|
||||
# Change pane colors
|
||||
set -g pane-border-style fg=colour237
|
||||
set -g pane-active-border-style fg=colour199
|
||||
|
||||
# Tweak currently active window
|
||||
setw -g window-status-current-style bg=colour199,fg=colour255,none
|
||||
# Tweak last active window style
|
||||
setw -g window-status-last-style fg=colour255,bg=colour238,none
|
||||
|
||||
# Tweak display of window overview
|
||||
setw -g window-status-style bg=colour233,fg=colour255,none
|
||||
# Tweak status line design
|
||||
set -g status-style bg=colour235,fg=colour199
|
||||
19
config/tmux/light-mode.conf
Normal file
19
config/tmux/light-mode.conf
Normal file
@@ -0,0 +1,19 @@
|
||||
# Colors for nested-tmux
|
||||
active_window_bg=colour199
|
||||
inactive_window_bg=colour242
|
||||
bar_bg=colour254
|
||||
bar_fg=colour255
|
||||
|
||||
# Change pane colors
|
||||
set -g pane-border-style fg=colour252
|
||||
set -g pane-active-border-style fg=colour199
|
||||
|
||||
# Tweak currently active window
|
||||
setw -g window-status-current-style bg=colour199,fg=colour255,none
|
||||
# Tweak last active window style
|
||||
setw -g window-status-last-style fg=colour255,bg=colour242,none
|
||||
|
||||
# Tweak display of window overview
|
||||
setw -g window-status-style bg=colour252,fg=colour240,none
|
||||
# Tweak status line design
|
||||
set -g status-style bg=colour254,fg=colour199
|
||||
48
config/tmux/tmux.conf
Normal file
48
config/tmux/tmux.conf
Normal file
@@ -0,0 +1,48 @@
|
||||
# vi:syntax=tmux
|
||||
# Include current color theme
|
||||
source-file ~/.config/tmux/current-theme.conf
|
||||
|
||||
# Reload the config with the "r" key
|
||||
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
|
||||
|
||||
set -s exit-empty off
|
||||
|
||||
unbind C-a
|
||||
set -g prefix C-b
|
||||
|
||||
# No automatic renaming of windows
|
||||
set -g automatic-rename off
|
||||
|
||||
# Enable 256-color terminal
|
||||
set -g default-terminal "screen-256color"
|
||||
|
||||
# Set titles to be informative
|
||||
set -g set-titles on
|
||||
set -g set-titles-string "[#H:#S] #W:#D-#I:#P (tmux)"
|
||||
|
||||
# Tweak currently active window
|
||||
#setw -g window-status-current-format " #F[#W] "
|
||||
|
||||
# Tweak display of window overview
|
||||
#setw -g window-status-format " #F[#W][#I] "
|
||||
|
||||
# Status bar content
|
||||
set -g status-justify centre
|
||||
set -g status-left " [#{user}@#H:#S] "
|
||||
set -g status-left-length 100
|
||||
set -g status-right '[%Y-%m-%d %H:%M.%S]'
|
||||
# Refresh status bar every second
|
||||
set -g status-interval 1
|
||||
|
||||
# Set some helpful limits & modes
|
||||
set -g mouse off
|
||||
set -g history-limit 500000
|
||||
|
||||
# Make tmux resize based on smallest client actually viewing the window, not just attached
|
||||
setw -g aggressive-resize on
|
||||
|
||||
# Retain cwd on new pane creation
|
||||
#bind c new-window -c "#{pane_current_path}"
|
||||
|
||||
|
||||
#refresh-client
|
||||
10
config/vim/vimrc
Normal file
10
config/vim/vimrc
Normal file
@@ -0,0 +1,10 @@
|
||||
set directory=$XDG_CACHE_HOME/vim,~/.cache/vim,/tmp/vim
|
||||
set backupdir=$XDG_CACHE_HOME/vim,~/.cache/vim,/tmp/vim
|
||||
set viminfo+=n{XDG_CACHE_HOME/vim/viminfo
|
||||
set runtimepath=$XDG_CONFIG_HOME/vim,$XDG_CONFIG_HOME/vim/after,$VIM,$VIMRUNTIME
|
||||
let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc"
|
||||
|
||||
augroup myvimrc_hooks
|
||||
au!
|
||||
autocmd bufwritepost vimrc source $MYVIMRC
|
||||
augroup END
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ln -fs themes/themes/monokai_pro.toml .config/alacritty/current-theme.toml
|
||||
touch ~/.config/alacritty/alacritty.toml
|
||||
|
||||
6
local/share/dark-mode.d/kde.sh
Executable file
6
local/share/dark-mode.d/kde.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
if command -v lookandfeeltool; then
|
||||
lookandfeeltool -a org.kde.breezedark.desktop
|
||||
fi
|
||||
@@ -1,7 +1,10 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
set -euo pipefail
|
||||
BASE="$(dirname $0)/../../.."
|
||||
|
||||
ln -fs dark-mode.conf ~/.config/tmux/current-theme.conf
|
||||
ln -fvs "${BASE}/config/tmux/dark-mode.conf" "${CONFIG_HOME}/tmux/current-theme.conf"
|
||||
|
||||
if tmux list-sessions; then
|
||||
tmux source ~/.tmux.conf
|
||||
tmux source "${CONFIG_HOME}/tmux/tmux.conf"
|
||||
fi
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ln -fs themes/themes/catppuccin_latte.toml .config/alacritty/current-theme.toml
|
||||
touch ~/.config/alacritty/alacritty.toml
|
||||
|
||||
6
local/share/light-mode.d/kde.sh
Executable file
6
local/share/light-mode.d/kde.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
if command -v lookandfeeltool; then
|
||||
lookandfeeltool -a org.kde.breeze.desktop
|
||||
fi
|
||||
@@ -1,7 +1,10 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
set -eou pipefail
|
||||
BASE="$(dirname $0)/../../.."
|
||||
|
||||
ln -fs light-mode.conf ~/.config/tmux/current-theme.conf
|
||||
ln -fvs "${BASE}/config/tmux/light-mode.conf" "${CONFIG_HOME}/tmux/current-theme.conf"
|
||||
|
||||
if tmux list-sesions; then
|
||||
tmux source ~/.tmux.conf
|
||||
if tmux list-sessions; then
|
||||
tmux source "${CONFIG_HOME}/tmux/tmux.conf"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user