Compare commits

...

2 Commits

4 changed files with 60 additions and 58 deletions

View File

@@ -5,7 +5,7 @@ draw_bold_text_with_bright_colors = false
TERM = "xterm-256color"
[font]
size = 10
size = 11
[font.bold]
family = "HurmitNerdFont"
@@ -14,4 +14,4 @@ family = "HurmitNerdFont"
family = "HurmitNerdFont"
[general]
import = ["~/.config/alacritty/dark.toml"]
import = ["~/.config/alacritty/light.toml"]

View File

@@ -1,31 +1,33 @@
# https://github.com/alacritty/alacritty-theme/blob/master/themes/nordic.toml
# Colors (Nordic)
# Colors (five-colors dark)
[colors.primary]
background = '#242933'
foreground = '#BBBDAF'
foreground = '#a29e98'
background = '#272117'
[colors.normal]
black = '#191C1D'
red = '#BD6062'
green = '#A3D6A9'
yellow = '#F0DFAF'
blue = '#8FB4D8'
magenta = '#C7A9D9'
cyan = '#B6D7A8'
white = '#BDC5BD'
black = '#85919b'
red = '#c37583'
green = '#44a386'
yellow = '#af8842'
blue = '#5396c7'
magenta = '#a57cba'
cyan = '#2da0ad'
white = '#b0bcc7'
[colors.bright]
black = '#727C7C'
red = '#D18FAF'
green = '#B7CEB0'
yellow = '#BCBCBC'
blue = '#E0CF9F'
magenta = '#C7A9D9'
cyan = '#BBDA97'
white = '#BDC5BD'
black = '#85919b'
red = '#f2a0ae'
green = '#73d0b1'
yellow = '#dcb46e'
blue = '#7fc3f5'
magenta = '#d2a8e8'
cyan = '#62cdda'
white = '#a29e98'
[colors.cursor]
cursor = '#73d0b1'
text = '#272117'
[colors.selection]
text = '#000000'
background = '#F0DFAF'
background = '#276c9a'
text = '#272117'

View File

@@ -1,35 +1,33 @@
# https://github.com/alacritty/alacritty-theme/blob/master/themes/night_owlish_light.toml
# Colors (Night Owlish Light)
# Colors (five-colors light)
[colors.primary]
background = '#ffffff'
foreground = '#403f53'
foreground = '#696257'
background = '#faf8f5'
[colors.normal]
black = '#011627'
red = '#d3423e'
green = '#2aa298'
yellow = '#daaa01'
blue = '#4876d6'
magenta = '#403f53'
cyan = '#08916a'
white = '#7a8181'
black = '#272117'
red = '#d0818f'
green = '#52af92'
yellow = '#bc944f'
blue = '#60a3d4'
magenta = '#b289c7'
cyan = '#3dadba'
white = '#b6c3cd'
[colors.bright]
black = '#7a8181'
red = '#f76e6e'
green = '#49d0c5'
yellow = '#dac26b'
blue = '#5ca7e4'
magenta = '#697098'
cyan = '#00c990'
white = '#989fb1'
black = '#919da7'
red = '#85c9fc'
green = '#7ad6b7'
yellow = '#e3ba74'
blue = '#60a3d4'
magenta = '#d9aeee'
cyan = '#85c9fc'
white = '#faf8f5'
[colors.cursor]
cursor = '#403f53'
text = '#fbfbfb'
cursor = '#7ad6b7'
text = '#faf8f5'
[colors.selection]
background = '#f2f2f2'
text = '#403f53'
background = '#3a7ead'
text = '#faf8f5'

View File

@@ -43,6 +43,7 @@ argenctl binding set normal Super+Shift Period window send next
argenctl binding set normal Super+Shift Comma window send prev
# Layout
argenctl binding set normal Super C layout switch columns
argenctl binding set normal Super M layout switch monocle
argenctl binding set normal Super S layout switch stacktile
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
# 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
argenctl binding set normal Super+Shift Space sh '
set -eu
prompt="$(fuzzel -dl0 -p"new > ")"
prompt="$(fuzzel -d --prompt-only "new > ")"
argenctl context new "$prompt"
'
# Rename current context interactively
argenctl binding set normal Super+Control Space sh '
set -eu
prompt="$(fuzzel -dl0 -p"rename > ")"
prompt="$(fuzzel -d --prompt-only "rename > ")"
argenctl context rename "$prompt"
'
# Assign currently focused window to be toggled with Super U
argenctl binding set normal Super+Shift U sh '
set -eu
window_id=$(argenctl window list --json | jq -r ".[] | select(.focused) | .id")
argenctl binding set normal Super U window toggle $window_id
id=$(argenctl window list --json | jq -r ".[] | select(.focused) | .id")
argenctl binding set normal Super U window toggle "$id"
'
# Attach window interactively
argenctl binding set normal Super+Shift D sh '
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"
'
@@ -99,14 +100,14 @@ argenctl binding set normal Super+Control D sh '
# Quit after confirmed with 'yes'
argenctl binding set normal Super+Shift Q sh '
set -eu
confirm="$(fuzzel -dl0 -p"quit? > ")"
confirm="$(fuzzel -d --prompt-only "quit? > ")"
if [ "$confirm" = yes ]; then
argenctl exit
fi
'
# 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_TOGGLE='wpctl set-mute @DEFAULT_SINK@ toggle'
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 XF86AudioRaiseVolume sh "$VOL_INC"
argenctl binding set $mode None XF86AudioMute sh "$VOL_TOGGLE"
argenctl binding set $mode None XF86MonBrightnessDown 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%-"