macOS sharing (DWIM style) reddit / emacs ---------------------------------------------------------------------- xenodium · 2022-10-12 04:05 ---------------------------------------------------------------------- xenodium · 2022-10-12 04:14 Details + snippet at https://xenodium.com/emacs-macos-share-from- dired-dwim-style ---------------------------------------------------------------------- konrad1977 · 2022-10-12 05:15 Nice, but we want to have that SwiftUI preview in projects now =) Seriously, nice to see that you embed the swift code directly in the snippet, this opens up a lot of possibiilties and can probably inspire others to also do great stuff. Thanks for sharing. ---------------------------------------------------------------------- daveliepmann · 2022-10-12 05:43 Super cool! ---------------------------------------------------------------------- raskolnikov_104 · 2022-10-12 06:37 Can it be done in GSconnect or KDE Connect? ---------------------------------------------------------------------- [deleted] · 2022-10-12 06:52 You're doing the lord's work. ---------------------------------------------------------------------- xenodium · 2022-10-12 09:16 Probably, though not familiar with either (not on Linux much these days), but take a look at all the examples for hints on how to go about it https://github.com/xenodium/dwim-shell- command/blob/main/dwim-shell-commands.el ---------------------------------------------------------------------- xenodium · 2022-10-12 09:33 😇 ---------------------------------------------------------------------- xenodium · 2022-10-12 10:45 > this opens up a lot of possibities and can probably inspire others to also do great stuff. With Swift, whatcha thinkin'? > Thanks for sharing. It was a fun hack. Glad you like it. ---------------------------------------------------------------------- konrad1977 · 2022-10-12 11:29 Yeah, there is no need to create a binary and invoke that from emacs, when you can *easily* integrate swift into the elisp function. ---------------------------------------------------------------------- Tohiko · 2022-10-12 13:36 Nice. Though just want to report that it doesn't seem to work correctly for fullscreen emacs (active desktop is switched but no menu shows up). ---------------------------------------------------------------------- morte9000 · 2022-10-12 14:04 This is really nice, does anybody knows if something similar is available for the Gnome Desktop? ---------------------------------------------------------------------- xenodium · 2022-10-12 18:45 Try v0.25 or this change: [https://github.com/xenodium/dwim-shell-comm and/commit/20e782b4bf1ea01fecfce3cc8ac4c5a74518cd80](https://github.co m/xenodium/dwim-shell- command/commit/20e782b4bf1ea01fecfce3cc8ac4c5a74518cd80) It takes you out of fullscreen for now, but is now functional. ---------------------------------------------------------------------- 9182763498761234 · 2022-10-13 11:52 What theme is this? ---------------------------------------------------------------------- xenodium · 2022-10-13 11:56 [Material](http://github.com/cpaulik/emacs-material-theme) with my own [tweaks](https://github.com/xenodium/dotsies/blob/main/emacs/features/ fe-ui.el#L42) ---------------------------------------------------------------------- 9182763498761234 · 2022-10-14 11:08 Thanks :-)