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 ! Xft settings
!------------------------------------------------------------------------------- !-------------------------------------------------------------------------------
{{ if ne .type "desktop" }}Xft.dpi: 160{{ end }} {{ if ne .type "desktop" }}Xft.dpi: 160{{- end }}
Xft.antialias: false Xft.antialias: false
Xft.rgba: rgb Xft.rgba: rgb
Xft.hinting: true Xft.hinting: true

View File

@ -23,7 +23,7 @@ font:
style: Bold Italic 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: colors:
primary: primary:

View File

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

View File

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

View File

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