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

chore: remove whitespaces

This commit is contained in:
Ryan Kes 2022-10-09 17:40:57 +02:00
parent 1212b63173
commit b8ed13b787
5 changed files with 13 additions and 14 deletions

View File

@ -2,7 +2,7 @@
! Xft settings
!-------------------------------------------------------------------------------
{{ if ne .type "desktop" }}Xft.dpi: 160{{ end }}
{{ if ne .type "desktop" }}Xft.dpi: 160{{- end }}
Xft.antialias: false
Xft.rgba: rgb
Xft.hinting: true

View File

@ -23,7 +23,7 @@ font:
style: Bold Italic
size: {{ if eq .type "desktop" }}6.5{{ else }}8.5{{ end }}
size: {{ if eq .type "desktop" }}6.5{{ else }}8.5{{- end }}
colors:
primary:

View File

@ -35,13 +35,13 @@ sxhkd &
setxkbmap -option caps:escape
###---Monitors---###
{{ if eq .type "desktop" }}
{{- if eq .type "desktop" }}
bspc monitor DP-3 -d 2 3 4 5 6 7 8 9 0
bspc monitor DP-2 -d 1
xrandr --output DP-3 --primary --mode 3840x2160 --rotate normal --output DP-2 --mode 2560x1440 --pos 0x0 --rotate left
{{ else }}
bspc monitor -d 1 2 3 4 5 6 7 8 9 0
{{ end }}
{{- end }}
###---Polybar---###
# Terminate already running bar instances
@ -51,21 +51,20 @@ killall -q polybar
while pgrep -u (id -u) -x polybar >/dev/null
sleep 1
end
{{ if eq .type "desktop" }}
{{- if eq .type "desktop" }}
polybar-monitor1 &
polybar-monitor2 &
{{ else }}
polybar framework-top &
polybar framework-bottom &
{{ end }}
{{- end }}
###---Wallpaper & opacity---###
{{ if eq .type "desktop" }}
{{- if eq .type "desktop" }}
xwallpaper --output DP-2 --zoom ~/.cache/wall2.png --output DP-3 --zoom ~/.cache/wall1.png &
{{ else }}
xwallpaper --output eDP-1 --zoom ~/.cache/wall1.png &
{{ end }}
{{- end }}
wal -n -R
picom -b
@ -123,7 +122,7 @@ start_if_not_running emacs
start_if_not_running element-desktop
start_if_not_running element-desktop-nightly
start_if_not_running gpodder
{{ if eq .type "desktop" }}start_if_not_running slack{{ end }}
{{- if eq .type "desktop" }}start_if_not_running slack{{ end }}
pkill -f cleanfullscreen
~/.local/bin/cleanfullscreen &

View File

@ -25,11 +25,11 @@
idle_threshold = 120
{{ if eq .type "desktop" }}
{{- if eq .type "desktop" }}
font = JoyPixels 10, Hack Nerd Font Mono 10
{{ else }}
font = JoyPixels 12, Hack Nerd Font Mono 12
{{ end }}
{{- end }}
line_height = 0
markup = full

View File

@ -80,11 +80,11 @@ Print
#-----------------------------------------------------------App shortcuts--------------------------------------------------------------
# terminal emulator
super + {{ if eq .type "desktop" }}Backspace{{ else }}Return{{ end }}
super + {{ if eq .type "desktop" }}Backspace{{ else }}Return{{- end }}
$TERMINAL
# program launcher
super + {{ if eq .type "desktop" }}Delete{{ else }}@space{{ end }}
super + {{ if eq .type "desktop" }}Delete{{ else }}@space{{- end }}
dmenu-frecency
# make sxhkd reload its configuration files: