dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 520df5a94eeeca0a127506f6a7ca8a7d90472aba
parent 3eaaeab31dae98505995fc12d62c9781b8a34528
Author: Chris Bracken <chris@bracken.jp>
Date:   Mon,  9 Mar 2020 10:00:48 -0700

Sway: Use slightly larger fonts, support Japanese

Set slightly larger fonts for Sway window titles, swaybar, and dmenu.
Enable Japanese support in titles.

Diffstat:
M.config/sway/config | 9+++++++--
M.config/sway/exit_check.sh | 2+-
2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/.config/sway/config b/.config/sway/config @@ -9,6 +9,9 @@ # Configure Xresources settings. exec xrdb ~/.Xresources +# Window title font +font pango:IPAGothic 14, DejaVu Sans Mono 12 + ### Variables # # Logo key. Use Mod1 for Alt. @@ -25,7 +28,7 @@ set $term alacritty # Your preferred application launcher # Note: it's recommended that you pass the final command to sway -set $menu dmenu_path | dmenu | xargs swaymsg exec -- +set $menu dmenu_path | dmenu -fn "DejaVu Sans Mono-16" | xargs swaymsg exec -- # Set lock screen handler set $lock_screen swaylock -c 000000 @@ -219,10 +222,12 @@ bindsym $mod+r mode "resize" # Read `man 5 sway-bar` for more information about this section. bar { position top + pango_markup disabled + font pango:IPAGothic 16, DejaVu Sans Mono 14 # When the status_command prints a new line to stdout, swaybar updates. # The default just shows the current date and time. - status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done + status_command while date +'%Y-%m-%d %k:%M'; do sleep 1; done colors { statusline #ffffff diff --git a/.config/sway/exit_check.sh b/.config/sway/exit_check.sh @@ -3,7 +3,7 @@ # Use dmenu to check if the user wants to exit i3. while [ "$choice" != "no" ] && [ "$choice" != "yes" ]; do - choice=$(/bin/echo -e 'no\nyes' | dmenu -p "Really exit?") + choice=$(/bin/echo -e 'no\nyes' | dmenu -fn "DejaVu Sans Mono-16" -p "Really exit?") done if [ "$choice" = "yes" ]; then swaymsg exit