From d9939be12182d3df604001a61d45e76ac027bfbc Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Wed, 12 Jul 2023 19:10:46 +0200 Subject: [PATCH] add swayfx --- dot_config/sway/executable_config.tmpl | 42 +++++++++++++++++--------- dot_vimrc | 2 +- 2 files changed, 29 insertions(+), 15 deletions(-) diff --git a/dot_config/sway/executable_config.tmpl b/dot_config/sway/executable_config.tmpl index d619a2c..23cf6a6 100644 --- a/dot_config/sway/executable_config.tmpl +++ b/dot_config/sway/executable_config.tmpl @@ -12,7 +12,8 @@ set $mod Mod1 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. #font pango:monospace 12 -font pango:Terminus (TTF) Bold 12 +#font pango:Terminus (TTF) Bold 12 +font pango:"Hack Nerd Font" 9 set $bg-color #2f343f set $inactive-bg-color #2f343f @@ -188,6 +189,32 @@ bar { seat seat0 xcursor_theme capitaine-cursors 16 +# +# gaps +# +gaps inner 5 +smart_gaps off + +# +# Titlebars +# +font pango:"Hack Nerd Font" 9 +default_border pixel 3 +smart_borders on +default_floating_border normal +hide_edge_borders none +titlebar_border_thickness 0 + + +# +# Below is SwayFX extensions +# + +blur on +smart_corner_radius on +corner_radius 10 +default_dim_inactive 0.2 + # display resoulution # machine-specific configuration @@ -378,19 +405,6 @@ exec rm -f /tmp/wob && mkfifo /tmp/wob && tail -f /tmp/wob | wob exec rm -f /tmp/sov && mkfifo /tmp/sov && tail -f /tmp/sov | sov -t 200 exec rm -f /tmp/wcp && mkfifo /tmp/wcp && tail -f /tmp/wcp | wcp -f 300x190 -m 20 -a rt -default_border none -default_floating_border normal - -# Smart Gaps -smart_gaps on - -# Smart Borders -smart_borders on - -gaps inner 5 -gaps outer 0 -gaps top -5 - #xwayland disable include /etc/sway/config.d/* diff --git a/dot_vimrc b/dot_vimrc index 4211562..def9255 100644 --- a/dot_vimrc +++ b/dot_vimrc @@ -33,7 +33,7 @@ filetype indent on syntax on " Add numbers to each line on the left-hand side. -set number +"set number " Highlight cursor line underneath the cursor horizontally. "set cursorline