Compare commits

...

4 Commits

Author SHA1 Message Date
8d34b0f472 emacs : disable valign mode 2025-04-13 09:48:47 +09:00
8a0e52ab03 bspwm : add scratch pad 2025-03-19 16:26:05 +09:00
e559352d85 Merge remote-tracking branch 'origin/main' 2025-03-19 07:17:00 +09:00
baea7cf95e emacs : tramp config 2025-03-16 18:07:48 +09:00
5 changed files with 35 additions and 7 deletions

View File

@ -70,6 +70,7 @@ bspc config normal_private_border_color "$color1"
bspc rule -a Emacs state=tiled
# bspc rule -a \* state=tiled
bspc rule -a scpad sticky=on state=floating rectangle=1400x600+660+40
# TODO heres polybar
if [[ $JUPCID == "HOME-DESKTOP" ]]; then

View File

@ -123,5 +123,12 @@
:ensure t
:hook (after-init . global-so-long-mode))
;; remote edit
(use-package tramp
:ensure nil
:custom
(tramp-default-method "ssh")
(tramp-connection-timeout 5))
(provide 'init-edit)
;;; init-edit.el ends here.

View File

@ -269,13 +269,13 @@ prepended to the element after the #+HEADER: tag."
("DONE" :background "#C7C7C7" :foreground "#666666")
("KILL" :background "#C7C7C7" :foreground "#666666")))))
(use-package valign
:straight t
:ensure t
:defer t
:hook (org-mode . valign-mode)
:custom
(valign-fancy-bar t))
;; (use-package valign
;; :straight t
;; :ensure t
;; :defer t
;; :hook (org-mode . valign-mode)
;; :custom
;; (valign-fancy-bar t))
;; Auto-toggle Org LaTeX fragments

View File

@ -2,6 +2,8 @@
super+Return
alacritty
super+shift+Return
~/scripts/scpad
#Apps and programs
super+e
emacsclient -c -a 'emacs'

18
scripts/scpad Executable file
View File

@ -0,0 +1,18 @@
#!/usr/bin/env bash
winclass="$(xdotool search --class scpad)";
if [ -z "$winclass" ]; then
alacritty --class scpad
else
if [ ! -f /tmp/scpad ]; then
touch /tmp/scpad && xdo hide "$winclass"
elif [ -f /tmp/scpad ]; then
rm /tmp/scpad && xdo show "$winclass"
fi
fi