mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-25 00:38:23 -05:00
Add xdg-desktop-portal-wlr config
This commit is contained in:
parent
432883e6cf
commit
f7b271fc59
27
deploy.sh
27
deploy.sh
@ -39,25 +39,26 @@ echo "
|
||||
"
|
||||
case ${server} in
|
||||
wayland)
|
||||
cp -rfv ./home/.config/foot/ ~/.config/foot/
|
||||
cp -rfv ./home/.config/hikari/ ~/.config/hikari/
|
||||
cp -rfv ./home/.config/foot/ ~/.config/foot/
|
||||
cp -rfv ./home/.config/hikari/ ~/.config/hikari/
|
||||
# Dunst is Wayland native too, since 1.6.0
|
||||
if command -v dunst >/dev/null
|
||||
then
|
||||
cp -rfv ./home/.config/dunst/ ~/.config/dunst/
|
||||
cp -rfv ./home/.config/dunst/ ~/.config/dunst/
|
||||
else
|
||||
cp -rfv ./home/.config/mako/ ~/.config/mako/
|
||||
cp -rfv ./home/.config/mako/ ~/.config/mako/
|
||||
fi
|
||||
cp -rfv ./home/.config/nwg-launchers/ ~/.config/nwg-launchers/
|
||||
cp -rfv ./home/.config/river/ ~/.config/river/
|
||||
cp -rfv ./home/.config/sway/ ~/.config/sway/
|
||||
cp -rfv ./home/.config/swaylock/ ~/.config/swaylock/
|
||||
cp -rfv ./home/.config/waybar/ ~/.config/waybar/
|
||||
cp -rfv ./home/.config/wofi/ ~/.config/wofi/
|
||||
cp -rfv ./home/.config/nwg-launchers/ ~/.config/nwg-launchers/
|
||||
cp -rfv ./home/.config/river/ ~/.config/river/
|
||||
cp -rfv ./home/.config/sway/ ~/.config/sway/
|
||||
cp -rfv ./home/.config/swaylock/ ~/.config/swaylock/
|
||||
cp -rfv ./home/.config/waybar/ ~/.config/waybar/
|
||||
cp -rfv ./home/.config/wofi/ ~/.config/wofi/
|
||||
cp -rfv ./home/.config/xdg-desktop-portal-wlr/ ~/.config/xdg-desktop-portal-wlr/
|
||||
# qimgv is preferable
|
||||
# cp -rfv ./home/.config/imv/ ~/.config/imv/
|
||||
# cp -rfv ./home/.config/pqivrc ~/.config/pqivrc
|
||||
cp -rfv ./home/.config/wayfire.ini ~/.config/wayfire.ini
|
||||
# cp -rfv ./home/.config/imv/ ~/.config/imv/
|
||||
# cp -rfv ./home/.config/pqivrc ~/.config/pqivrc
|
||||
cp -rfv ./home/.config/wayfire.ini ~/.config/wayfire.ini
|
||||
;;
|
||||
x11)
|
||||
cp -rfv ./home/.config/bsp-layout/ ~/.config/bsp-layout/
|
||||
|
@ -14,4 +14,5 @@ start_notify &
|
||||
wl-paste -t text --watch clipman store &
|
||||
waybar -c ~/.config/waybar/config-generic -s ~/.config/waybar/style-generic.css &
|
||||
mpDris2 &
|
||||
# /usr/libexec/xdg-desktop-portal-wlr
|
||||
# emacs --daemon &
|
||||
|
@ -5,8 +5,8 @@ x-scheme-handler/https=firefox.desktop
|
||||
x-scheme-handler/about=firefox.desktop
|
||||
x-scheme-handler/unknown=firefox.desktop
|
||||
video/*=mpv.desktop
|
||||
application/pdf=org.pwmt.zathura-pdf-poppler.desktop
|
||||
application/pdf=org.pwmt.zathura-pdf-mupdf.desktop
|
||||
|
||||
[Added Associations]
|
||||
video/*=mpv.desktop;
|
||||
application/pdf=org.pwmt.zathura-pdf-poppler.desktop;
|
||||
application/pdf=org.pwmt.zathura-pdf-mupdf.desktop;
|
||||
|
@ -15,6 +15,7 @@ riverctl spawn 'waybar'
|
||||
riverctl spawn 'swayidle -w before-sleep swaylock'
|
||||
riverctl spawn 'mpDris2'
|
||||
riverctl spawn 'wlwpp'
|
||||
# riverctl spawn '/usr/libexec/xdg-desktop-portal-wlr'
|
||||
# riverctl spawn 'emacs --daemon'
|
||||
|
||||
# Looks ────────────────────────────────────────────────────────────────────────
|
||||
|
@ -88,7 +88,8 @@ exec swayidle -w \
|
||||
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'swaylock'
|
||||
exec mpDris2
|
||||
exec swaywpp
|
||||
exec_always swaywpp
|
||||
# exec /usr/libexec/xdg-desktop-portal-wlr
|
||||
# exec emacs --daemon
|
||||
|
||||
# ______ ______
|
||||
|
@ -123,7 +123,7 @@ idle = swayidle -w before-sleep swaylock
|
||||
|
||||
# XDG desktop portal
|
||||
# Needed by some GTK applications
|
||||
# portal = /usr/libexec/xdg-desktop-portal
|
||||
# portal = /usr/libexec/xdg-desktop-portal-wlr
|
||||
|
||||
# Sound server
|
||||
pipewire = pipewire
|
||||
|
5
home/.config/xdg-desktop-portal-wlr/config
Normal file
5
home/.config/xdg-desktop-portal-wlr/config
Normal file
@ -0,0 +1,5 @@
|
||||
[screencast]
|
||||
output_name=eDP-1
|
||||
max_fps=30
|
||||
chooser_type=simple
|
||||
chooser_cmd=slurp -f %o -or
|
Loading…
Reference in New Issue
Block a user