UPdaootst
This commit is contained in:
@@ -93,7 +93,6 @@ content-padding = 1
|
|||||||
|
|
||||||
[module/battery]
|
[module/battery]
|
||||||
type = internal/battery
|
type = internal/battery
|
||||||
full-at = 99
|
|
||||||
battery = BAT0
|
battery = BAT0
|
||||||
adapter = ADP1
|
adapter = ADP1
|
||||||
time-format = %H:%M
|
time-format = %H:%M
|
||||||
|
|||||||
@@ -206,19 +206,6 @@
|
|||||||
(setq doom-modeline-indent-info t
|
(setq doom-modeline-indent-info t
|
||||||
doom-modeline-buffer-file-name-style 'file-name))
|
doom-modeline-buffer-file-name-style 'file-name))
|
||||||
|
|
||||||
;; Cool dashboard
|
|
||||||
(use-package dashboard
|
|
||||||
:straight t
|
|
||||||
:config
|
|
||||||
(dashboard-setup-startup-hook)
|
|
||||||
(setq dashboard-banner-logo-title"「EMACS」へようこそ, マルコさん!"
|
|
||||||
dashboard-startup-banner 'logo
|
|
||||||
dashboard-items '((agenda . 20))
|
|
||||||
dashboard-item-names '(("Agenda for the coming week:" . "Agenda:"))
|
|
||||||
dashboard-center-content t)
|
|
||||||
(when (file-exists-p "~/.emacs.d/dashboard.png")
|
|
||||||
(setq dashboard-startup-banner "~/.emacs.d/dashboard.png")))
|
|
||||||
|
|
||||||
;; Show color codes as colors inline
|
;; Show color codes as colors inline
|
||||||
(use-package rainbow-mode
|
(use-package rainbow-mode
|
||||||
:straight t
|
:straight t
|
||||||
@@ -388,8 +375,7 @@
|
|||||||
org-agenda-start-on-weekday nil ; my week starts on a monday
|
org-agenda-start-on-weekday nil ; my week starts on a monday
|
||||||
calendar-week-start-day 1
|
calendar-week-start-day 1
|
||||||
org-capture-templates
|
org-capture-templates
|
||||||
(quote (("j" "Japanese" entry (file "~/org/japanese.org") "* TODO %?\n" :empty-lines-before 1)
|
(quote (("w" "Work" entry (file "~/org/work.org") "* TODO %?\n" :empty-lines-before 1)
|
||||||
("w" "Work" entry (file "~/org/work.org") "* TODO %?\n" :empty-lines-before 1)
|
|
||||||
("u" "University" entry (file "~/org/uni.org") "* TODO %?\n" :empty-lines-before 1)
|
("u" "University" entry (file "~/org/uni.org") "* TODO %?\n" :empty-lines-before 1)
|
||||||
("p" "Personal" entry (file "~/org/personal.org") "* TODO %?\n" :empty-lines-before 1)))
|
("p" "Personal" entry (file "~/org/personal.org") "* TODO %?\n" :empty-lines-before 1)))
|
||||||
org-latex-listings 'minted ; export with code highlighting
|
org-latex-listings 'minted ; export with code highlighting
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
killall -q polybar
|
killall -q polybar
|
||||||
|
|
||||||
for mon in $(xrandr | grep 'connected' | awk '{print $1}'):
|
if type "xrandr"; then
|
||||||
do
|
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||||
echo ${mon}
|
echo $m
|
||||||
MON=${mon} polybar -r bar &
|
MON=$m polybar --reload bar &
|
||||||
done
|
done
|
||||||
|
else
|
||||||
|
polybar --reload bar &
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user