add swayfx

This commit is contained in:
Simon Rieger 2023-07-12 19:10:46 +02:00
parent dcb0cedef4
commit d9939be121
2 changed files with 29 additions and 15 deletions

View file

@ -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/*

View file

@ -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