initial dotfiles
This commit is contained in:
commit
45e5fe53d2
370 changed files with 25449 additions and 0 deletions
20
.config/scripts/resetxdgportal.sh
Executable file
20
.config/scripts/resetxdgportal.sh
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env bash
|
||||
sleep 1
|
||||
killall xdg-desktop-portal-hyprland
|
||||
killall xdg-desktop-portal-gnome
|
||||
killall xdg-desktop-portal-kde
|
||||
killall xdg-desktop-portal-lxqt
|
||||
killall xdg-desktop-portal-wlr
|
||||
killall xdg-desktop-portal
|
||||
sleep 1
|
||||
|
||||
# Use different directory on NixOS
|
||||
if [ -d /run/current-system/sw/libexec ]; then
|
||||
libDir=/run/current-system/sw/libexec
|
||||
else
|
||||
libDir=/usr/lib
|
||||
fi
|
||||
|
||||
$libDir/xdg-desktop-portal-hyprland &
|
||||
sleep 2
|
||||
$libDir/xdg-desktop-portal &
|
||||
Loading…
Add table
Add a link
Reference in a new issue