Small fixes to templates

This commit is contained in:
Andrew Scott 2022-12-30 02:47:23 -05:00
parent 71a6951a62
commit 7e48e6b08b
Signed by: a
GPG key ID: 7CD5A5977E4931C1
2 changed files with 16 additions and 6 deletions

View file

@ -1,14 +1,19 @@
#!/bin/bash
{{ if (or (eq .chezmoi.hostname "helix") (eq .chezmoi.hostname "triangulum")) }}
bspc monitor eDP-1 -d 1 2 3 4 5 6 7 8 9 10
{{ end }}
{{- end }}
{{ if eq .chezmoi.hostname "hydrus"}}
bspc monitor DP-0 -d 1 2 3 4 5
bspc monitor DVI-I-1 -d 6 7 8 9 10
{{ end }}
bspc config border_width 2
{{- if eq .chezmoi.hostname "helix" }}
bspc config window_gap 10
bspc config top_padding 70
{{ else }}
bspc config window_gap 5
bspc config top_padding 38
{{- end}}
bspc config bottom_padding 0
bspc config split_ratio 0.50
bspc config borderless_monocle true

View file

@ -5,17 +5,22 @@
# terminal emulator
super + Return
kitty
{{ if eq .chezmoi.hostname "helix"}}
# power menu
super + @End
rofi -dpi 240 -show power-menu -modi power-menu:/usr/bin/rofi-power-menu
# program launcher
super + @space
rofi -dpi 240 -modi drun, run -show drun -show-icons
{{ else }}
# power menu
{{- if eq .chezmoi.hostname "helix"}}
super + @End
rofi -dpi 240 -show power-menu -modi power-menu:/usr/bin/rofi-power-menu
{{- else }}
rofi -show power-menu -modi power-menu:/usr/bin/rofi-power-menu
# program launcher
super + @space
rofi -modi drun, run -show drun -show-icons
{{ end }}
# make sxhkd reload its configuration files:
super + Escape