Skip to content

Commit dd54aff

Browse files
committed
Aedded .desktop file
1 parent 94c5ab9 commit dd54aff

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ git clone https://github.com/stefonarch/wshot.git
2323
cd wshot
2424
sudo cp ./wshot /usr/local/bin/
2525
sudo cp wshot.png /usr/share/pixmaps/
26+
sudo cp wshot.desktop /usr/share/applications
2627
```
2728

2829
## Usage
@@ -33,7 +34,6 @@ If no custom filename is set it defaults to `screenshot_$(date +%F_%H.%M.%S)` e.
3334

3435
**Note**: "Selected window" mode is working only in sway and wayfire at the moment.
3536

36-
Launching using an eventual `wshot.desktop` file results in "selected area" (`slurp`) not working, therefor launching by shortcut or cli is recommended.
3737

3838
Not tested using zenity instead of qarma.
3939

wshot.desktop

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Desktop Entry]
2+
Name=WShot
3+
GenericName=Screenshot tool for wayland
4+
Comment=
5+
Exec=bash -c "wshot &"
6+
Type=Application
7+
Categories=Graphics; Utility;
8+
Icon=wshot
9+
Terminal=false

0 commit comments

Comments
 (0)