From 772209b7028b5273f962305a47cf4abb3a9936d5 Mon Sep 17 00:00:00 2001 From: linlyboi Date: Fri, 24 May 2024 23:01:55 +0300 Subject: [PATCH] emacs everywhere, floating and ponylang --- private_dot_config/doom/init.el | 2 +- private_dot_config/doom/packages.el | 1 + private_dot_config/i3/misc.conf | 1 + private_dot_config/i3/window_rules.conf | 6 ++++-- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/private_dot_config/doom/init.el b/private_dot_config/doom/init.el index 7dc1190..9dae44c 100644 --- a/private_dot_config/doom/init.el +++ b/private_dot_config/doom/init.el @@ -184,7 +184,7 @@ :app calendar ;;emms - ;;everywhere ; *leave* Emacs!? You must be joking + everywhere ; *leave* Emacs!? You must be joking ;;irc ; how neckbeards socialize ;;(rss +org) ; emacs as an RSS reader ;;twitter ; twitter client https://twitter.com/vnought diff --git a/private_dot_config/doom/packages.el b/private_dot_config/doom/packages.el index b25ec13..c437743 100644 --- a/private_dot_config/doom/packages.el +++ b/private_dot_config/doom/packages.el @@ -57,6 +57,7 @@ :recipe (:host github :repo "zkry/awqat")) (package! org-contrib) +(package! ponylang-mode) ;; Doom's packages are pinned to a specific commit and updated from release to ;; release. The `unpin!' macro allows you to unpin single packages... ;(unpin! pinned-package) diff --git a/private_dot_config/i3/misc.conf b/private_dot_config/i3/misc.conf index c11f292..da74625 100644 --- a/private_dot_config/i3/misc.conf +++ b/private_dot_config/i3/misc.conf @@ -91,3 +91,4 @@ bindsym $mod+u exec i3-input -F '[con_mark="%s"] focus' -l 1 -P 'Goto: ' # Super + Tab bindsym $mod+Tab workspace next_on_output bindsym $mod+shift+Tab workspace prev_on_output +bindsym $mod+$alt+e exec emacsclient --eval '(emacs-everywhere)' diff --git a/private_dot_config/i3/window_rules.conf b/private_dot_config/i3/window_rules.conf index 6bf2679..62314a3 100644 --- a/private_dot_config/i3/window_rules.conf +++ b/private_dot_config/i3/window_rules.conf @@ -14,7 +14,8 @@ workspace $Game output primary DP-0 HDMI-0 DP-3 DVI-D-0 DVI-I-1 workspace $Mail output HDMI-0 DP-3 DVI-D-0 DVI-I-1 primary DP-0 #Window Rules - +floating_minimum_size 150 x 100 +floating_maximum_size 1280 x 720 #Terminal assign [class = "kitty"] $Terminal @@ -33,7 +34,7 @@ assign [class = "jetbrains-idea"] $Code assign [class = "jetbrains-studio"] $Code assign [class = "neovide"] $Code assign [class = "VSCodium"] $Code -assign [class = "Emacs"] $Code +# assign [class = "Emacs"] $Code #Ircs assign [class = "discord"] $IRC @@ -134,3 +135,4 @@ for_window [title = "work" class = "kitty"] move to workspace $Code for_window [title = "Albion Online Launcher"] move to workspace $Steam for_window [title = "Albion Online Client"] move to workspace $Game for_window [title = ".*Telega Root*."] move to workspace $IRC +for_window [title = ".*Emacs Everywhere*."] floating enabled, resize set 600 200, move position mouse