From c7f2d4404306ecde8cd370fbf467faf0351ce818 Mon Sep 17 00:00:00 2001 From: Liam Malone Date: Fri, 17 Oct 2025 23:41:43 +0100 Subject: [PATCH] hypr-monitors, emacs config point to ~/.config --- configs/emacs/config.org | 7 +++---- configs/hypr-darp8/hypr-monitors.conf | 3 +++ configs/hypr-darp8/hyprland.conf | 14 ++++++++------ 3 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 configs/hypr-darp8/hypr-monitors.conf diff --git a/configs/emacs/config.org b/configs/emacs/config.org index 0582a89..1e07bf5 100644 --- a/configs/emacs/config.org +++ b/configs/emacs/config.org @@ -170,7 +170,7 @@ (lm/leader-keys "SPC" '(counsel-M-x :wk "Counsel M-x") "." '(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") "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 tab-width 2) (setq-default indent-line-function 'insert-tab) - (setq-default c-default-style "linux" - c-basic-offset 2) + (setq-default c-basic-offset 2) ;; if indent-tabs-mode is off, untabify before saving ;;(add-hook 'write-file-hooks ;; (lambda () (if (not indent-tabs-mode) @@ -585,7 +584,7 @@ Set themes dir, load chosen theme - theme made with [[https://emacsfodder.github * TRANSPARENCY True transparency support as of emacs 29 #+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 diff --git a/configs/hypr-darp8/hypr-monitors.conf b/configs/hypr-darp8/hypr-monitors.conf new file mode 100644 index 0000000..bf60fe9 --- /dev/null +++ b/configs/hypr-darp8/hypr-monitors.conf @@ -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 diff --git a/configs/hypr-darp8/hyprland.conf b/configs/hypr-darp8/hyprland.conf index fe36487..8ec91ea 100644 --- a/configs/hypr-darp8/hyprland.conf +++ b/configs/hypr-darp8/hyprland.conf @@ -6,9 +6,7 @@ exec-once= dms run # DankShell # Monitors -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 +source = ./hypr-monitors.conf # Environment @@ -153,6 +151,7 @@ $ws = workspace windowrule = $idleInhibFo, 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:^(praat)$ @@ -218,13 +217,15 @@ $mainCtrlShift = $mainCtrl SHIFT bind = $altMod, Return, exec, ghostty bind = $altShift, Return, exec, foot bind = $mainShift, D, exec, $discord + bind = $mainShift, S, exec, signal-desktop bind = $mainShift, E, exec, $emacs - bind = $mainMod, Space, exec, dms ipc call spotlight toggle bind = $mainMod, E, exec, thunar bind = $mainMod, S, exec, spotify bind = $mainMod, P, exec, $colorpick + bind = $none, Print, exec, $screenshotarea 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, M, exec, dms ipc call processlist 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 = $mainMod, N, exec, dms ipc call notifications toggle bind = $mainShift, N, exec, dms ipc call night toggle + bind = $mainCtrl, B, exec, dms ipc call bar toggle bind = $mainShift, P, pseudo, bind = $mainMod, C, killactive, bind = $mainMod, F, togglefloating, bind = $mainShift, F, fullscreen - bind = $mainShift, S, togglesplit, + bind = $mainCtrl, S, togglesplit, bind = $mainMod, right, resizeactive, 10 0 bind = $mainMod, left, resizeactive, -10 0 bind = $mainMod, up, 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 = $mainMod, F4, exit,