Return to form
This commit is contained in:
parent
0ffc8e4c1d
commit
5a6629631e
6 changed files with 93 additions and 39 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
# This is an example Hyprland config file.
|
# This is an example Hyprland config file.
|
||||||
# Refer to the wiki for more information.
|
# Refer to the wiki for more information.
|
||||||
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/
|
# https://wiiki.hyprland.org/Configuring/Configuring-Hyprland/
|
||||||
|
|
||||||
# Please note not all available settings / options are set here.
|
# Please note not all available settings / options are set here.
|
||||||
# For a full list, see the wiki
|
# For a full list, see the wiki
|
||||||
|
|
@ -23,7 +23,8 @@
|
||||||
################
|
################
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
monitor=,1920x1080@75,0x0,1,vrr,2
|
monitor=DP-1,2560x1440@165,0x0,1,vrr,2
|
||||||
|
monitor=DP-2,preferred,auto,1, transform, 1
|
||||||
|
|
||||||
xwayland {
|
xwayland {
|
||||||
force_zero_scaling = true
|
force_zero_scaling = true
|
||||||
|
|
@ -228,8 +229,8 @@ misc {
|
||||||
}
|
}
|
||||||
|
|
||||||
render {
|
render {
|
||||||
explicit_sync = 1
|
# explicit_sync = 1
|
||||||
explicit_sync_kms = 1
|
# explicit_sync_kms = 1
|
||||||
direct_scanout = false #Important!
|
direct_scanout = false #Important!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -277,12 +278,12 @@ input {
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||||
gestures {
|
gestures {
|
||||||
workspace_swipe = false
|
# workspace_swipe = false
|
||||||
}
|
}
|
||||||
|
|
||||||
cursor {
|
cursor {
|
||||||
no_hardware_cursors = true
|
no_hardware_cursors = true
|
||||||
no_break_fs_vrr = true
|
no_break_fs_vrr = 2
|
||||||
inactive_timeout = 1
|
inactive_timeout = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -299,9 +300,10 @@ device {
|
||||||
####################
|
####################
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
$mainMod = MOD5 # Sets "RAlt" key as main modifier
|
#$mainMod = MOD5 # Sets "RAlt" key as main modifier
|
||||||
$emergencyMod = SHIFT # for whenever kbd/evdev is reset, so that I don't have to open another tty
|
$mainMod = SUPER
|
||||||
$secondaryMod = SUPER
|
#$emergencyMod = SHIFT # for whenever kbd/evdev is reset, so that I don't have to open another tty
|
||||||
|
$secondaryMod = LCTRL
|
||||||
|
|
||||||
|
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@ ConfigVersion=1
|
||||||
1920x1080 screen: YPosition=72
|
1920x1080 screen: YPosition=72
|
||||||
DP-2=DP-2
|
DP-2=DP-2
|
||||||
MenuBar=Disabled
|
MenuBar=Disabled
|
||||||
ToolBarsMovable=Disabled
|
|
||||||
|
|
||||||
[MainWindow][Toolbar sessionToolbar]
|
[MainWindow][Toolbar sessionToolbar]
|
||||||
ToolButtonStyle=IconOnly
|
ToolButtonStyle=IconOnly
|
||||||
|
|
|
||||||
|
|
@ -25,3 +25,6 @@ multi-compile https://www.reddit.com/r/emacs/comments/438vf5/is_there_a_way_to_c
|
||||||
zram https://www.phoronix.com/forums/forum/software/distributions/1506582-raspberry-pi-os-now-defaults-to-512mb-swap-updates-labwc-compositor
|
zram https://www.phoronix.com/forums/forum/software/distributions/1506582-raspberry-pi-os-now-defaults-to-512mb-swap-updates-labwc-compositor
|
||||||
relevant? https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/1506465-linux-6-12-released-with-real-time-capabilities-sched_ext-more-amd-rdna4-more/page3
|
relevant? https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/1506465-linux-6-12-released-with-real-time-capabilities-sched_ext-more-amd-rdna4-more/page3
|
||||||
pcie protocol stack marketing https://www.intel.com/content/www/us/en/docs/programmable/683647/18-0/pci-express-protocol-stack.html
|
pcie protocol stack marketing https://www.intel.com/content/www/us/en/docs/programmable/683647/18-0/pci-express-protocol-stack.html
|
||||||
|
camerita https://www.reddit.com/r/linuxquestions/comments/qbpdc3/webcam_controller_software/
|
||||||
|
crackling https://www.reddit.com/r/Gentoo/comments/14ca8zg/pipewire_crackling_when_cpu_is_under_load/?rdt=41985
|
||||||
|
crackling fix https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3098#note_1823699
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
;; Disable GC for the duration of init scripts
|
;; Disable GC for the duration of init scripts
|
||||||
(let ((gc-cons-threshold most-positive-fixnum))
|
(let ((gc-cons-threshold most-positive-fixnum))
|
||||||
(global-auto-revert-mode t)
|
(global-auto-revert-mode t)
|
||||||
;;(w32-register-hot-key [C-])
|
;;(w32-register-hot-key [C-]) --Windows!
|
||||||
(defconst user-init-dir
|
(defconst user-init-dir
|
||||||
(cond ((boundp 'user-emacs-directory)
|
(cond ((boundp 'user-emacs-directory)
|
||||||
user-emacs-directory)
|
user-emacs-directory)
|
||||||
|
|
@ -16,7 +16,6 @@
|
||||||
(load-file (expand-file-name file user-init-dir)))
|
(load-file (expand-file-name file user-init-dir)))
|
||||||
;; Lmao do the loading here
|
;; Lmao do the loading here
|
||||||
|
|
||||||
|
|
||||||
;; Eval buffer
|
;; Eval buffer
|
||||||
(global-set-key (kbd "<f5>") #'eval-buffer)
|
(global-set-key (kbd "<f5>") #'eval-buffer)
|
||||||
|
|
||||||
|
|
@ -67,9 +66,64 @@
|
||||||
(use-package projectile-ripgrep
|
(use-package projectile-ripgrep
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
|
(use-package crdt
|
||||||
|
:ensure t)
|
||||||
|
|
||||||
|
(use-package lua-mode
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(autoload 'lua-mode "lua-mode" "Lua editing mode." t)
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
|
||||||
|
(add-to-list 'interpreter-mode-alist '("lua" . lua-mode)))
|
||||||
|
|
||||||
|
(use-package super-save
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(super-save-mode +1)
|
||||||
|
(setq super-save-auto-save-when-idle t))
|
||||||
|
|
||||||
(use-package sudo-edit
|
(use-package sudo-edit
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
|
(use-package hl-todo
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
;; Enable hl-todo mode globally
|
||||||
|
(global-hl-todo-mode)
|
||||||
|
;; Define custom faces for the mode
|
||||||
|
(defface hl-todo-custom-face
|
||||||
|
'((t :weight ultra-bold :underline t :foreground "#db383d" : :inherit (hl-todo)))
|
||||||
|
"Custom keyface for the TODO keyword."
|
||||||
|
:group 'hl-todo)
|
||||||
|
(setq hl-todo-keyword-faces
|
||||||
|
'(("HOLD" . "#d0bf8f")
|
||||||
|
("TODO" . hl-todo-custom-face)
|
||||||
|
("todo" . hl-todo-custom-face)
|
||||||
|
("NEXT" . "#dca3a3")
|
||||||
|
("THEM" . "#dc8cc3")
|
||||||
|
("PROG" . "#7cb8bb")
|
||||||
|
("OKAY" . "#7cb8bb")
|
||||||
|
("DONT" . "#5f7f5f")
|
||||||
|
("FAIL" . "#8c5353")
|
||||||
|
("DONE" . "#afd8af")
|
||||||
|
("NOTE" . "#d0bf8f")
|
||||||
|
("KLUDGE" . "#d0bf8f")
|
||||||
|
("HACK" . "#d0bf8f")
|
||||||
|
("TEMP" . "#d0bf8f")
|
||||||
|
("FIXME" . "#cc9393")
|
||||||
|
("XXX+" . "#cc9393"))))
|
||||||
|
|
||||||
|
(use-package magit-todos
|
||||||
|
:ensure t
|
||||||
|
:after magit
|
||||||
|
:commands (magit-todos-mode)
|
||||||
|
:config
|
||||||
|
(setq magit-todos-nice nil)
|
||||||
|
;;(setq (magit-todos-git-grep-extra-args (list "-n")))
|
||||||
|
(setq magit-todos-scanner 'magit-todos--scan-with-rg)
|
||||||
|
;;(setq magit-todos-depth 100)
|
||||||
|
(magit-todos-mode 1))
|
||||||
|
|
||||||
(use-package markdown-mode
|
(use-package markdown-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:mode ("README\\.md\\'" . gfm-mode)
|
:mode ("README\\.md\\'" . gfm-mode)
|
||||||
|
|
@ -196,8 +250,6 @@
|
||||||
|
|
||||||
(treemacs-start-on-boot)
|
(treemacs-start-on-boot)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;;; USER CONFIG ;;;
|
;;; USER CONFIG ;;;
|
||||||
|
|
||||||
;;Remapping treemacs
|
;;Remapping treemacs
|
||||||
|
|
@ -213,7 +265,7 @@
|
||||||
(setq projectile-per-project-compilation-buffer t)
|
(setq projectile-per-project-compilation-buffer t)
|
||||||
|
|
||||||
;; Windows: Let git's UI ask for passphrase
|
;; Windows: Let git's UI ask for passphrase
|
||||||
;;(setenv "SSH_ASKPASS" "git-gui--askpass")
|
;;(setenv "SSH_ASKPASS" "git-gui--askpass") --only this one, iirc!
|
||||||
;;(require 'exec-path
|
;;(require 'exec-path
|
||||||
;;(exec-path-from-shell
|
;;(exec-path-from-shell
|
||||||
;;l-copy-env "SSH_AGENT_PID")
|
;;l-copy-env "SSH_AGENT_PID")
|
||||||
|
|
@ -242,18 +294,18 @@
|
||||||
(advice-add 'risky-local-variable-p :override #'ignore)
|
(advice-add 'risky-local-variable-p :override #'ignore)
|
||||||
|
|
||||||
;; Skip windows when switching
|
;; Skip windows when switching
|
||||||
(defvar ignore-windows-containing-buffers-matching-res '("Treemacs.*")
|
;; (defvar ignore-windows-containing-buffers-matching-res '("*Treemacs*")
|
||||||
"List of regular expressions specifying windows to skip (if window contains buffer that matches, skip)")
|
;; "List of regular expressions specifying windows to skip (if window contains buffer that matches, skip)")
|
||||||
|
|
||||||
(defadvice other-window (before other-window-ignore-windows-containing activate)
|
;; (defadvice other-window (before other-window-ignore-windows-containing activate)
|
||||||
"skip over windows containing buffers which match regular expressions in 'ignore-windows-containing-buffers-matching-res"
|
;; "skip over windows containing buffers which match regular expressions in 'ignore-windows-containing-buffers-matching-res"
|
||||||
(if (and (= 1 (ad-get-arg 0)) (interactive-p))
|
;; (if (and (= 1 (ad-get-arg 0)) (interactive-p))
|
||||||
(let* ((win (next-window))
|
;; (let* ((win (next-window))
|
||||||
(bname (buffer-name (window-buffer win))))
|
;; (bname (buffer-name (window-buffer win))))
|
||||||
(when (some 'identity (mapcar '(lambda (re)
|
;; (when (some 'identity (mapcar '(lambda (re)
|
||||||
(string-match re bname))
|
;; (string-match re bname))
|
||||||
ignore-windows-containing-buffers-matching-res))
|
;; ignore-windows-containing-buffers-matching-res))
|
||||||
(ad-set-arg 0 2)))))
|
;; (ad-set-arg 0 2)))))
|
||||||
|
|
||||||
;; Disable splash screen and startup message
|
;; Disable splash screen and startup message
|
||||||
(setq inhibit-startup-message t)
|
(setq inhibit-startup-message t)
|
||||||
|
|
@ -299,7 +351,6 @@
|
||||||
(define-key input-decode-map [?\C-m] [C-m])
|
(define-key input-decode-map [?\C-m] [C-m])
|
||||||
(global-set-key (kbd "<C-m>") 'undo-redo)
|
(global-set-key (kbd "<C-m>") 'undo-redo)
|
||||||
|
|
||||||
|
|
||||||
;;zap-to-char M-z, toggle-input-method C-\, transpose-chars C-t
|
;;zap-to-char M-z, toggle-input-method C-\, transpose-chars C-t
|
||||||
(global-set-key (kbd "M-b") 'backward-char)
|
(global-set-key (kbd "M-b") 'backward-char)
|
||||||
(global-set-key (kbd "M-f") 'forward-char)
|
(global-set-key (kbd "M-f") 'forward-char)
|
||||||
|
|
@ -328,7 +379,6 @@
|
||||||
(global-set-key [f8] 'projectile-find-file)
|
(global-set-key [f8] 'projectile-find-file)
|
||||||
(global-set-key [f7] 'projectile-compile-project)
|
(global-set-key [f7] 'projectile-compile-project)
|
||||||
|
|
||||||
|
|
||||||
;; oddly specific buffer movement
|
;; oddly specific buffer movement
|
||||||
|
|
||||||
(global-set-key (kbd "C-h u") 'info-apropos)
|
(global-set-key (kbd "C-h u") 'info-apropos)
|
||||||
|
|
@ -352,8 +402,6 @@
|
||||||
'grep-find-command
|
'grep-find-command
|
||||||
'("find -L . -type f -exec grep --color=auto -nH --null -e \{\} +" . 58))
|
'("find -L . -type f -exec grep --color=auto -nH --null -e \{\} +" . 58))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
(define-key dired-mode-map (kbd "RET") 'dired-find-alternate-file)
|
(define-key dired-mode-map (kbd "RET") 'dired-find-alternate-file)
|
||||||
(define-key dired-mode-map (kbd "a") 'dired-find-file)
|
(define-key dired-mode-map (kbd "a") 'dired-find-file)
|
||||||
|
|
@ -364,10 +412,8 @@
|
||||||
(setq compilation-scroll-output t)
|
(setq compilation-scroll-output t)
|
||||||
|
|
||||||
;;Don't ask for following symlinks (nil = treat as from where we're accessing)
|
;;Don't ask for following symlinks (nil = treat as from where we're accessing)
|
||||||
|
|
||||||
(setq vc-follow-symlinks nil)
|
(setq vc-follow-symlinks nil)
|
||||||
|
|
||||||
|
|
||||||
;; Copy config
|
;; Copy config
|
||||||
(defun copy-region-or-word ()
|
(defun copy-region-or-word ()
|
||||||
"If mark is active, copy region. Otherwise, copy word currently on cursor"
|
"If mark is active, copy region. Otherwise, copy word currently on cursor"
|
||||||
|
|
@ -456,9 +502,11 @@
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
|
'(markdown-command "/usr/bin/pandoc")
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
'(benchmark-init helm-projectile markdown-mode projectile
|
'(benchmark-init crdt helm-projectile hl-todo lua-mode magit-todos
|
||||||
projectile-ripgrep ripgrep ssh-agency sudo-edit
|
markdown-mode projectile projectile-ripgrep
|
||||||
|
ripgrep ssh-agency sudo-edit super-save
|
||||||
tangotango-theme treemacs treemacs-evil
|
tangotango-theme treemacs treemacs-evil
|
||||||
treemacs-icons-dired treemacs-magit treemacs-persp
|
treemacs-icons-dired treemacs-magit treemacs-persp
|
||||||
treemacs-projectile treemacs-tab-bar))
|
treemacs-projectile treemacs-tab-bar))
|
||||||
|
|
|
||||||
|
|
@ -105,8 +105,8 @@ Anchor=0.5,0.5
|
||||||
Blur=true
|
Blur=true
|
||||||
ColorRandomization=true
|
ColorRandomization=true
|
||||||
Description=Breeze
|
Description=Breeze
|
||||||
FillStyle=Tile
|
FillStyle=Crop
|
||||||
Opacity=0.51
|
Opacity=0.67
|
||||||
Wallpaper=
|
Wallpaper=/home/Hane/Pictures/meg.jpg
|
||||||
WallpaperFlipType=NoFlip
|
WallpaperFlipType=NoFlip
|
||||||
WallpaperOpacity=1
|
WallpaperOpacity=0.15
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,8 @@ Parent=FALLBACK/
|
||||||
KeyBindings=New Key Binding List
|
KeyBindings=New Key Binding List
|
||||||
|
|
||||||
[Scrolling]
|
[Scrolling]
|
||||||
|
HistoryMode=1
|
||||||
|
HistorySize=5000
|
||||||
ScrollBarPosition=2
|
ScrollBarPosition=2
|
||||||
|
|
||||||
[Terminal Features]
|
[Terminal Features]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue