librewolf => firefox, fix xdg-portals

This commit is contained in:
Freya Murphy 2024-11-03 13:26:33 -05:00
parent 4195ae817d
commit 529d46c909
Signed by: freya
GPG key ID: 9FBC6FFD6D2DBF17
6 changed files with 18 additions and 24 deletions

View file

@ -7,7 +7,7 @@ bind = $mod, J, togglesplit
bind = $mod, F, fullscreen
bind = $mod, L, exec, hyprlock
bind = $mod SHIFT, L, exec, killall Hyprland
bind = $mod SHIFT, L, exec, killall dbus-run-session
bind = $mod SHIFT, Q, killactive
bind = $mod, F5, exec, sh -c 'killall waybar; waybar --config ~/.config/waybar/config.hypr'

View file

@ -9,7 +9,7 @@ $scale = 1.25
$radius = 5
$border = 2
$browser = librewolf
$browser = firefox
source = ~/.config/hypr/config.d/plugins.conf
source = ~/.config/hypr/config.d/colors.conf

View file

@ -15,3 +15,13 @@ gtk-launch thunderbird &
hyprpaper &
hypridle &
sleep 0.5
killall -e xdg-desktop-portal-hyprland
killall xdg-desktop-portal-gtk
killall xdk-desktop-portal
sleep 0.5
$GUIX_PROFILE/libexec/xdg-desktop-portal-gtk &
$GUIX_PROFILE/libexec/xdg-desktop-portal-hyprland &
sleep 2
$GUIX_PROFILE/libexec/xdg-desktop-portal &

View file

@ -1,16 +0,0 @@
#!/bin/sh
systemctl --user set-environment XDG_CURRENT_DESKTOP=Hyprland
systemctl --user import-environment DISPLAY \
WAYLAND_DISPLAY \
XDG_CURRENT_DESKTOP \
GTK_THEME \
QT_QPA_PLATFORMTHEME
hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY \
XDG_CURRENT_DESKTOP=Hyprland \
WAYLAND_DISPLAY \
GTK_THEME \
QT_QPA_PLATFORMTHEME

View file

@ -26,7 +26,7 @@ set $blur_radius 10
set $blur_passes 3
# Set browser
set $browser librewolf
set $browser firefox
# System configs
include /etc/sway/config.d/*

View file

@ -1,5 +1,5 @@
[Default Applications]
text/html=librewolf.desktop
text/html=firefox.desktop
image/png=imv.desktop
image/jpeg=imv.desktop
image/webp=imv.desktop
@ -14,10 +14,10 @@ audio/mp3=mpv.desktop
audio/wav=mpv.desktop
application/pdf=org.pwmt.zathura.desktop
application/x-shellscript=nvim.desktop
x-scheme-handler/http=librewolf.desktop
x-scheme-handler/https=librewolf.desktop
x-scheme-handler/about=librewolf.desktop
x-scheme-handler/unknown=librewolf.desktop
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/about=firefox.desktop
x-scheme-handler/unknown=firefox.desktop
x-scheme-handler/mspa=unofficial-homestuck-collection.desktop
[Added Associations]