Compare commits
2 Commits
dbdfac823c
...
fef0868168
| Author | SHA1 | Date | |
|---|---|---|---|
| fef0868168 | |||
| a26667a7bb |
@@ -5,7 +5,7 @@ draw_bold_text_with_bright_colors = false
|
|||||||
TERM = "xterm-256color"
|
TERM = "xterm-256color"
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
size = 10
|
size = 11
|
||||||
|
|
||||||
[font.bold]
|
[font.bold]
|
||||||
family = "HurmitNerdFont"
|
family = "HurmitNerdFont"
|
||||||
@@ -14,4 +14,4 @@ family = "HurmitNerdFont"
|
|||||||
family = "HurmitNerdFont"
|
family = "HurmitNerdFont"
|
||||||
|
|
||||||
[general]
|
[general]
|
||||||
import = ["~/.config/alacritty/dark.toml"]
|
import = ["~/.config/alacritty/light.toml"]
|
||||||
|
|||||||
@@ -1,31 +1,33 @@
|
|||||||
# https://github.com/alacritty/alacritty-theme/blob/master/themes/nordic.toml
|
# Colors (five-colors dark)
|
||||||
|
|
||||||
# Colors (Nordic)
|
|
||||||
|
|
||||||
[colors.primary]
|
[colors.primary]
|
||||||
background = '#242933'
|
foreground = '#a29e98'
|
||||||
foreground = '#BBBDAF'
|
background = '#272117'
|
||||||
|
|
||||||
[colors.normal]
|
[colors.normal]
|
||||||
black = '#191C1D'
|
black = '#85919b'
|
||||||
red = '#BD6062'
|
red = '#c37583'
|
||||||
green = '#A3D6A9'
|
green = '#44a386'
|
||||||
yellow = '#F0DFAF'
|
yellow = '#af8842'
|
||||||
blue = '#8FB4D8'
|
blue = '#5396c7'
|
||||||
magenta = '#C7A9D9'
|
magenta = '#a57cba'
|
||||||
cyan = '#B6D7A8'
|
cyan = '#2da0ad'
|
||||||
white = '#BDC5BD'
|
white = '#b0bcc7'
|
||||||
|
|
||||||
[colors.bright]
|
[colors.bright]
|
||||||
black = '#727C7C'
|
black = '#85919b'
|
||||||
red = '#D18FAF'
|
red = '#f2a0ae'
|
||||||
green = '#B7CEB0'
|
green = '#73d0b1'
|
||||||
yellow = '#BCBCBC'
|
yellow = '#dcb46e'
|
||||||
blue = '#E0CF9F'
|
blue = '#7fc3f5'
|
||||||
magenta = '#C7A9D9'
|
magenta = '#d2a8e8'
|
||||||
cyan = '#BBDA97'
|
cyan = '#62cdda'
|
||||||
white = '#BDC5BD'
|
white = '#a29e98'
|
||||||
|
|
||||||
|
[colors.cursor]
|
||||||
|
cursor = '#73d0b1'
|
||||||
|
text = '#272117'
|
||||||
|
|
||||||
[colors.selection]
|
[colors.selection]
|
||||||
text = '#000000'
|
background = '#276c9a'
|
||||||
background = '#F0DFAF'
|
text = '#272117'
|
||||||
|
|||||||
@@ -1,35 +1,33 @@
|
|||||||
# https://github.com/alacritty/alacritty-theme/blob/master/themes/night_owlish_light.toml
|
# Colors (five-colors light)
|
||||||
|
|
||||||
# Colors (Night Owlish Light)
|
|
||||||
|
|
||||||
[colors.primary]
|
[colors.primary]
|
||||||
background = '#ffffff'
|
foreground = '#696257'
|
||||||
foreground = '#403f53'
|
background = '#faf8f5'
|
||||||
|
|
||||||
[colors.normal]
|
[colors.normal]
|
||||||
black = '#011627'
|
black = '#272117'
|
||||||
red = '#d3423e'
|
red = '#d0818f'
|
||||||
green = '#2aa298'
|
green = '#52af92'
|
||||||
yellow = '#daaa01'
|
yellow = '#bc944f'
|
||||||
blue = '#4876d6'
|
blue = '#60a3d4'
|
||||||
magenta = '#403f53'
|
magenta = '#b289c7'
|
||||||
cyan = '#08916a'
|
cyan = '#3dadba'
|
||||||
white = '#7a8181'
|
white = '#b6c3cd'
|
||||||
|
|
||||||
[colors.bright]
|
[colors.bright]
|
||||||
black = '#7a8181'
|
black = '#919da7'
|
||||||
red = '#f76e6e'
|
red = '#85c9fc'
|
||||||
green = '#49d0c5'
|
green = '#7ad6b7'
|
||||||
yellow = '#dac26b'
|
yellow = '#e3ba74'
|
||||||
blue = '#5ca7e4'
|
blue = '#60a3d4'
|
||||||
magenta = '#697098'
|
magenta = '#d9aeee'
|
||||||
cyan = '#00c990'
|
cyan = '#85c9fc'
|
||||||
white = '#989fb1'
|
white = '#faf8f5'
|
||||||
|
|
||||||
[colors.cursor]
|
[colors.cursor]
|
||||||
cursor = '#403f53'
|
cursor = '#7ad6b7'
|
||||||
text = '#fbfbfb'
|
text = '#faf8f5'
|
||||||
|
|
||||||
[colors.selection]
|
[colors.selection]
|
||||||
background = '#f2f2f2'
|
background = '#3a7ead'
|
||||||
text = '#403f53'
|
text = '#faf8f5'
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ argenctl binding set normal Super+Shift Period window send next
|
|||||||
argenctl binding set normal Super+Shift Comma window send prev
|
argenctl binding set normal Super+Shift Comma window send prev
|
||||||
|
|
||||||
# Layout
|
# Layout
|
||||||
|
argenctl binding set normal Super C layout switch columns
|
||||||
argenctl binding set normal Super M layout switch monocle
|
argenctl binding set normal Super M layout switch monocle
|
||||||
argenctl binding set normal Super S layout switch stacktile
|
argenctl binding set normal Super S layout switch stacktile
|
||||||
argenctl binding set normal Super H layout set primary-ratio -0.05
|
argenctl binding set normal Super H layout set primary-ratio -0.05
|
||||||
@@ -59,33 +60,33 @@ argenctl binding set normal Super+Shift+Control X context close
|
|||||||
argenctl binding set normal Super Tab context switch --last
|
argenctl binding set normal Super Tab context switch --last
|
||||||
|
|
||||||
# Switch contexts interactively
|
# Switch contexts interactively
|
||||||
argenctl binding set normal Super Space sh 'argenctl context switch "$(argenctl context list | fuzzel -d)"'
|
argenctl binding set normal Super Space sh 'argenctl context switch "$(argenctl context list | fuzzel -d --only-match)"'
|
||||||
|
|
||||||
# Create new context interactively
|
# Create new context interactively
|
||||||
argenctl binding set normal Super+Shift Space sh '
|
argenctl binding set normal Super+Shift Space sh '
|
||||||
set -eu
|
set -eu
|
||||||
prompt="$(fuzzel -dl0 -p"new > ")"
|
prompt="$(fuzzel -d --prompt-only "new > ")"
|
||||||
argenctl context new "$prompt"
|
argenctl context new "$prompt"
|
||||||
'
|
'
|
||||||
|
|
||||||
# Rename current context interactively
|
# Rename current context interactively
|
||||||
argenctl binding set normal Super+Control Space sh '
|
argenctl binding set normal Super+Control Space sh '
|
||||||
set -eu
|
set -eu
|
||||||
prompt="$(fuzzel -dl0 -p"rename > ")"
|
prompt="$(fuzzel -d --prompt-only "rename > ")"
|
||||||
argenctl context rename "$prompt"
|
argenctl context rename "$prompt"
|
||||||
'
|
'
|
||||||
|
|
||||||
# Assign currently focused window to be toggled with Super U
|
# Assign currently focused window to be toggled with Super U
|
||||||
argenctl binding set normal Super+Shift U sh '
|
argenctl binding set normal Super+Shift U sh '
|
||||||
set -eu
|
set -eu
|
||||||
window_id=$(argenctl window list --json | jq -r ".[] | select(.focused) | .id")
|
id=$(argenctl window list --json | jq -r ".[] | select(.focused) | .id")
|
||||||
argenctl binding set normal Super U window toggle $window_id
|
argenctl binding set normal Super U window toggle "$id"
|
||||||
'
|
'
|
||||||
|
|
||||||
# Attach window interactively
|
# Attach window interactively
|
||||||
argenctl binding set normal Super+Shift D sh '
|
argenctl binding set normal Super+Shift D sh '
|
||||||
set -eu
|
set -eu
|
||||||
id=$(argenctl window list | fuzzel -d --with-nth 2 --accept-nth 1)
|
id=$(argenctl window list | fuzzel -d --with-nth 2 --accept-nth 1 --only-match)
|
||||||
argenctl window attach "$id"
|
argenctl window attach "$id"
|
||||||
'
|
'
|
||||||
|
|
||||||
@@ -99,14 +100,14 @@ argenctl binding set normal Super+Control D sh '
|
|||||||
# Quit after confirmed with 'yes'
|
# Quit after confirmed with 'yes'
|
||||||
argenctl binding set normal Super+Shift Q sh '
|
argenctl binding set normal Super+Shift Q sh '
|
||||||
set -eu
|
set -eu
|
||||||
confirm="$(fuzzel -dl0 -p"quit? > ")"
|
confirm="$(fuzzel -d --prompt-only "quit? > ")"
|
||||||
if [ "$confirm" = yes ]; then
|
if [ "$confirm" = yes ]; then
|
||||||
argenctl exit
|
argenctl exit
|
||||||
fi
|
fi
|
||||||
'
|
'
|
||||||
|
|
||||||
# Audio and brightness controls
|
# Audio and brightness controls
|
||||||
VOL_DEC='wpctl set-volume @DEFAULT_SINK@ --limit 1.5 5%-'
|
VOL_DEC='wpctl set-volume @DEFAULT_SINK@ 5%-'
|
||||||
VOL_INC='wpctl set-mute @DEFAULT_SINK@ 0 && wpctl set-volume @DEFAULT_SINK@ --limit 1.5 5%+'
|
VOL_INC='wpctl set-mute @DEFAULT_SINK@ 0 && wpctl set-volume @DEFAULT_SINK@ --limit 1.5 5%+'
|
||||||
VOL_TOGGLE='wpctl set-mute @DEFAULT_SINK@ toggle'
|
VOL_TOGGLE='wpctl set-mute @DEFAULT_SINK@ toggle'
|
||||||
for mode in normal locked; do
|
for mode in normal locked; do
|
||||||
@@ -116,6 +117,7 @@ for mode in normal locked; do
|
|||||||
argenctl binding set $mode None XF86AudioLowerVolume sh "$VOL_DEC"
|
argenctl binding set $mode None XF86AudioLowerVolume sh "$VOL_DEC"
|
||||||
argenctl binding set $mode None XF86AudioRaiseVolume sh "$VOL_INC"
|
argenctl binding set $mode None XF86AudioRaiseVolume sh "$VOL_INC"
|
||||||
argenctl binding set $mode None XF86AudioMute sh "$VOL_TOGGLE"
|
argenctl binding set $mode None XF86AudioMute sh "$VOL_TOGGLE"
|
||||||
|
|
||||||
argenctl binding set $mode None XF86MonBrightnessDown sh "brightnessctl s 5%-"
|
argenctl binding set $mode None XF86MonBrightnessDown sh "brightnessctl s 5%-"
|
||||||
argenctl binding set $mode None XF86MonBrightnessUp sh "brightnessctl s +5%"
|
argenctl binding set $mode None XF86MonBrightnessUp sh "brightnessctl s +5%"
|
||||||
argenctl binding set $mode Super+Shift Bracketleft sh "brightnessctl s 5%-"
|
argenctl binding set $mode Super+Shift Bracketleft sh "brightnessctl s 5%-"
|
||||||
|
|||||||
Reference in New Issue
Block a user