mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
Compare commits
4 Commits
69346a9911
...
1d61a6f4ae
Author | SHA1 | Date | |
---|---|---|---|
|
1d61a6f4ae | ||
|
b394568a2d | ||
|
775756b7fe | ||
|
ad5cb0f6f8 |
@ -138,7 +138,7 @@ pkill -f cleanfullscreen
|
||||
###---System lock---###
|
||||
pkill -f xss-lock
|
||||
xset s 300 5
|
||||
xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock
|
||||
env XSECURELOCK_FONT="Hack Nerd Font" xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock &
|
||||
|
||||
###---Misc---###
|
||||
# Needed for Jetbrains products to work
|
||||
|
@ -39,10 +39,10 @@
|
||||
** Variable font sizes depending on screen width. Set font to [[https://sourcefoundry.org/hack/][Hack]].
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun set-font (font-size bigfont-size)
|
||||
(setq doom-font (font-spec :family "Hack Nerd Font Mono" :size font-size))
|
||||
(setq doom-big-font (font-spec :family "Hack Nerd Font Mono" :size bigfont-size))
|
||||
(setq doom-variable-pitch-font (font-spec :family "Liberation Sans" :size font-size))
|
||||
(setq doom-serif-font (font-spec :family "Liberation Serif" :size font-size))
|
||||
(setq doom-font (font-spec :family "JetBrainsMono Nerd Font" :size font-size))
|
||||
(setq doom-big-font (font-spec :family "JetBrainsMono Nerd Font" :size bigfont-size))
|
||||
(setq doom-variable-pitch-font (font-spec :family "Noto Sans" :size font-size))
|
||||
(setq doom-serif-font (font-spec :family "Noto Serif" :size font-size))
|
||||
(setq doom-unicode-font (font-spec :family "JoyPixels"))
|
||||
)
|
||||
|
||||
|
@ -66,7 +66,7 @@ monitor = ${env:MONITOR:eDP1}
|
||||
|
||||
modules-left = bspwm
|
||||
modules-center = battery0 battery1 seperator wlan wg0 wg1 bluetooth
|
||||
modules-right = seperator xbacklight volume-laptop seperator docker memory cpu-laptop temperature seperator filesystem seperator updates-arch-combined mail reddit github rss seperator weather seperator date seperator
|
||||
modules-right = seperator xbacklight volume-laptop seperator docker memory cpu-laptop temperature seperator filesystem-root filesystem-home seperator updates-arch-combined mail reddit github rss seperator weather seperator date seperator
|
||||
|
||||
tray-position = right
|
||||
|
||||
@ -76,7 +76,7 @@ monitor = ${env:MONITOR:DP-1}
|
||||
|
||||
modules-left = bspwm
|
||||
modules-center = mpd player-mpris-tail
|
||||
modules-right = seperator corona seperator eth bluetooth seperator volume seperator docker memory cpu temperature seperator system-usb-udev filesystem seperator updates-arch-combined mail reddit github rss seperator weather seperator date seperator
|
||||
modules-right = seperator corona seperator eth bluetooth seperator volume seperator docker memory cpu temperature seperator system-usb-udev filesystem-root filesystem-home seperator updates-arch-combined mail reddit github rss seperator weather seperator date seperator
|
||||
|
||||
tray-position = right
|
||||
|
||||
@ -87,15 +87,23 @@ modules-left = bspwm
|
||||
|
||||
;== Modules ========================================================
|
||||
|
||||
[module/filesystem]
|
||||
[module/filesystem-home]
|
||||
type = internal/fs
|
||||
|
||||
mount-0 = /home
|
||||
|
||||
label-mounted = 🏠 %percentage_used%%
|
||||
label-unmounted-background = ${colors.alert}
|
||||
|
||||
[module/filesystem-root]
|
||||
type = internal/fs
|
||||
|
||||
mount-0 = /
|
||||
mount-1 = /home
|
||||
|
||||
label-mounted = %mountpoint%: %percentage_used%%
|
||||
label-mounted = 💽 %percentage_used%%
|
||||
label-unmounted-background = ${colors.alert}
|
||||
|
||||
|
||||
[module/bspwm]
|
||||
type = internal/bspwm
|
||||
|
||||
@ -192,7 +200,7 @@ ramp-coreload-7 = █
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
|
||||
format-prefix = " "
|
||||
format-prefix = "🧠 "
|
||||
|
||||
label = %percentage_used%%
|
||||
|
||||
@ -365,7 +373,7 @@ format-prefix = " "
|
||||
|
||||
[module/player-mpris-tail]
|
||||
type = custom/script
|
||||
exec = python ~/.local/share/polybar-scripts/polybar-scripts/player-mpris-tail/player-mpris-tail.py -f '{:title: {icon} {artist} - {title}:}' --icon-playing '▶' --icon-paused '' --icon-stop '栗'
|
||||
exec = python ~/.local/share/polybar-scripts/polybar-scripts/player-mpris-tail/player-mpris-tail.py -f '{:title: {icon} {artist} - {title}:}' --icon-playing '▶' --icon-paused '⏸' --icon-stop '⏹'
|
||||
tail = true
|
||||
|
||||
click-left = python ~/.local/share/polybar-scripts/polybar-scripts/player-mpris-tail/player-mpris-tail.py previous &
|
||||
|
Loading…
Reference in New Issue
Block a user