This commit is contained in:
jay 2023-04-19 10:41:55 +08:00
parent 350aaf8690
commit fbcdaa4c0e
2 changed files with 15 additions and 6 deletions

View File

@ -22,10 +22,18 @@ monitor=eDP-1,preferred,auto,1
exec-once = dbus-update-activation-environment --all
exec-once = kanshi
exec-once = dex -a -e kypr
exec-once = swayidle -w timeout 300 'swaylock -f -i ~/.config/swaylock/bg.png -s fill' timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' before-sleep 'swaylock -f -i ~/.config/swaylock/bg.png -s fill'
exec-once = swayidle -w \
timeout 300 'swaylock -f -i ~/.config/swaylock/bg.png -s fill' \
timeout 600 'hyprctl dispatch dpms off' \
resume 'hyprctl dispatch dpms on' \
before-sleep 'swaylock -f -i ~/.config/swaylock/bg.png -s fill'
exec-once = waybar
exec-once = swaybg -i ~/.config/hypr/bg.png -m fill
exec-once = udiskie &
# start applications
exec-once = telegram-desktop
exec-once = slack
# Source a file (multi-file configs)
@ -236,5 +244,7 @@ wsbind = 9, eDP-1
wsbind = 10, eDP-1
# set window rule
windowrulev2 = float,class:([Ss]lack)
windowrulev2 = float,class:(telegram)
windowrulev2 = float,class:^(Slack)$
windowrulev2 = workspace 8,class:^(Slack)$
windowrulev2 = float,class:^(org.telegram.desktop)$
windowrulev2 = workspace 8,class:^(org.telegram.desktop)$

View File

@ -133,9 +133,8 @@ function! AdaptColorscheme()
endfunction
autocmd ColorScheme * call AdaptColorscheme()
" colorscheme turtles
" colorscheme afterglow
" for chezmoi after edit auto apply
autocmd BufWritePost ~/.local/share/chezmoi/* ! chezmoi apply --source-path "%"
" define leader key
let mapleader=";"