diff options
Diffstat (limited to 'linux')
-rw-r--r-- | linux/alacritty/inferno.yaml | 29 | ||||
-rw-r--r-- | linux/alacritty/papertheme_prod.yaml | 28 | ||||
-rw-r--r-- | linux/alacritty/papertheme_staging.yaml | 28 | ||||
-rw-r--r-- | linux/tmux.conf.m4 | 12 |
4 files changed, 94 insertions, 3 deletions
diff --git a/linux/alacritty/inferno.yaml b/linux/alacritty/inferno.yaml new file mode 100644 index 0000000..8181442 --- /dev/null +++ b/linux/alacritty/inferno.yaml @@ -0,0 +1,29 @@ +# Inferno theme +# Source: https://github.com/hafiz-muhammad/inferno-alacritty-theme/blob/main/inferno.yml +colors: + # Default colors + primary: + background: '0x270d06' + foreground: '0xd9d9d9' + + # Normal colors + normal: + black: '0x330000' + red: '0xff3300' + green: '0xff6600' + yellow: '0xff9900' + blue: '0xffcc00' + magenta: '0xff6600' + cyan: '0xff9900' + white: '0xd9d9d9' + + # Bright colors + bright: + black: '0x663300' + red: '0xff6633' + green: '0xff9966' + yellow: '0xffcc99' + blue: '0xffcc33' + magenta: '0xff9966' + cyan: '0xffcc99' + white: '0xd9d9d9' diff --git a/linux/alacritty/papertheme_prod.yaml b/linux/alacritty/papertheme_prod.yaml new file mode 100644 index 0000000..a2eda1f --- /dev/null +++ b/linux/alacritty/papertheme_prod.yaml @@ -0,0 +1,28 @@ +# Colors (Paper Theme) +colors: + # Default colors + primary: + background: '#fcabab' + foreground: '#000000' + + # Normal colors + normal: + black: '#000000' + red: '#CC3E28' + green: '#216609' + yellow: '#B58900' + blue: '#1E6FCC' + magenta: '#5C21A5' + cyan: '#158C86' + white: '#AAAAAA' + + # Bright colors + bright: + black: '#555555' + red: '#CC3E28' + green: '#216609' + yellow: '#B58900' + blue: '#1E6FCC' + magenta: '#5C21A5' + cyan: '#158C86' + white: '#AAAAAA' diff --git a/linux/alacritty/papertheme_staging.yaml b/linux/alacritty/papertheme_staging.yaml new file mode 100644 index 0000000..1342ad7 --- /dev/null +++ b/linux/alacritty/papertheme_staging.yaml @@ -0,0 +1,28 @@ +# Colors (Paper Theme) +colors: + # Default colors + primary: + background: '#fccd8a' + foreground: '#000000' + + # Normal colors + normal: + black: '#000000' + red: '#CC3E28' + green: '#216609' + yellow: '#B58900' + blue: '#1E6FCC' + magenta: '#5C21A5' + cyan: '#158C86' + white: '#AAAAAA' + + # Bright colors + bright: + black: '#555555' + red: '#CC3E28' + green: '#216609' + yellow: '#B58900' + blue: '#1E6FCC' + magenta: '#5C21A5' + cyan: '#158C86' + white: '#AAAAAA' diff --git a/linux/tmux.conf.m4 b/linux/tmux.conf.m4 index 63de4ae..a781d9f 100644 --- a/linux/tmux.conf.m4 +++ b/linux/tmux.conf.m4 @@ -49,9 +49,6 @@ bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'xc set -g visual-bell on set -g bell-action any -# Scroll in shell -set -g mouse on - # Sync panes bind-key = set-window-option synchronize-panes @@ -93,6 +90,15 @@ bind -n M-C-i display-popup -E "nvim -c 'e ~/Nextcloud/wiki/I45/Hendelser.md' -c bind-key T run-shell "toggle-theme" +m4_changequote({, })m4_dnl +m4_ifelse(DT_DOTFILES_TYPE, {local}, { +set-hook -g session-window-changed 'run-shell "update-theme"' +set-hook -g window-renamed 'run-shell "update-theme"' +bind-key P run-shell "tmux display-message -p '#W' | grep -q '^PROD' || tmux rename-window 'PROD #{window_name}'" +bind-key S run-shell "tmux display-message -p '#W' | grep -q '^STAGING' || tmux rename-window 'STAGING #{window_name}'" +})m4_dnl +m4_changequote(`, ')m4_dnl + # -- Theme -------------------------------------------------------------------- m4_ifelse(DT_DOTFILES_TYPE, `local', `m4_dnl set -g status-justify left |