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
|
;; which major modes have whitespace cleanup enabled or disabled
|
||||||
;; by default.
|
;; by default.
|
||||||
;; (default nil)
|
;; (default nil)
|
||||||
dotspacemacs-whitespace-cleanup nil
|
dotspacemacs-whitespace-cleanup 'trailing
|
||||||
|
|
||||||
;; If non-nil activate `clean-aindent-mode' which tries to correct
|
;; If non-nil activate `clean-aindent-mode' which tries to correct
|
||||||
;; virtual indentation of simple modes. This can interfere with mode specific
|
;; 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")
|
(ispell-hunspell-add-multi-dic "en_US,ru_RU")
|
||||||
(setq ispell-dictionary "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)
|
(defun transform-square-brackets-to-round-ones(string-to-transform)
|
||||||
"Transforms [ into ( and ] into ), other chars left unchanged."
|
"Transforms [ into ( and ] into ), other chars left unchanged."
|
||||||
(concat
|
(concat
|
||||||
|
@ -668,16 +672,13 @@ before packages are loaded."
|
||||||
(setq org-attach-id-dir "~/org/attachments/")
|
(setq org-attach-id-dir "~/org/attachments/")
|
||||||
|
|
||||||
(setq org-adapt-indentation t)
|
(setq org-adapt-indentation t)
|
||||||
|
(setq org-startup-indented t)
|
||||||
(setq org-indent-mode t)
|
(setq org-indent-mode t)
|
||||||
(setq org-archive-location "%s_archive::")
|
(setq org-archive-location "%s_archive::")
|
||||||
(add-hook 'org-mode-hook
|
(add-hook 'org-mode-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(visual-line-mode 1)))
|
(visual-line-mode 1)))
|
||||||
|
|
||||||
(require 'org-protocol)
|
|
||||||
(require 'org-capture)
|
|
||||||
(require 'org-tempo)
|
|
||||||
|
|
||||||
(setq org-agenda-files '("~/org/"))
|
(setq org-agenda-files '("~/org/"))
|
||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
:ensure nil
|
:ensure nil
|
||||||
|
|
|
@ -15,7 +15,9 @@ xrdb -merge ~/.Xresources &
|
||||||
|
|
||||||
# PolicyKit Authentication Agent - Gnome
|
# PolicyKit Authentication Agent - Gnome
|
||||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||||
#
|
|
||||||
|
sleep 1
|
||||||
|
|
||||||
# bar
|
# bar
|
||||||
~/.config/polybar/launch.sh &
|
~/.config/polybar/launch.sh &
|
||||||
|
|
||||||
|
@ -54,11 +56,15 @@ solaar --restart-on-wake-up --window=hide &
|
||||||
bauh-tray &
|
bauh-tray &
|
||||||
|
|
||||||
# keyboard layout switcher
|
# 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
|
||||||
emacs --daemon &
|
emacs --daemon &
|
||||||
|
|
||||||
|
# brightness control
|
||||||
|
clight &
|
||||||
|
|
||||||
# lockscreen
|
# lockscreen
|
||||||
# xss-lock --transfer-sleep-lock -- ~/scripts/bin/lock.sh
|
# xss-lock --transfer-sleep-lock -- ~/scripts/bin/lock.sh
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
connected_monitors=$(xrandr | grep " connected" | awk '{ print $1 }')
|
connected_monitors=$(xrandr | grep " connected" | awk '{ print $1 }')
|
||||||
if echo "$connected_monitors" | grep -q "HDMI"; then
|
if echo "$connected_monitors" | grep -q "HDMI"; then
|
||||||
xrandr --output DP-2 --off
|
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 eDP-1 --left-of HDMI-1-0
|
||||||
xrandr --output HDMI-0 --primary
|
xrandr --output HDMI-0 --primary
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue