Skip to content

Commit b91427a

Browse files
committed
simplified screenshot, default web handler
1 parent 0b84766 commit b91427a

File tree

8 files changed

+6
-116
lines changed

8 files changed

+6
-116
lines changed

files/system/etc/skel/.config/flameshot/flameshot.ini

Lines changed: 0 additions & 16 deletions
This file was deleted.

files/system/etc/xdg/labwc/autostart

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ export XDG_SESSION_TYPE="${XDG_SESSION_TYPE:-wayland}"
99
export XDG_DATA_DIRS="${XDG_DATA_DIRS:-$HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share}"
1010
systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP XDG_SESSION_TYPE XDG_DATA_DIRS
1111

12+
xdg-settings set default-web-browser dms-open.desktop
13+
xdg-mime default dms-open.desktop x-scheme-handler/http
14+
xdg-mime default dms-open.desktop x-scheme-handler/https
15+
1216
# Make sure dbus-activated services (like xdg-desktop-portal) see the session env.
1317
if command -v dbus-update-activation-environment >/dev/null 2>&1; then
1418
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP XDG_SESSION_TYPE XDG_DATA_DIRS
@@ -24,9 +28,6 @@ systemctl --user reset-failed \
2428
labwc-themerc-update.path \
2529
xdg-desktop-portal.service \
2630
xdg-desktop-portal-wlr.service \
27-
flameshot-theme-update.service \
28-
flameshot-theme-update.path \
29-
flameshot.service >/dev/null 2>&1 || true
3031

3132
# Start/prime DMS and helper generators; path units keep them updated as state changes.
3233
systemctl --user start \
@@ -38,7 +39,4 @@ systemctl --user start \
3839
labwc-themerc-update.path \
3940
xdg-desktop-portal-wlr.service \
4041
xdg-desktop-portal.service \
41-
flameshot-theme-update.service \
42-
flameshot-theme-update.path \
43-
flameshot.service \
4442
graphical-session.target >/dev/null 2>&1 || true

files/system/usr/lib/systemd/user/flameshot-theme-update.path

Lines changed: 0 additions & 9 deletions
This file was deleted.

files/system/usr/lib/systemd/user/flameshot-theme-update.service

Lines changed: 0 additions & 10 deletions
This file was deleted.

files/system/usr/lib/systemd/user/flameshot.service

Lines changed: 0 additions & 17 deletions
This file was deleted.

files/system/usr/libexec/dms/flameshot-theme-update.sh

Lines changed: 0 additions & 54 deletions
This file was deleted.

files/system/usr/share/dms/labwc-rc.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
<!-- Print Screen: launch Flameshot -->
9898
<keybind key="Print">
9999
<action name="Execute">
100-
<command>flameshot gui</command>
100+
<command>dms screenshot</command>
101101
</action>
102102
</keybind>
103103
<!-- Super + E: launch Thunar -->

recipes/recipe.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ modules:
4646
- labwc-themerc-update.path
4747
- dms-gtk-theme.service
4848
- dms-gtk-theme.path
49-
- flameshot-theme-update.service
50-
- flameshot-theme-update.path
5149
- dsearch.service
5250

5351
- type: dnf
@@ -66,13 +64,13 @@ modules:
6664
- dgop
6765
- dms
6866
- dsearch
69-
- flameshot
7067
- ghostty
7168
- gnome-online-accounts-gtk
7269
- grim
7370
- khal
7471
- labwc
7572
- labwc-menu-generator
73+
- loginctl
7674
- papirus-icon-theme
7775
- syncthing
7876
- thunar

0 commit comments

Comments
 (0)