attempt/fail to set up swallowing for emacs

Amolith created

Change summary

dot_config/hypr/hyprland.conf.tmpl    | 2 ++
dot_config/zsh/private_dot_zshrc.tmpl | 8 ++++----
2 files changed, 6 insertions(+), 4 deletions(-)

Detailed changes

dot_config/hypr/hyprland.conf.tmpl 🔗

@@ -142,6 +142,8 @@ misc {
     disable_hyprland_logo   = true
     force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
     enable_swallow          = yes
+    swallow_regex           = "^c .*"
+    swallow_exception_regex = ".*Doom Emacs$"
     focus_on_activate       = no
 {{- if eq .theme_variant "light" }}
     background_color        = rgb(eff1f5)

dot_config/zsh/private_dot_zshrc.tmpl 🔗

@@ -124,8 +124,8 @@ export PATH="$PATH:$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform
 
 # Additional preferences
 export LANG=en_GB.UTF-8
-export EDITOR='devour emacsclient -c'
-export VISUAL='devour emacsclient -c'
+export EDITOR='emacsclient -c'
+export VISUAL='emacsclient -c'
 export _JAVA_AWT_WM_NONREPARENTING=1
 export MANPAGER="nvim +Man!"
 export COLUMNS=80
@@ -203,8 +203,8 @@ function gi() {
     curl -sLw https://www.toptal.com/developers/gitignore/api/$@ ;
 }
 # Hide the terminal when these apps are opened from a terminal
-function zathura() { devour zathura "$1" }
-function inkscape() { devour inkscape "$1" }
+function zathura() { zathura "$1" }
+function inkscape() { inkscape "$1" }
 
 # Navi integration
 _call_navi() {