Use Tera syntax to simplify Hyprland startup

This commit is contained in:
Michael Bradley 2025-03-24 22:26:49 -04:00
parent 380aab25a8
commit 66c5bad209
Signed by: MichaelBradley
SSH key fingerprint: SHA256:cj/YZ5VT+QOKncqSkx+ibKTIn0Obg7OIzwzl9BL8EO8
6 changed files with 16 additions and 6 deletions

View file

@ -42,3 +42,9 @@ swaylock = { source = "swaylock", target = ".config/swaylock" }
vim = { source = "vim/vimrc", target = ".config/vim/vimrc" } vim = { source = "vim/vimrc", target = ".config/vim/vimrc" }
yazi = { source = "yazi", target = ".config/yazi" } yazi = { source = "yazi", target = ".config/yazi" }
zsh = { source = "zsh", target = ".config/zsh" } zsh = { source = "zsh", target = ".config/zsh" }
[profiles.chonk]
vars = [ "chonk.toml" ]
[profiles.hpomen]
vars = [ "hpomen.toml" ]

2
chonk.toml Normal file
View file

@ -0,0 +1,2 @@
[host]
name = "chonk"

2
hpomen.toml Normal file
View file

@ -0,0 +1,2 @@
[host]
name = "hpomen"

View file

@ -36,6 +36,3 @@ workspace = 7, monitor:DP-2
workspace = 8, monitor:DP-1 workspace = 8, monitor:DP-1
workspace = 9, monitor:DP-2 workspace = 9, monitor:DP-2
workspace = 10, monitor:DP-1 workspace = 10, monitor:DP-1
source = ~/.config/hypr/common.conf

View file

@ -40,6 +40,3 @@ gestures {
workspace = 1, monitor:eDP-1, default:true workspace = 1, monitor:eDP-1, default:true
workspace = 2, monitor:eDP-1, workspace = 2, monitor:eDP-1,
workspace = 3, monitor:eDP-1, workspace = 3, monitor:eDP-1,
source = ~/.config/hypr/common.conf

View file

@ -1,3 +1,9 @@
{% if host.name == "chonk" %}
source = ~/.config/hypr/chonk.conf
{% else %}
source = ~/.config/hypr/hpomen.conf
{% endif %}
monitor=,preferred,auto,1 monitor=,preferred,auto,1
# Set programs that you use # Set programs that you use