summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-16 17:43:57 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-16 17:43:57 +0100
commite7d818b9de8e20de723fba47ca2c715c3f76ca2e (patch)
tree8a877b846d3abb4f5ebaed8ee9fac3e4f1e65c8a /roles
parent1cf7d4d33e2cd7bf85f5adc3a38072b04bffecb3 (diff)
Add vim filetype configurations for coloring
Diffstat (limited to 'roles')
-rw-r--r--roles/hyprland/templates/hyprland/autostart.conf.j22
-rw-r--r--roles/hyprland/templates/hyprland/bindings.conf.j22
-rw-r--r--roles/hyprland/templates/hyprland/envs.conf.j22
-rw-r--r--roles/hyprland/templates/hyprland/hypridle.conf.j22
-rw-r--r--roles/hyprland/templates/hyprland/hyprland.conf.j22
-rw-r--r--roles/hyprland/templates/hyprland/hyprlock.conf.j22
-rw-r--r--roles/hyprland/templates/hyprland/input.conf.j22
-rw-r--r--roles/hyprland/templates/hyprland/looknfeel.conf.j22
-rw-r--r--roles/hyprland/templates/hyprland/monitors.conf.j22
-rw-r--r--roles/hyprland/templates/hyprland/rules.conf.j22
10 files changed, 20 insertions, 0 deletions
diff --git a/roles/hyprland/templates/hyprland/autostart.conf.j2 b/roles/hyprland/templates/hyprland/autostart.conf.j2
index b0818541..c908b0fe 100644
--- a/roles/hyprland/templates/hyprland/autostart.conf.j2
+++ b/roles/hyprland/templates/hyprland/autostart.conf.j2
@@ -1,3 +1,5 @@
+# vim: set filetype=hyprlang.ansible :
+
exec-once = uwsm-app -- hypridle
exec-once = uwsm-app -- mako
exec-once = uwsm-app -- waybar
diff --git a/roles/hyprland/templates/hyprland/bindings.conf.j2 b/roles/hyprland/templates/hyprland/bindings.conf.j2
index 3347f047..bf339b11 100644
--- a/roles/hyprland/templates/hyprland/bindings.conf.j2
+++ b/roles/hyprland/templates/hyprland/bindings.conf.j2
@@ -1,3 +1,5 @@
+# vim: set filetype=hyprlang.ansible :
+
# Configure Hyprland Bindings
#
# See https://wiki.hypr.land/Configuring/Keywords/
diff --git a/roles/hyprland/templates/hyprland/envs.conf.j2 b/roles/hyprland/templates/hyprland/envs.conf.j2
index 05ba1693..c2bd38de 100644
--- a/roles/hyprland/templates/hyprland/envs.conf.j2
+++ b/roles/hyprland/templates/hyprland/envs.conf.j2
@@ -1,3 +1,5 @@
+# vim: set filetype=hyprlang.ansible :
+
# Configure Hyprland Environment Variables
# See https://wiki.hypr.land/Configuring/Environment-variables/
diff --git a/roles/hyprland/templates/hyprland/hypridle.conf.j2 b/roles/hyprland/templates/hyprland/hypridle.conf.j2
index ec45757a..2c060988 100644
--- a/roles/hyprland/templates/hyprland/hypridle.conf.j2
+++ b/roles/hyprland/templates/hyprland/hypridle.conf.j2
@@ -1,3 +1,5 @@
+# vim: set filetype=hyprlang.ansible :
+
general {
lock_cmd = pidof hyprlock || hyprlock
before_sleep_cmd = loginctl lock-session # lock before suspend
diff --git a/roles/hyprland/templates/hyprland/hyprland.conf.j2 b/roles/hyprland/templates/hyprland/hyprland.conf.j2
index 36ba5f26..6f10fe0f 100644
--- a/roles/hyprland/templates/hyprland/hyprland.conf.j2
+++ b/roles/hyprland/templates/hyprland/hyprland.conf.j2
@@ -1,3 +1,5 @@
+# vim: set filetype=hyprlang.ansible :
+
# Hyprland main configuration file
# Inspired by omarchy setup
diff --git a/roles/hyprland/templates/hyprland/hyprlock.conf.j2 b/roles/hyprland/templates/hyprland/hyprlock.conf.j2
index 065935ce..95d063a9 100644
--- a/roles/hyprland/templates/hyprland/hyprlock.conf.j2
+++ b/roles/hyprland/templates/hyprland/hyprlock.conf.j2
@@ -1,3 +1,5 @@
+# vim: set filetype=hyprlang.ansible :
+
source = ~/.config/hyprtheme/current/hyprlock.conf
# Variables
diff --git a/roles/hyprland/templates/hyprland/input.conf.j2 b/roles/hyprland/templates/hyprland/input.conf.j2
index 6717bcab..d785c34a 100644
--- a/roles/hyprland/templates/hyprland/input.conf.j2
+++ b/roles/hyprland/templates/hyprland/input.conf.j2
@@ -1,3 +1,5 @@
+# vim: set filetype=hyprlang.ansible :
+
# Control your input devices
# See https://wiki.hypr.land/Configuring/Variables/#input
input {
diff --git a/roles/hyprland/templates/hyprland/looknfeel.conf.j2 b/roles/hyprland/templates/hyprland/looknfeel.conf.j2
index d6e429f0..14812f80 100644
--- a/roles/hyprland/templates/hyprland/looknfeel.conf.j2
+++ b/roles/hyprland/templates/hyprland/looknfeel.conf.j2
@@ -1,3 +1,5 @@
+# vim: set filetype=hyprlang.ansible :
+
# Look'n'feel configurations
# Inspired by Omarchy Hyprland setup
# Source: https://github.com/basecamp/omarchy/tree/8a37f3dce71b0764e3758cb86478c503a4a8746e/config/hypr/looknfeel.conf
diff --git a/roles/hyprland/templates/hyprland/monitors.conf.j2 b/roles/hyprland/templates/hyprland/monitors.conf.j2
index dadc7ac8..9a2ab244 100644
--- a/roles/hyprland/templates/hyprland/monitors.conf.j2
+++ b/roles/hyprland/templates/hyprland/monitors.conf.j2
@@ -1,3 +1,5 @@
+# vim: set filetype=hyprlang.ansible :
+
# Configure Hyprland Monitors
# See https://wiki.hypr.land/Configuring/Monitors/
diff --git a/roles/hyprland/templates/hyprland/rules.conf.j2 b/roles/hyprland/templates/hyprland/rules.conf.j2
index 81c0e89b..35a8dd25 100644
--- a/roles/hyprland/templates/hyprland/rules.conf.j2
+++ b/roles/hyprland/templates/hyprland/rules.conf.j2
@@ -1,3 +1,5 @@
+# vim: set filetype=hyprlang.ansible :
+
# Scroll nicely in the terminal
windowrule = scroll_touchpad 1.5, match:class (Alacritty|kitty)
windowrule = scroll_touchpad 0.2, match:class com.mitchellh.ghostty