mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
Emacs: Fix: Emacs mouse wheel scrolling was overshooting sometimes Feat: Hide more useless messages in the echo are (NO CHILDREN) Feat: Add presentation mode using org-present Fix: Fix org-tempo angled brackets insertion Feat: better math mode in AucTeX in lieu of some yasnippet bits Fix: add treesitter modes to eglot for automatic startup Fix: Make mu4e automatic sender address choosing more robust NixOS: Feat: Add oama derivation Feat: Add main email sender address to config Feat: Add opacity toggle (for use with presentation mode)
10 lines
249 B
Bash
Executable file
10 lines
249 B
Bash
Executable file
#!/bin/bash
|
|
|
|
STR=$(swaymsg -t get_tree | grep Element)
|
|
if [ "$STR" == "" ]; then
|
|
exec element-desktop
|
|
#exec swaymsg '[app_id=SchildiChat]' move container to scratchpad; scratchpad show
|
|
else
|
|
exec swaymsg '[app_id=Element]' kill
|
|
fi
|
|
exit 0
|