Use Tera syntax to simplify Hyprland startup
This commit is contained in:
parent
380aab25a8
commit
66c5bad209
6 changed files with 16 additions and 6 deletions
|
@ -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
2
chonk.toml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[host]
|
||||||
|
name = "chonk"
|
2
hpomen.toml
Normal file
2
hpomen.toml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[host]
|
||||||
|
name = "hpomen"
|
|
@ -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
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue