librewolf => firefox, fix xdg-portals
This commit is contained in:
parent
4195ae817d
commit
529d46c909
6 changed files with 18 additions and 24 deletions
|
@ -7,7 +7,7 @@ bind = $mod, J, togglesplit
|
||||||
bind = $mod, F, fullscreen
|
bind = $mod, F, fullscreen
|
||||||
|
|
||||||
bind = $mod, L, exec, hyprlock
|
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 SHIFT, Q, killactive
|
||||||
bind = $mod, F5, exec, sh -c 'killall waybar; waybar --config ~/.config/waybar/config.hypr'
|
bind = $mod, F5, exec, sh -c 'killall waybar; waybar --config ~/.config/waybar/config.hypr'
|
||||||
|
|
|
@ -9,7 +9,7 @@ $scale = 1.25
|
||||||
$radius = 5
|
$radius = 5
|
||||||
$border = 2
|
$border = 2
|
||||||
|
|
||||||
$browser = librewolf
|
$browser = firefox
|
||||||
|
|
||||||
source = ~/.config/hypr/config.d/plugins.conf
|
source = ~/.config/hypr/config.d/plugins.conf
|
||||||
source = ~/.config/hypr/config.d/colors.conf
|
source = ~/.config/hypr/config.d/colors.conf
|
||||||
|
|
|
@ -15,3 +15,13 @@ gtk-launch thunderbird &
|
||||||
|
|
||||||
hyprpaper &
|
hyprpaper &
|
||||||
hypridle &
|
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 &
|
||||||
|
|
|
@ -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
|
|
|
@ -26,7 +26,7 @@ set $blur_radius 10
|
||||||
set $blur_passes 3
|
set $blur_passes 3
|
||||||
|
|
||||||
# Set browser
|
# Set browser
|
||||||
set $browser librewolf
|
set $browser firefox
|
||||||
|
|
||||||
# System configs
|
# System configs
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[Default Applications]
|
[Default Applications]
|
||||||
text/html=librewolf.desktop
|
text/html=firefox.desktop
|
||||||
image/png=imv.desktop
|
image/png=imv.desktop
|
||||||
image/jpeg=imv.desktop
|
image/jpeg=imv.desktop
|
||||||
image/webp=imv.desktop
|
image/webp=imv.desktop
|
||||||
|
@ -14,10 +14,10 @@ audio/mp3=mpv.desktop
|
||||||
audio/wav=mpv.desktop
|
audio/wav=mpv.desktop
|
||||||
application/pdf=org.pwmt.zathura.desktop
|
application/pdf=org.pwmt.zathura.desktop
|
||||||
application/x-shellscript=nvim.desktop
|
application/x-shellscript=nvim.desktop
|
||||||
x-scheme-handler/http=librewolf.desktop
|
x-scheme-handler/http=firefox.desktop
|
||||||
x-scheme-handler/https=librewolf.desktop
|
x-scheme-handler/https=firefox.desktop
|
||||||
x-scheme-handler/about=librewolf.desktop
|
x-scheme-handler/about=firefox.desktop
|
||||||
x-scheme-handler/unknown=librewolf.desktop
|
x-scheme-handler/unknown=firefox.desktop
|
||||||
x-scheme-handler/mspa=unofficial-homestuck-collection.desktop
|
x-scheme-handler/mspa=unofficial-homestuck-collection.desktop
|
||||||
|
|
||||||
[Added Associations]
|
[Added Associations]
|
||||||
|
|
Loading…
Reference in a new issue