From bae3421f2f8b960a8ebdf9f8a89857cc1d104773 Mon Sep 17 00:00:00 2001 From: q3aql Date: Fri, 31 Dec 2021 11:55:14 +0100 Subject: [PATCH] Load xterm config on Wayland --- .Xresources | 3 ++- .config/sway/config | 3 ++- .config/sway/xterm-wayland | 5 +++++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100755 .config/sway/xterm-wayland diff --git a/.Xresources b/.Xresources index ee17931..4b3fc62 100644 --- a/.Xresources +++ b/.Xresources @@ -9,7 +9,8 @@ Xft.hintstyle: hintfull Xft.lcdfilter: lcdfilter XTerm*renderFont: true -XTerm*faceName: xft:Mononoki Nerd Font +!XTerm*faceName: xft:Mononoki Nerd Font +XTerm*faceName: xft:Monospace XTerm*faceSize: 10 XTerm*utf8: 2 XTerm*locale: true diff --git a/.config/sway/config b/.config/sway/config index 8191491..589de29 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -90,7 +90,8 @@ bindsym $mod+p exec --no-startup-id wofi --show run bindsym $mod+g exec --no-startup-id geany bindsym $mod+m exec --no-startup-id telegram bindsym $mod+z exec --no-startup-id alacritty -e wf-recorder -bindsym $mod+u exec --no-startup-id xterm +#bindsym $mod+u exec --no-startup-id xterm +bindsym $mod+u exec --no-startup-id ~/.config/sway/xterm-wayland bindsym $mod+t exec --no-startup-id ~/.config/sway/wayland-screenshot bindsym $mod+i exec --no-startup-id lxappearance diff --git a/.config/sway/xterm-wayland b/.config/sway/xterm-wayland new file mode 100755 index 0000000..3528ebc --- /dev/null +++ b/.config/sway/xterm-wayland @@ -0,0 +1,5 @@ +#!/bin/bash + +# Load xterm config on Wayland +xrdb -load ~/.Xresources +xterm