mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 01:43:10 -05:00
Small fixes to templates
This commit is contained in:
parent
71a6951a62
commit
7e48e6b08b
2 changed files with 16 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
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
|
Loading…
Reference in a new issue