b511bbef28f1ac110c8757b382fa407379508421

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Update hyprland config

Diff

 1diff --git a/dot_config/hypr/hyprland.conf.tmpl b/dot_config/hypr/hyprland.conf.tmpl
 2index 8c7db03cd42b3bfbf6d714094b32abedf7b2d1e7..ce7df75272b7e7117c687d59a3243ff0f73b740e 100644
 3--- a/dot_config/hypr/hyprland.conf.tmpl
 4+++ b/dot_config/hypr/hyprland.conf.tmpl
 5@@ -2,6 +2,9 @@
 6 
 7 # https://wiki.hyprland.org/Configuring/Keywords/
 8 
 9+$active_bg = rgba(504945ff)
10+$inactive_bg = rgba(282828ff)
11+
12 # https://wiki.hyprland.org/Configuring/Monitors/
13 {{ range $id, $settings := .hyprland.monitors }}monitor = {{ $id }}, {{ $settings }}
14 {{ end }}
15@@ -27,8 +30,8 @@ general {
16     border_size = 2
17 
18     # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
19-    col.active_border = rgba(504945ff)
20-    col.inactive_border = rgba(282828ff)
21+    col.active_border = $active_bg
22+    col.inactive_border = $inactive_bg
23 
24     # Set to true enable resizing windows by clicking and dragging on borders and gaps
25     resize_on_border = false
26@@ -72,8 +75,8 @@ plugin {
27       text_padding = 6 # left padding
28 
29       # active tab bar segment colors
30-      col.active = rgba(504945ff)
31-      col.active.border = rgba(504945ff)
32+      col.active = $active_bg
33+      col.active.border = $active_bg
34       col.active.text = rgba(ebdbb2ff)
35 
36       # focused tab bar segment colors (focused node in unfocused container)
37@@ -87,8 +90,8 @@ plugin {
38       col.urgent.text = rgba(282828ff)
39 
40       # inactive tab bar segment colors
41-      col.inactive = rgba(282828ff)
42-      col.inactive.border = rgba(282828ff)
43+      col.inactive = $inactive_bg
44+      col.inactive.border = $inactive_bg
45       col.inactive.text = rgba(a89984ff)
46     }
47   }
48@@ -172,7 +175,7 @@ cursor {
49 
50 # https://wiki.hyprland.org/Configuring/Variables/#input
51 input {
52-    {{ .hyprland.input.keyboard_layouts }}
53+{{ .hyprland.input.keyboard_layouts | indent 4 }}
54 
55     follow_mouse = 1
56     sensitivity = {{ .hyprland.input.sensitivity }}
57@@ -277,18 +280,16 @@ bind = $mod, Print, exec, pyazo -d
58 # https://wiki.hyprland.org/Configuring/Workspace-Rules/
59 
60 # https://wiki.hyprland.org/Configuring/Window-Rules/
61-windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
62-windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
63-windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
64-windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
65+windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
66+windowrule = rounding 0, floating:0, onworkspace:w[tv1]
67+windowrule = bordersize 0, floating:0, onworkspace:f[1]
68+windowrule = rounding 0, floating:0, onworkspace:f[1]
69 
70 # Ignore maximize requests from apps. You'll probably like this.
71-windowrulev2 = suppressevent maximize, class:.*
72+windowrule = suppressevent maximize, class:.*
73 # Fix some dragging issues with XWayland
74-windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
75-
76-windowrule = workspace:[10], class:steam
77+windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
78 
79-windowrulev2 = tile,title:(Ubisoft Connect)
80-windowrulev2 = workspace special silent,title:(Wine System Tray)
81-windowrulev2 = fullscreen,class:(steam_app*)
82+windowrule = tile,title:(Ubisoft Connect)
83+windowrule = workspace special silent,title:(Wine System Tray)
84+windowrule = fullscreen,class:(steam_app*)
85diff --git a/dot_config/hypr/hyprpaper.conf b/dot_config/hypr/hyprpaper.conf
86index d1f9c486e7515adb8e67f0f32e64599347a44493..3481bd6d91ba706e97dcf668b96a63f5330b9f1a 100644
87--- a/dot_config/hypr/hyprpaper.conf
88+++ b/dot_config/hypr/hyprpaper.conf
89@@ -1,2 +1,2 @@
90 preload = /home/pavle/pictures/wallpapers/oslo_radhus.jpg
91-wallpaper = DP-1, /home/pavle/pictures/wallpapers/oslo_radhus.jpg
92+wallpaper = , /home/pavle/pictures/wallpapers/oslo_radhus.jpg