hypr-monitors, emacs config point to ~/.config
This commit is contained in:
@@ -170,7 +170,7 @@
|
|||||||
(lm/leader-keys
|
(lm/leader-keys
|
||||||
"SPC" '(counsel-M-x :wk "Counsel M-x")
|
"SPC" '(counsel-M-x :wk "Counsel M-x")
|
||||||
"." '(find-file :wk "Find file")
|
"." '(find-file :wk "Find file")
|
||||||
"f c" '((lambda () (interactive) (find-file "~/personal/nixos/configs/emacs/config.org")) :wk "Edit emacs config")
|
"f c" '((lambda () (interactive) (find-file "~/.config/emacs/config.org")) :wk "Edit emacs config")
|
||||||
"f r" '(counsel-recentf :wk "Find recent files")
|
"f r" '(counsel-recentf :wk "Find recent files")
|
||||||
"TAB TAB" '(comment-line :wk "Comment lines"))
|
"TAB TAB" '(comment-line :wk "Comment lines"))
|
||||||
|
|
||||||
@@ -400,8 +400,7 @@ Enable zoom in/out with c-=/- and also for c-scrl-up/down
|
|||||||
(setq-default indent-tabs-mode nil)
|
(setq-default indent-tabs-mode nil)
|
||||||
(setq-default tab-width 2)
|
(setq-default tab-width 2)
|
||||||
(setq-default indent-line-function 'insert-tab)
|
(setq-default indent-line-function 'insert-tab)
|
||||||
(setq-default c-default-style "linux"
|
(setq-default c-basic-offset 2)
|
||||||
c-basic-offset 2)
|
|
||||||
;; if indent-tabs-mode is off, untabify before saving
|
;; if indent-tabs-mode is off, untabify before saving
|
||||||
;;(add-hook 'write-file-hooks
|
;;(add-hook 'write-file-hooks
|
||||||
;; (lambda () (if (not indent-tabs-mode)
|
;; (lambda () (if (not indent-tabs-mode)
|
||||||
@@ -585,7 +584,7 @@ Set themes dir, load chosen theme - theme made with [[https://emacsfodder.github
|
|||||||
* TRANSPARENCY
|
* TRANSPARENCY
|
||||||
True transparency support as of emacs 29
|
True transparency support as of emacs 29
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(add-to-list 'default-frame-alist '(alpha-background . 90)) ;; for all new frames
|
(add-to-list 'default-frame-alist '(alpha-background . 100)) ;; for all new frames
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
monitor=eDP-1,1920x1080@60,0x0,1
|
||||||
|
monitor=HDMI-A-1,2560x1440@144,auto,1,mirror,eDP-1
|
||||||
|
monitor=,preferred,auto,1,mirror,eDP-1
|
||||||
@@ -6,9 +6,7 @@ exec-once= dms run # DankShell
|
|||||||
|
|
||||||
# Monitors
|
# Monitors
|
||||||
|
|
||||||
monitor=eDP-1,1920x1080@60,0x0,1
|
source = ./hypr-monitors.conf
|
||||||
monitor=HDMI-A-1,2560x1440@144,auto,1,mirror,eDP-1
|
|
||||||
monitor=,preferred,auto,1,mirror,eDP-1
|
|
||||||
|
|
||||||
# Environment
|
# Environment
|
||||||
|
|
||||||
@@ -153,6 +151,7 @@ $ws = workspace
|
|||||||
windowrule = $idleInhibFo, class:^(Discord|discord)$
|
windowrule = $idleInhibFo, class:^(Discord|discord)$
|
||||||
|
|
||||||
windowrule = opacity 0.98 0.90, class:^(Discord|discord)$
|
windowrule = opacity 0.98 0.90, class:^(Discord|discord)$
|
||||||
|
windowrule = opacity 0.96 0.90, class:^(Emacs|emacs)$
|
||||||
|
|
||||||
windowrule = float, class:^(polkit.*agent.*)$
|
windowrule = float, class:^(polkit.*agent.*)$
|
||||||
windowrule = float, class:^(praat)$
|
windowrule = float, class:^(praat)$
|
||||||
@@ -218,13 +217,15 @@ $mainCtrlShift = $mainCtrl SHIFT
|
|||||||
bind = $altMod, Return, exec, ghostty
|
bind = $altMod, Return, exec, ghostty
|
||||||
bind = $altShift, Return, exec, foot
|
bind = $altShift, Return, exec, foot
|
||||||
bind = $mainShift, D, exec, $discord
|
bind = $mainShift, D, exec, $discord
|
||||||
|
bind = $mainShift, S, exec, signal-desktop
|
||||||
bind = $mainShift, E, exec, $emacs
|
bind = $mainShift, E, exec, $emacs
|
||||||
bind = $mainMod, Space, exec, dms ipc call spotlight toggle
|
|
||||||
bind = $mainMod, E, exec, thunar
|
bind = $mainMod, E, exec, thunar
|
||||||
bind = $mainMod, S, exec, spotify
|
bind = $mainMod, S, exec, spotify
|
||||||
bind = $mainMod, P, exec, $colorpick
|
bind = $mainMod, P, exec, $colorpick
|
||||||
|
|
||||||
bind = $none, Print, exec, $screenshotarea
|
bind = $none, Print, exec, $screenshotarea
|
||||||
bind = $noneShift, Print, exec, $screenshot
|
bind = $noneShift, Print, exec, $screenshot
|
||||||
|
bind = $mainMod, Space, exec, dms ipc call spotlight toggle
|
||||||
bind = $mainMod, X, exec, dms ipc call powermenu toggle
|
bind = $mainMod, X, exec, dms ipc call powermenu toggle
|
||||||
bind = $mainMod, M, exec, dms ipc call processlist toggle
|
bind = $mainMod, M, exec, dms ipc call processlist toggle
|
||||||
bind = $mainMod, I, exec, dms ipc call settings toggle
|
bind = $mainMod, I, exec, dms ipc call settings toggle
|
||||||
@@ -233,17 +234,18 @@ $mainCtrlShift = $mainCtrl SHIFT
|
|||||||
bind = $mainCtrl, C, exec, dms ipc call control-center toggle
|
bind = $mainCtrl, C, exec, dms ipc call control-center toggle
|
||||||
bind = $mainMod, N, exec, dms ipc call notifications toggle
|
bind = $mainMod, N, exec, dms ipc call notifications toggle
|
||||||
bind = $mainShift, N, exec, dms ipc call night toggle
|
bind = $mainShift, N, exec, dms ipc call night toggle
|
||||||
|
bind = $mainCtrl, B, exec, dms ipc call bar toggle
|
||||||
|
|
||||||
bind = $mainShift, P, pseudo,
|
bind = $mainShift, P, pseudo,
|
||||||
bind = $mainMod, C, killactive,
|
bind = $mainMod, C, killactive,
|
||||||
bind = $mainMod, F, togglefloating,
|
bind = $mainMod, F, togglefloating,
|
||||||
bind = $mainShift, F, fullscreen
|
bind = $mainShift, F, fullscreen
|
||||||
bind = $mainShift, S, togglesplit,
|
bind = $mainCtrl, S, togglesplit,
|
||||||
bind = $mainMod, right, resizeactive, 10 0
|
bind = $mainMod, right, resizeactive, 10 0
|
||||||
bind = $mainMod, left, resizeactive, -10 0
|
bind = $mainMod, left, resizeactive, -10 0
|
||||||
bind = $mainMod, up, resizeactive, 0 -10
|
bind = $mainMod, up, resizeactive, 0 -10
|
||||||
bind = $mainMod, down, resizeactive, 0 10
|
bind = $mainMod, down, resizeactive, 0 10
|
||||||
bind = $mainMod, L, exec, $lock
|
bind = $mainCtrl, L, exec, $lock
|
||||||
bind = $mainCtrl, Q, exec, $lock
|
bind = $mainCtrl, Q, exec, $lock
|
||||||
bind = $mainMod, F4, exit,
|
bind = $mainMod, F4, exit,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user