swayfx blur, other changes

This commit is contained in:
TriMill 2023-05-21 13:45:39 -04:00
parent 4a52b61657
commit fbe77a7063
7 changed files with 72 additions and 25 deletions

View file

@ -13,7 +13,7 @@ window:
font: font:
normal: normal:
family: Fira Mono family: monospace
style: Regular style: Regular
bold: bold:
style: Bold style: Bold

View file

@ -0,0 +1,32 @@
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Twemoji</family>
<family>Font Awesome 6 Pro Regular</family>
<family>Times New Roman</family>
<family>DejaVu Serif</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Twemoji</family>
<family>Font Awesome 6 Pro Regular</family>
<family>Cantarell</family>
<family>Noto Sans</family>
<family>DejaVu Sans</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Fira Mono</family>
<family>Font Awesome 6 Pro Regular</family>
<family>Twemoji</family>
<family>DejaVu Sans Mono</family>
</prefer>
</alias>
</fontconfig>

View file

@ -18,7 +18,6 @@ colo termcolors
let g:python_highlight_all = 1 let g:python_highlight_all = 1
syntax on syntax on
filetype plugin indent on filetype plugin indent on
autocmd BufNewFile,BufRead,BufWritePost *.zsh-theme set syntax=zsh autocmd BufNewFile,BufRead,BufWritePost *.zsh-theme set syntax=zsh
@ -29,10 +28,10 @@ nnoremap <leader>B :call box#Draw()<CR>
" settings " settings
set autoindent set autoindent
set hlsearch set noexpandtab
set tabstop=4 set tabstop=4
set shiftwidth=0 set shiftwidth=0
set expandtab set hlsearch
set number relativenumber set number relativenumber
set encoding=utf-8 set encoding=utf-8
set nofoldenable set nofoldenable
@ -42,12 +41,12 @@ set modeline
set mouse=a set mouse=a
let g:lightline = { let g:lightline = {
\ 'colorscheme': 'termcolors', \ 'colorscheme': 'termcolors',
\ } \ }
let g:LanguageClient_serverCommands = { let g:LanguageClient_serverCommands = {
\ 'rust': ['rust-analyzer'], \ 'rust': ['rust-analyzer'],
\ } \ }
" Custom bindings for system copy-paste " Custom bindings for system copy-paste
nmap <C-y> "+yy nmap <C-y> "+yy

View file

@ -21,9 +21,7 @@ exec --no-startup-id rand-wallpaper
exec --no-startup-id webcord.sh exec --no-startup-id webcord.sh
exec --no-startup-id autotiling exec --no-startup-id autotiling
exec --no-startup-id nm-applet --indicator exec --no-startup-id nm-applet --indicator
exec --no-startup-id mqtt_notify.lua >/tmp/mqtt_notify.log exec --no-startup-id element.sh
exec --no-startup-id element-desktop
exec --no-startup-id "sleep 1; nextcloud"
assign [class="Element"] workspace number 8 assign [class="Element"] workspace number 8
assign [app_id="WebCord"] workspace number 9 assign [app_id="WebCord"] workspace number 9
@ -46,10 +44,10 @@ exec_always {
} }
# swaymsg -t get_outputs # swaymsg -t get_outputs
#output eDP-1 resolution 3840x2400 position 2133,0 output eDP-1 resolution 3840x2400 position 2133,0
#output DP-1 resolution 2560x1440 position 0,0 scale 1.2 output DP-1 resolution 2560x1440 position 0,0 scale 1.2
output eDP-1 resolution 3840x2400 position 1920,0 #output eDP-1 resolution 3840x2400 position 1920,0
output DP-1 resolution 1920x1080 position 0,0 #output DP-1 resolution 1920x1080 position 0,0
input "type:keyboard" { input "type:keyboard" {
xkb_layout us xkb_layout us
@ -63,7 +61,7 @@ exec swayidle -w \
before-sleep 'swaylock -f -c 14171d' before-sleep 'swaylock -f -c 14171d'
floating_modifier $mod normal floating_modifier $mod normal
gaps inner 12 gaps inner 14
default_border pixel 2 default_border pixel 2
default_floating_border pixel 2 default_floating_border pixel 2
@ -171,14 +169,14 @@ client.placeholder #14171d #14171d #ffffff #14171d #14171d
client.background #14171d client.background #14171d
# Status Bar: # Status Bar:
bar { bar swaybar_command waybar
swaybar_command waybar
}
# SwayFX # SwayFX
corner_radius 6
shadows on shadows on
shadow_blur_radius 8 shadow_blur_radius 15
shadow_color #14171db0 shadow_color #14171dff
blur enable
layer_effects "waybar" blur enable; shadows enable;
include /etc/sway/config.d/* include /etc/sway/config.d/*

View file

@ -4,10 +4,25 @@
transition: none; transition: none;
} }
/*
#waybar { #waybar {
background-color: rgba(20, 23, 29, 0.85); background-color: rgba(20, 23, 29, 0.85);
color: #c7c6c3; color: #c7c6c3;
} }
*/
window#waybar {
background-color: rgba(20, 23, 29, 0.85);
color: #c7c6c3;
}
/*
window#waybar > box {
margin-bottom: 8px;
color: #c7c6c3;
box-shadow: 0px 0px 3px 2px rgba(20, 23, 29, 0.70);
}
*/
button { button {
border: none; border: none;

View file

@ -1,6 +1,8 @@
#!/bin/zsh #!/bin/zsh
export PATH="$PATH:$HOME/.local/scripts:$HOME/.local/share/gem/ruby/3.0.0/bin/:$HOME/.cargo/bin" export PATH="$PATH:/usr/lib/rustup/bin:$HOME/.local/scripts:$HOME/.local/bin:$HOME/.local/share/gem/ruby/3.0.0/bin/:$HOME/.local/share/cargo/bin"
export LC_ALL=en_US.UTF-8
export QT_QPA_PLATFORM=wayland-egl export QT_QPA_PLATFORM=wayland-egl
export MOZ_ENABLE_WAYLAND=1 export MOZ_ENABLE_WAYLAND=1
@ -9,12 +11,15 @@ export VISUAL=/bin/nvim
export BROWSER=/bin/librewolf export BROWSER=/bin/librewolf
export FILE=/bin/thunar export FILE=/bin/thunar
export PAGER=/bin/less export PAGER=/bin/less
export TERMINAL=/bin/alacritty
export GNUPGHOME="$HOME/.config/gnupg" export GNUPGHOME="$HOME/.config/gnupg"
export CARGO_HOME="$HOME/.local/share/cargo" export CARGO_HOME="$HOME/.local/share/cargo"
export RUSTUP_HOME="$HOME/.local/share/rustup" export RUSTUP_HOME="$HOME/.local/share/rustup"
export MIX_HOME="$HOME/.local/share/mix" export MIX_HOME="$HOME/.local/share/mix"
export DEBUGINFOD_URLS="https://debuginfod.archlinux.org/"
if [ "$(tty)" = "/dev/tty1" ]; then if [ "$(tty)" = "/dev/tty1" ]; then
exec sway exec sway
fi fi

2
.zshrc
View file

@ -71,8 +71,6 @@ alias ~="cd ~"
# Confirm before copy # Confirm before copy
alias cp="cp -i" alias cp="cp -i"
alias grep=rg
# add color # add color
alias ccat='highlight --out-format=ansi' alias ccat='highlight --out-format=ansi'