mirror of
https://github.com/artizirk/dotfiles.git
synced 2024-11-22 00:10:59 +02:00
Update font to TTF version of Terminus
This commit is contained in:
parent
86c055c993
commit
c12d97ecb7
@ -42,6 +42,6 @@ for output in tree['nodes']:
|
|||||||
windows_string = '\n'.join([f"<{app_id}> {app_name} --- {app_title}" for app_id, app_name, app_title in windows])
|
windows_string = '\n'.join([f"<{app_id}> {app_name} --- {app_title}" for app_id, app_name, app_title in windows])
|
||||||
|
|
||||||
# Call rofi and move focus to the selected window
|
# Call rofi and move focus to the selected window
|
||||||
selection = subprocess.check_output(['rofi', '-dmenu', '-i', '-p', 'window', '-normal-window', '-font', 'xos4 Terminus 12'], input=windows_string, universal_newlines=True)
|
selection = subprocess.check_output(['rofi', '-dmenu', '-i', '-p', 'window', '-normal-window', '-font', 'Terminus (TTF) Medium 12'], input=windows_string, universal_newlines=True)
|
||||||
window_id = selection.split(' ')[0][1:-1]
|
window_id = selection.split(' ')[0][1:-1]
|
||||||
subprocess.call(['swaymsg', f"[con_id=\"{window_id}\"]", 'focus'])
|
subprocess.call(['swaymsg', f"[con_id=\"{window_id}\"]", 'focus'])
|
||||||
|
@ -15,13 +15,13 @@ set $up k
|
|||||||
set $right l
|
set $right l
|
||||||
|
|
||||||
# Default font
|
# Default font
|
||||||
set $font "xos4 Terminus 12"
|
set $font "Terminus (TTF) Medium 12"
|
||||||
font pango:xos4 Terminus 12
|
font pango:Terminus (TTF) Medium 12
|
||||||
# Background image
|
# Background image
|
||||||
set $bg "~/Pildid/background.png"
|
set $bg "~/Pildid/background.png"
|
||||||
|
|
||||||
# Uses forked swaylock https://github.com/mortie/swaylock-effects
|
# Uses forked swaylock https://github.com/mortie/swaylock-effects
|
||||||
set $lockcmd swaylock --clock --datestr "%Y-%m-%d" --indicator --image $bg --tiling --hide-keyboard-layout --font "xos4 Terminus" --font-size 28 --text-color ffffff --inside-color 435366 --separator-color 435366 --ring-color 435366 --line-uses-ring
|
set $lockcmd swaylock --clock --datestr "%Y-%m-%d" --indicator --image $bg --tiling --hide-keyboard-layout --font "Terminus (TTF) Medium" --font-size 28 --text-color ffffff --inside-color 435366 --separator-color 435366 --ring-color 435366 --line-uses-ring
|
||||||
|
|
||||||
# Your preferred terminal emulator
|
# Your preferred terminal emulator
|
||||||
set $term gnome-terminal
|
set $term gnome-terminal
|
||||||
|
Loading…
Reference in New Issue
Block a user