1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

Compare commits

...

4 Commits

Author SHA1 Message Date
Ryan Kes
1d61a6f4ae feat(polybar): updated icons 2020-12-02 20:26:38 +01:00
Ryan Kes
b394568a2d feat(polybar): added icons for fs mounts 2020-12-02 20:12:07 +01:00
Ryan Kes
775756b7fe feat(xsecurelock): use hack font 2020-12-02 13:17:26 +01:00
Ryan Kes
ad5cb0f6f8 feat(emacs): use jetbrains font 2020-12-02 13:17:08 +01:00
3 changed files with 20 additions and 12 deletions

View File

@ -138,7 +138,7 @@ pkill -f cleanfullscreen
###---System lock---### ###---System lock---###
pkill -f xss-lock pkill -f xss-lock
xset s 300 5 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---### ###---Misc---###
# Needed for Jetbrains products to work # Needed for Jetbrains products to work

View File

@ -39,10 +39,10 @@
** Variable font sizes depending on screen width. Set font to [[https://sourcefoundry.org/hack/][Hack]]. ** Variable font sizes depending on screen width. Set font to [[https://sourcefoundry.org/hack/][Hack]].
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defun set-font (font-size bigfont-size) (defun set-font (font-size bigfont-size)
(setq doom-font (font-spec :family "Hack Nerd Font Mono" :size font-size)) (setq doom-font (font-spec :family "JetBrainsMono Nerd Font" :size font-size))
(setq doom-big-font (font-spec :family "Hack Nerd Font Mono" :size bigfont-size)) (setq doom-big-font (font-spec :family "JetBrainsMono Nerd Font" :size bigfont-size))
(setq doom-variable-pitch-font (font-spec :family "Liberation Sans" :size font-size)) (setq doom-variable-pitch-font (font-spec :family "Noto Sans" :size font-size))
(setq doom-serif-font (font-spec :family "Liberation Serif" :size font-size)) (setq doom-serif-font (font-spec :family "Noto Serif" :size font-size))
(setq doom-unicode-font (font-spec :family "JoyPixels")) (setq doom-unicode-font (font-spec :family "JoyPixels"))
) )

View File

@ -66,7 +66,7 @@ monitor = ${env:MONITOR:eDP1}
modules-left = bspwm modules-left = bspwm
modules-center = battery0 battery1 seperator wlan wg0 wg1 bluetooth 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 tray-position = right
@ -76,7 +76,7 @@ monitor = ${env:MONITOR:DP-1}
modules-left = bspwm modules-left = bspwm
modules-center = mpd player-mpris-tail 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 tray-position = right
@ -87,15 +87,23 @@ modules-left = bspwm
;== Modules ======================================================== ;== 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 type = internal/fs
mount-0 = / mount-0 = /
mount-1 = /home
label-mounted = %mountpoint%: %percentage_used%% label-mounted = 💽 %percentage_used%%
label-unmounted-background = ${colors.alert} label-unmounted-background = ${colors.alert}
[module/bspwm] [module/bspwm]
type = internal/bspwm type = internal/bspwm
@ -192,7 +200,7 @@ ramp-coreload-7 = █
[module/memory] [module/memory]
type = internal/memory type = internal/memory
format-prefix = " " format-prefix = "🧠 "
label = %percentage_used%% label = %percentage_used%%
@ -365,7 +373,7 @@ format-prefix = " "
[module/player-mpris-tail] [module/player-mpris-tail]
type = custom/script 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 tail = true
click-left = python ~/.local/share/polybar-scripts/polybar-scripts/player-mpris-tail/player-mpris-tail.py previous & click-left = python ~/.local/share/polybar-scripts/polybar-scripts/player-mpris-tail/player-mpris-tail.py previous &