Compare commits

...

2 commits

Author SHA1 Message Date
Tony Blyler 58d2722580 Set wezterm to the more colorblind friendly gruvbox 2023-01-09 11:01:36 -05:00
Tony Blyler 9a52f7383e Transition to wezterm for i3 and add multi monitor support to polybar 2023-01-09 11:01:19 -05:00
3 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@
#
### Startup
exec_always --no-startup-id autotiling
exec --no-startup-id bash -c 'while sleep 1; do flock ~/.polybar.lock polybar mybar; done'
exec --no-startup-id bash -c 'trap "jobs -rp | xargs -r kill" EXIT; while sleep 1; do for MONITOR in $(polybar --list-monitors | cut -d : -f 1); do MONITOR="$MONITOR" flock "${HOME}/.cache/polybar.${MONITOR}.lock" polybar mybar & done; wait -n; jobs -rp | xargs -r kill; done'
exec --no-startup-id bash -c 'while sleep 15; do autorandr --change; done'
exec --no-startup-id dunst
exec --no-startup-id nm-applet
@ -50,14 +50,14 @@ bindsym $mod+Escape exec loginctl list-sessions | awk -v UID=$UID '$2 == UID{pri
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec alacritty
bindsym $mod+Return exec wezterm
# kill focused window
bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
#bindsym $mod+d exec --no-startup-id dmenu_run
bindsym $mod+d exec --no-startup-id rofi -show combi -run-shell-command 'alacritty -e zsh -ic "{cmd} && read"'
bindsym $mod+d exec --no-startup-id rofi -show combi -run-shell-command 'wezterm -- zsh -ic "{cmd} && read"'
# A more modern dmenu replacement is rofi:
# bindcode $mod+40 exec "rofi -modi drun,run -show drun"
# There also is i3-dmenu-desktop which only displays applications shipping a

View file

@ -28,7 +28,7 @@ secondary = #e60053
alert = #bd2c40
[bar/mybar]
;monitor = ${env:MONITOR:HDMI-1}
monitor = ${env:MONITOR:}
width = 100%
height = 27
;offset-x = 1%

View file

@ -1,7 +1,7 @@
local wezterm = require 'wezterm';
return {
color_scheme = 'Gruvbox Dark',
color_scheme = 'Gruvbox dark, hard (base16)',
font = wezterm.font('SauceCodePro Nerd Font Mono', {weight='Medium'}),
font_size = 12.0,
hide_tab_bar_if_only_one_tab = true,