updated
This commit is contained in:
parent
f82303ab80
commit
7701f77b25
|
@ -28,7 +28,7 @@ call plug#begin()
|
|||
Plug 'dylanaraps/wal.vim'
|
||||
call plug#end()
|
||||
|
||||
" vim-airline costomization
|
||||
" vim-airline costomiazation
|
||||
if !exists('g:airline_symbols')
|
||||
let g:airline_symbols = {}
|
||||
endif
|
||||
|
|
|
@ -285,6 +285,10 @@ include "$HOME/.cache/wal/colors-sway"
|
|||
output HDMI-A-1 pos 1920 0
|
||||
output eDP-1 pos 0 0
|
||||
|
||||
# enable xdg-desktop-portal-wlr for pipewire
|
||||
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||
|
||||
# screenshot
|
||||
set $screenshot 1 All, 2 Current, 3 Region, 4 Region (clipboard)
|
||||
mode "$screenshot" {
|
||||
|
|
|
@ -12,8 +12,11 @@ wal -i "$IMAGE"
|
|||
cat ~/.cache/wal/sequences
|
||||
source ~/.cache/wal/colors-tty.sh
|
||||
# update firefox's colors
|
||||
pywalfox update
|
||||
pywalfox update
|
||||
# update qt5
|
||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||
# update background with new image
|
||||
killall swaybg
|
||||
swaybg -i "$IMAGE" -m fill &
|
||||
echo "Done."
|
||||
# print image used to stdout
|
||||
chafa "$IMAGE"
|
||||
|
|
|
@ -15,6 +15,7 @@ export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"
|
|||
export NVM_DIR="$HOME/.config/nvm"
|
||||
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
|
||||
export VSCODE_PORTABLE="$XDG_DATA_HOME/vscode"
|
||||
export GOPATH="$XDG_DATA_HOME"/go
|
||||
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
|
|
@ -1,10 +1,15 @@
|
|||
# If using i3 then use pywal and pywalfox
|
||||
# If using sway then use pywal theme
|
||||
if [[ $XDG_SESSION_DESKTOP == "sway" ]]; then
|
||||
cat ~/.cache/wal/sequences
|
||||
export QT_QPA_PLATFORMTHEME="qt5ct"
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
|
||||
fi
|
||||
# if using wayland allow native rendering
|
||||
if [[ "$XDG_SESSION_TYPE" == "wayland" ]]; then
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
export GDK_BACKEND="wayland,x11"
|
||||
fi
|
||||
|
||||
# Lines configured by zsh-newuser-install
|
||||
|
|
Loading…
Reference in a new issue