20241212
This commit is contained in:
parent
ab8752cbac
commit
e4a5818b39
3 changed files with 15 additions and 8 deletions
|
@ -534,7 +534,7 @@ It should only modify the values of Spacemacs settings."
|
|||
;; which major modes have whitespace cleanup enabled or disabled
|
||||
;; by default.
|
||||
;; (default nil)
|
||||
dotspacemacs-whitespace-cleanup nil
|
||||
dotspacemacs-whitespace-cleanup 'trailing
|
||||
|
||||
;; If non-nil activate `clean-aindent-mode' which tries to correct
|
||||
;; virtual indentation of simple modes. This can interfere with mode specific
|
||||
|
@ -609,6 +609,10 @@ before packages are loaded."
|
|||
(ispell-hunspell-add-multi-dic "en_US,ru_RU")
|
||||
(setq ispell-dictionary "en_US,ru_RU"))
|
||||
|
||||
(require 'org-protocol)
|
||||
(require 'org-capture)
|
||||
(require 'org-tempo)
|
||||
|
||||
(defun transform-square-brackets-to-round-ones(string-to-transform)
|
||||
"Transforms [ into ( and ] into ), other chars left unchanged."
|
||||
(concat
|
||||
|
@ -668,16 +672,13 @@ before packages are loaded."
|
|||
(setq org-attach-id-dir "~/org/attachments/")
|
||||
|
||||
(setq org-adapt-indentation t)
|
||||
(setq org-startup-indented t)
|
||||
(setq org-indent-mode t)
|
||||
(setq org-archive-location "%s_archive::")
|
||||
(add-hook 'org-mode-hook
|
||||
(lambda ()
|
||||
(visual-line-mode 1)))
|
||||
|
||||
(require 'org-protocol)
|
||||
(require 'org-capture)
|
||||
(require 'org-tempo)
|
||||
|
||||
(setq org-agenda-files '("~/org/"))
|
||||
(use-package org-roam
|
||||
:ensure nil
|
||||
|
|
|
@ -15,7 +15,9 @@ xrdb -merge ~/.Xresources &
|
|||
|
||||
# PolicyKit Authentication Agent - Gnome
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
#
|
||||
|
||||
sleep 1
|
||||
|
||||
# bar
|
||||
~/.config/polybar/launch.sh &
|
||||
|
||||
|
@ -54,11 +56,15 @@ solaar --restart-on-wake-up --window=hide &
|
|||
bauh-tray &
|
||||
|
||||
# keyboard layout switcher
|
||||
setxkbmap -layout us,ru -option 'grp:alt_space_toggle' &
|
||||
# now is using X11 variant in /etc/X11/xorg.conf.d/00-keyboard.conf
|
||||
# setxkbmap -layout us,ru -option 'grp:alt_space_toggle' &
|
||||
|
||||
# emacs
|
||||
emacs --daemon &
|
||||
|
||||
# brightness control
|
||||
clight &
|
||||
|
||||
# lockscreen
|
||||
# xss-lock --transfer-sleep-lock -- ~/scripts/bin/lock.sh
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
connected_monitors=$(xrandr | grep " connected" | awk '{ print $1 }')
|
||||
if echo "$connected_monitors" | grep -q "HDMI"; then
|
||||
xrandr --output DP-2 --off
|
||||
xrandr --output HDMI-0 --mode 2560x1440 --rate 165.00 --dpi 120
|
||||
xrandr --output HDMI-0 --mode 2560x1440 --rate 144.00 --dpi 120
|
||||
# xrandr --output eDP-1 --left-of HDMI-1-0
|
||||
xrandr --output HDMI-0 --primary
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue