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
|
#!/bin/bash
|
||||||
{{ if (or (eq .chezmoi.hostname "helix") (eq .chezmoi.hostname "triangulum")) }}
|
{{ 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
|
bspc monitor eDP-1 -d 1 2 3 4 5 6 7 8 9 10
|
||||||
{{ end }}
|
{{- end }}
|
||||||
{{ if eq .chezmoi.hostname "hydrus"}}
|
{{ if eq .chezmoi.hostname "hydrus"}}
|
||||||
bspc monitor DP-0 -d 1 2 3 4 5
|
bspc monitor DP-0 -d 1 2 3 4 5
|
||||||
bspc monitor DVI-I-1 -d 6 7 8 9 10
|
bspc monitor DVI-I-1 -d 6 7 8 9 10
|
||||||
{{ end }}
|
{{ end }}
|
||||||
bspc config border_width 2
|
bspc config border_width 2
|
||||||
|
{{- if eq .chezmoi.hostname "helix" }}
|
||||||
bspc config window_gap 10
|
bspc config window_gap 10
|
||||||
bspc config top_padding 70
|
bspc config top_padding 70
|
||||||
|
{{ else }}
|
||||||
|
bspc config window_gap 5
|
||||||
|
bspc config top_padding 38
|
||||||
|
{{- end}}
|
||||||
bspc config bottom_padding 0
|
bspc config bottom_padding 0
|
||||||
bspc config split_ratio 0.50
|
bspc config split_ratio 0.50
|
||||||
bspc config borderless_monocle true
|
bspc config borderless_monocle true
|
||||||
|
|
|
@ -5,17 +5,22 @@
|
||||||
# terminal emulator
|
# terminal emulator
|
||||||
super + Return
|
super + Return
|
||||||
kitty
|
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
|
# program launcher
|
||||||
super + @space
|
super + @space
|
||||||
rofi -dpi 240 -modi drun, run -show drun -show-icons
|
rofi -dpi 240 -modi drun, run -show drun -show-icons
|
||||||
|
{{ else }}
|
||||||
# power menu
|
# power menu
|
||||||
{{- if eq .chezmoi.hostname "helix"}}
|
|
||||||
super + @End
|
super + @End
|
||||||
rofi -dpi 240 -show power-menu -modi power-menu:/usr/bin/rofi-power-menu
|
rofi -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 }}
|
{{ end }}
|
||||||
# make sxhkd reload its configuration files:
|
# make sxhkd reload its configuration files:
|
||||||
super + Escape
|
super + Escape
|
Loading…
Reference in a new issue