From 5d5405115ee1059a205d25ff972e12256d09a1b5 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 25 Feb 2021 23:51:01 -0500 Subject: reconfigure various things for hornet --- config/alacritty/alacritty.yml.hornet | 167 ++++++++++++++++++++++++++++++++++ config/i3/config | 2 +- config/i3/terminal-workspace.json | 30 ++++-- config/i3status/config | 20 +--- config/sh/env | 2 +- 5 files changed, 196 insertions(+), 25 deletions(-) create mode 100644 config/alacritty/alacritty.yml.hornet (limited to 'config') diff --git a/config/alacritty/alacritty.yml.hornet b/config/alacritty/alacritty.yml.hornet new file mode 100644 index 0000000..d7afc73 --- /dev/null +++ b/config/alacritty/alacritty.yml.hornet @@ -0,0 +1,167 @@ +--- +env: + TERM: alacritty-direct + +window: + dimensions: + columns: 80 + lines: 24 + padding: + x: 2 + y: 2 + decorations: full + +draw_bold_text_with_bright_colors: true + +font: + normal: + family: DejaVuSansMono + bold: + family: DejaVuSansMono + style: Regular + italic: + family: DejaVuSansMono + size: 11.5 + +colors: + primary: + background: '0x000000' + foreground: '0xc1c9d2' + cursor: + text: '0x000000' + cursor: '0x00ff00' + normal: + black: '0x000000' + red: '0xed5f74' + green: '0x1ea672' + yellow: '0xd97917' + blue: '0x688ef1' + magenta: '0xc96ed0' + cyan: '0x3a97d4' + white: '0xe3e8ee' + bright: + black: '0x697386' + red: '0xfbb5b2' + green: '0x85d996' + yellow: '0xefc078' + blue: '0x9fcdff' + magenta: '0xf0b4e4' + cyan: '0x7fd3ed' + white: '0xffffff' + +mouse_bindings: + - { mouse: Middle, action: PasteSelection } + +mouse: + double_click: { threshold: 300 } + triple_click: { threshold: 300 } + url: + launcher: None + +selection: + semantic_escape_chars: " " + +key_bindings: + - { key: V, mods: Control|Shift, action: Paste } + - { key: C, mods: Control|Shift, action: Copy } + - { key: Q, mods: Command, action: Quit } + - { key: W, mods: Command, action: Quit } + - { key: Insert, mods: Shift, action: PasteSelection } + - { key: Key0, mods: Control, action: ResetFontSize } + - { key: Equals, mods: Control, action: IncreaseFontSize } + - { key: Minus, mods: Control, action: DecreaseFontSize } + - { key: Home, chars: "\x1bOH", mode: AppCursor } + - { key: Home, chars: "\x1b[H", mode: ~AppCursor } + - { key: End, chars: "\x1bOF", mode: AppCursor } + - { key: End, chars: "\x1b[F", mode: ~AppCursor } + - { key: PageUp, mods: Shift, chars: "\x1b[5;2~" } + - { key: PageUp, mods: Control, chars: "\x1b[5;5~" } + - { key: PageUp, chars: "\x1b[5~" } + - { key: PageDown, mods: Shift, chars: "\x1b[6;2~" } + - { key: PageDown, mods: Control, chars: "\x1b[6;5~" } + - { key: PageDown, chars: "\x1b[6~" } + - { key: Tab, mods: Shift, chars: "\x1b[Z" } + - { key: Back, chars: "\x7f" } + - { key: Back, mods: Alt, chars: "\x1b\x7f" } + - { key: Insert, chars: "\x1b[2~" } + - { key: Delete, chars: "\x1b[3~" } + - { key: Left, mods: Shift, chars: "\x1b[1;2D" } + - { key: Left, mods: Control, chars: "\x1b[1;5D" } + - { key: Left, mods: Alt, chars: "\x1b[1;3D" } + - { key: Left, chars: "\x1b[D", mode: ~AppCursor } + - { key: Left, chars: "\x1bOD", mode: AppCursor } + - { key: Right, mods: Shift, chars: "\x1b[1;2C" } + - { key: Right, mods: Control, chars: "\x1b[1;5C" } + - { key: Right, mods: Alt, chars: "\x1b[1;3C" } + - { key: Right, chars: "\x1b[C", mode: ~AppCursor } + - { key: Right, chars: "\x1bOC", mode: AppCursor } + - { key: Up, mods: Shift, chars: "\x1b[1;2A" } + - { key: Up, mods: Control, chars: "\x1b[1;5A" } + - { key: Up, mods: Alt, chars: "\x1b[1;3A" } + - { key: Up, chars: "\x1b[A", mode: ~AppCursor } + - { key: Up, chars: "\x1bOA", mode: AppCursor } + - { key: Down, mods: Shift, chars: "\x1b[1;2B" } + - { key: Down, mods: Control, chars: "\x1b[1;5B" } + - { key: Down, mods: Alt, chars: "\x1b[1;3B" } + - { key: Down, chars: "\x1b[B", mode: ~AppCursor } + - { key: Down, chars: "\x1bOB", mode: AppCursor } + - { key: F1, chars: "\x1bOP" } + - { key: F2, chars: "\x1bOQ" } + - { key: F3, chars: "\x1bOR" } + - { key: F4, chars: "\x1bOS" } + - { key: F5, chars: "\x1b[15~" } + - { key: F6, chars: "\x1b[17~" } + - { key: F7, chars: "\x1b[18~" } + - { key: F8, chars: "\x1b[19~" } + - { key: F9, chars: "\x1b[20~" } + - { key: F10, chars: "\x1b[21~" } + - { key: F11, chars: "\x1b[23~" } + - { key: F12, chars: "\x1b[24~" } + - { key: F1, mods: Shift, chars: "\x1b[1;2P" } + - { key: F2, mods: Shift, chars: "\x1b[1;2Q" } + - { key: F3, mods: Shift, chars: "\x1b[1;2R" } + - { key: F4, mods: Shift, chars: "\x1b[1;2S" } + - { key: F5, mods: Shift, chars: "\x1b[15;2~" } + - { key: F6, mods: Shift, chars: "\x1b[17;2~" } + - { key: F7, mods: Shift, chars: "\x1b[18;2~" } + - { key: F8, mods: Shift, chars: "\x1b[19;2~" } + - { key: F9, mods: Shift, chars: "\x1b[20;2~" } + - { key: F10, mods: Shift, chars: "\x1b[21;2~" } + - { key: F11, mods: Shift, chars: "\x1b[23;2~" } + - { key: F12, mods: Shift, chars: "\x1b[24;2~" } + - { key: F1, mods: Control, chars: "\x1b[1;5P" } + - { key: F2, mods: Control, chars: "\x1b[1;5Q" } + - { key: F3, mods: Control, chars: "\x1b[1;5R" } + - { key: F4, mods: Control, chars: "\x1b[1;5S" } + - { key: F5, mods: Control, chars: "\x1b[15;5~" } + - { key: F6, mods: Control, chars: "\x1b[17;5~" } + - { key: F7, mods: Control, chars: "\x1b[18;5~" } + - { key: F8, mods: Control, chars: "\x1b[19;5~" } + - { key: F9, mods: Control, chars: "\x1b[20;5~" } + - { key: F10, mods: Control, chars: "\x1b[21;5~" } + - { key: F11, mods: Control, chars: "\x1b[23;5~" } + - { key: F12, mods: Control, chars: "\x1b[24;5~" } + - { key: F1, mods: Alt, chars: "\x1b[1;6P" } + - { key: F2, mods: Alt, chars: "\x1b[1;6Q" } + - { key: F3, mods: Alt, chars: "\x1b[1;6R" } + - { key: F4, mods: Alt, chars: "\x1b[1;6S" } + - { key: F5, mods: Alt, chars: "\x1b[15;6~" } + - { key: F6, mods: Alt, chars: "\x1b[17;6~" } + - { key: F7, mods: Alt, chars: "\x1b[18;6~" } + - { key: F8, mods: Alt, chars: "\x1b[19;6~" } + - { key: F9, mods: Alt, chars: "\x1b[20;6~" } + - { key: F10, mods: Alt, chars: "\x1b[21;6~" } + - { key: F11, mods: Alt, chars: "\x1b[23;6~" } + - { key: F12, mods: Alt, chars: "\x1b[24;6~" } + - { key: F1, mods: Super, chars: "\x1b[1;3P" } + - { key: F2, mods: Super, chars: "\x1b[1;3Q" } + - { key: F3, mods: Super, chars: "\x1b[1;3R" } + - { key: F4, mods: Super, chars: "\x1b[1;3S" } + - { key: F5, mods: Super, chars: "\x1b[15;3~" } + - { key: F6, mods: Super, chars: "\x1b[17;3~" } + - { key: F7, mods: Super, chars: "\x1b[18;3~" } + - { key: F8, mods: Super, chars: "\x1b[19;3~" } + - { key: F9, mods: Super, chars: "\x1b[20;3~" } + - { key: F10, mods: Super, chars: "\x1b[21;3~" } + - { key: F11, mods: Super, chars: "\x1b[23;3~" } + - { key: F12, mods: Super, chars: "\x1b[24;3~" } diff --git a/config/i3/config b/config/i3/config index ad1172b..4e2f98f 100644 --- a/config/i3/config +++ b/config/i3/config @@ -70,7 +70,7 @@ bindsym $mod+Shift+q exec "i3-nagbar -t warning -m 'You pressed the exit shortcu bar { tray_output primary status_command status - font xft:DejaVuSansMono 10 + font xft:DejaVuSansMono 12 } exec --no-startup-id "i3-msg 'workspace 6; append_layout .config/i3/browser-workspace.json; exec firefox'" diff --git a/config/i3/terminal-workspace.json b/config/i3/terminal-workspace.json index edfc8c1..d957bc1 100644 --- a/config/i3/terminal-workspace.json +++ b/config/i3/terminal-workspace.json @@ -1,12 +1,16 @@ +// vim:ts=4:sw=4:et { + // splitv split container with 3 children "border": "pixel", "floating": "auto_off", "layout": "splitv", - "percent": 0.2979, + "marks": [], + "percent": 0.337251851851852, "type": "con", "nodes": [ { "border": "pixel", + "current_border_width": 1, "floating": "auto_off", "geometry": { "height": 340, @@ -14,7 +18,8 @@ "x": 0, "y": 0 }, - "name": "main:0:zsh - \"doy@lance:~\"", + "marks": [], + "name": "main:0:zsh - \"doy@hornet:~/conf\"", "percent": 0.333333333333333, "swallows": [ { @@ -25,6 +30,7 @@ }, { "border": "pixel", + "current_border_width": 1, "floating": "auto_off", "geometry": { "height": 340, @@ -32,7 +38,8 @@ "x": 0, "y": 0 }, - "name": "work:0:zsh - \"doy@lance:~/work\"", + "marks": [], + "name": "work:0:zsh - \"doy@hornet:~\"", "percent": 0.333333333333333, "swallows": [ { @@ -43,6 +50,7 @@ }, { "border": "pixel", + "current_border_width": 1, "floating": "auto_off", "geometry": { "height": 340, @@ -50,7 +58,8 @@ "x": 0, "y": 0 }, - "name": "misc:0:zsh - \"doy@lance:~\"", + "marks": [], + "name": "misc:0:mtr - \"doy@hornet:~\"", "percent": 0.333333333333333, "swallows": [ { @@ -63,14 +72,17 @@ } { + // splitv split container with 2 children "border": "pixel", "floating": "auto_off", "layout": "splitv", - "percent": 0.7021, + "marks": [], + "percent": 0.662748148148148, "type": "con", "nodes": [ { "border": "pixel", + "current_border_width": 1, "floating": "auto_off", "geometry": { "height": 340, @@ -78,7 +90,8 @@ "x": 0, "y": 0 }, - "name": "chat:0:WeeChat 0.4.3 - \"WeeChat 0.4.3\"", + "marks": [], + "name": "chat:0:vim - \"doy@hornet:~\"", "percent": 0.5, "swallows": [ { @@ -89,6 +102,7 @@ }, { "border": "pixel", + "current_border_width": 1, "floating": "auto_off", "geometry": { "height": 340, @@ -96,7 +110,8 @@ "x": 0, "y": 0 }, - "name": "docs:0:zsh - \"doy@lance:~\"", + "marks": [], + "name": "docs:0:zsh - \"doy@hornet:~\"", "percent": 0.5, "swallows": [ { @@ -107,3 +122,4 @@ } ] } + diff --git a/config/i3status/config b/config/i3status/config index 4c2bcdd..4ebe442 100644 --- a/config/i3status/config +++ b/config/i3status/config @@ -4,10 +4,8 @@ general { } order += "cpu_usage" -order += "wireless wlp3s0" -order += "ethernet enp0s25" +order += "wireless wlp0s20f3" order += "battery 0" -order += "battery 1" order += "time" order += "load" @@ -15,14 +13,9 @@ cpu_usage { format = "CPU: %usage" } -wireless wlp3s0 { - format_up = "wlp3s0: (%essid: %quality)" - format_down = "wlp3s0" -} - -ethernet enp0s25 { - format_up = "enp0s25: (%speed)" - format_down = "enp0s25" +wireless wlp0s20f3 { + format_up = "wlp0s20f3: (%essid: %quality)" + format_down = "wlp0s20f3" } battery 0 { @@ -30,11 +23,6 @@ battery 0 { format = "%status %percentage (%remaining %consumption)" } -battery 1 { - last_full_capacity = true - format = "%status %percentage (%remaining %consumption)" -} - time { format = "%a %b %d %H:%M:%S" } diff --git a/config/sh/env b/config/sh/env index 1b6d7da..a0ecde9 100644 --- a/config/sh/env +++ b/config/sh/env @@ -18,7 +18,7 @@ export LESS='-QR' export PERL_CPANM_OPT="-q --mirror http://mirrors.kernel.org/cpan/ --mirror http://cpan.metacpan.org/ --prompt" export FZF_DEFAULT_OPTS="--reverse --inline-info --bind=tab:down,shift-tab:up,change:top" export FZF_DEFAULT_COMMAND="ag --hidden -l ." -export FANCY_PROMPT_COLORS="user_doy=bright_blue,host_st-doy2=bright_white,host_tozt=bright_yellow,host_hush=bright_black,host_partofme=magenta,host_mail=green" +export FANCY_PROMPT_COLORS="user_doy=bright_blue,host_st-doy2=bright_white,host_tozt=bright_yellow,host_hush=bright_black,host_partofme=magenta,host_mail=green,host_hornet=red" export PASSWORD_STORE_X_SELECTION=primary type brew > /dev/null 2>&1 && export PATH="/usr/local/opt/coreutils/libexec/gnubin:/usr/local/opt/findutils/libexec/gnubin:/usr/local/sbin:$PATH" type brew > /dev/null 2>&1 && export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:/usr/local/opt/findutils/libexec/gnuman:$MANPATH" -- cgit v1.2.3-54-g00ecf