From d2c24681a2dd1a598bcaf0a529504dc4729ea8b8 Mon Sep 17 00:00:00 2001 From: Blallo Date: Sun, 14 May 2023 11:41:46 +0200 Subject: [PATCH] vim syntax highlighting --- bindings.conf | 2 ++ config | 2 ++ config.old | 2 ++ env | 2 ++ env-debug | 2 ++ env-system | 2 ++ input.conf | 2 ++ output.conf | 2 ++ output_2.conf | 2 ++ output_default.conf | 2 ++ services.conf | 2 ++ style.conf | 2 ++ vars.conf | 2 ++ 13 files changed, 26 insertions(+) diff --git a/bindings.conf b/bindings.conf index 834ff04..b1942b3 100644 --- a/bindings.conf +++ b/bindings.conf @@ -170,3 +170,5 @@ mode "resize" { bindsym $mod+r mode "resize" default_border none + +# vim:syntax=swayconfig: diff --git a/config b/config index d1a46ed..301b8ff 100644 --- a/config +++ b/config @@ -6,3 +6,5 @@ include ./bindings.conf include ./services.conf include /etc/sway/config.d/* + +# vim:syntax=swayconfig: diff --git a/config.old b/config.old index bc0aaff..b168151 100644 --- a/config.old +++ b/config.old @@ -315,3 +315,5 @@ default_border none # } include /etc/sway/config.d/* + +# vim:syntax=swayconfig: diff --git a/env b/env index 6379911..e34015f 100644 --- a/env +++ b/env @@ -3,3 +3,5 @@ QT_SCALE_FACTOR=1 QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_QPA_PLATFORM=wayland QT_WAYLAND_DISABLE_WINDOWDECORATION=1 + +# vim:syntax=swayconfig: diff --git a/env-debug b/env-debug index 425d2e1..ca6b851 100644 --- a/env-debug +++ b/env-debug @@ -5,3 +5,5 @@ QT_QPA_PLATFORM=wayland QT_WAYLAND_DISABLE_WINDOWDECORATION=1 XDG_CURRENT_DESKTOP=sway SWAY_STATE=debug + +# vim:syntax=swayconfig: diff --git a/env-system b/env-system index 83c27e1..4367b22 100644 --- a/env-system +++ b/env-system @@ -1,3 +1,5 @@ _JAVA_AWT_WM_NONREPARENTING=1 XDG_CURRENT_DESKTOP=sway SWAY_STATE=system + +# vim:syntax=swayconfig: diff --git a/input.conf b/input.conf index 9a68676..97bfcbe 100644 --- a/input.conf +++ b/input.conf @@ -21,3 +21,5 @@ input "Logitech Keyboard" { xkb_model "logitech_base" xkb_numlock enabled } + +# vim:syntax=swayconfig: diff --git a/output.conf b/output.conf index aa78b69..f19828f 100644 --- a/output.conf +++ b/output.conf @@ -20,3 +20,5 @@ output 'Samsung Electric Company C34J79x H1AK500000' { resolution 3440x1440 bg /home/leo/Pictures/random.jpg fill "#0022FF" } + +# vim:syntax=swayconfig: diff --git a/output_2.conf b/output_2.conf index 983eb07..ba4d7bf 100644 --- a/output_2.conf +++ b/output_2.conf @@ -17,3 +17,5 @@ output DP-1 { position 0,0 bg /home/leo/Pictures/wallpapers/portal_l.jpg fill "#FF2200" } + +# vim:syntax=swayconfig: diff --git a/output_default.conf b/output_default.conf index 756a9cc..24d8073 100644 --- a/output_default.conf +++ b/output_default.conf @@ -1,2 +1,4 @@ # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill + +# vim:syntax=swayconfig: diff --git a/services.conf b/services.conf index 70a9b48..8fb58c5 100644 --- a/services.conf +++ b/services.conf @@ -15,3 +15,5 @@ exec "systemctl --user import-environment; systemctl --user start swayidle" # timeout 5 'if pgrep -x swaylock; then swaymsg "output * dpms off"; fi' \ # resume 'swaymsg "output * dpms on"' \ # before-sleep '$lock' + +# vim:syntax=swayconfig: diff --git a/style.conf b/style.conf index 6c1f4ff..569f175 100644 --- a/style.conf +++ b/style.conf @@ -8,3 +8,5 @@ font pango:FiraCode 10 for_window [app_id="^.*"] border pixel 2 for_window [class="^.*"] border pixel 2 gaps inner 5 + +# vim:syntax=swayconfig: diff --git a/vars.conf b/vars.conf index 47ea718..75f3b2b 100644 --- a/vars.conf +++ b/vars.conf @@ -22,3 +22,5 @@ set $lock swaylock -F -i ~/Pictures/screensaver.jpg set $chbg ~/.bin/change-bg.sh set $clipboard rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' set $files rofi -show filebrowser + +# vim:syntax=swayconfig: