d412177e99d890d811a400b0c734aac585d31310

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

Message

Update hyprland config

Diff

This diff is truncated to protect this page.

  1diff --git a/dot_aliases b/dot_aliases
  2index c2422efc99134da9f43804a54c9eee087cd3b48b..4dde6989931fac001211a945713f4bb4e7d501de 100644
  3--- a/dot_aliases
  4+++ b/dot_aliases
  5@@ -44,7 +44,6 @@ alias rm='trash'
  6 alias rmdir='trash -d'
  7 alias rmr='trash -rIf'
  8 alias -g rmrf='\rm -rf'
  9-alias sed='echo use sd'
 10 alias ssh='TERM=xterm-256color ssh'
 11 alias tailscale='sudo tailscale'
 12 alias unbound='cd /opt/docker/unbound; dcrestart; -'
 13diff --git a/dot_config/hypr/hyprland.conf.tmpl b/dot_config/hypr/hyprland.conf.tmpl
 14index a8b43f953fabcb0e4d0492d64525b83807391a67..2787450dc6c46f9b734dab9983d95f9d2cf07eef 100644
 15--- a/dot_config/hypr/hyprland.conf.tmpl
 16+++ b/dot_config/hypr/hyprland.conf.tmpl
 17@@ -1,11 +1,11 @@
 18 # vim: set ft=hyprlang:
 19 
 20-# See https://wiki.hyprland.org/Configuring/Keywords/
 21+# https://wiki.hyprland.org/Configuring/Keywords/
 22 
 23-# See https://wiki.hyprland.org/Configuring/Monitors/
 24+# https://wiki.hyprland.org/Configuring/Monitors/
 25 {{ range $id, $settings := .hyprland.monitors }}monitor = {{ $id }}, {{ $settings }}
 26 {{ end }}
 27-# Refer to https://wiki.hyprland.org/Configuring/Variables/
 28+# https://wiki.hyprland.org/Configuring/Variables/
 29 $terminal = ghostty
 30 $menu = rofi -show drun -run-command "uwsm app -- {cmd}"
 31 $animation_speed = 1.5
 32@@ -33,7 +33,7 @@ general {
 33     # Set to true enable resizing windows by clicking and dragging on borders and gaps
 34     resize_on_border = false
 35 
 36-    # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
 37+    # https://wiki.hyprland.org/Configuring/Tearing/
 38     allow_tearing = true
 39 }
 40 
 41@@ -73,18 +73,18 @@ plugin {
 42 
 43       # active tab bar segment colors
 44       col.active = rgba(504945ff)
 45-      col.border.active = rgba(504945ff)
 46-      col.text.active = rgba(ebdbb2ff)
 47+      col.active.border = rgba(504945ff)
 48+      col.active.text = rgba(ebdbb2ff)
 49 
 50       # urgent tab bar segment colors
 51       col.urgent = rgba(d79921ff)
 52-      col.border.urgent = rgba(d79921ff)
 53-      col.text.urgent = rgba(282828ff)
 54+      col.urgent.border = rgba(d79921ff)
 55+      col.urgent.text = rgba(282828ff)
 56 
 57       # inactive tab bar segment colors
 58       col.inactive = rgba(282828ff)
 59-      col.border.inactive = rgba(282828ff)
 60-      col.text.inactive = rgba(a89984ff)
 61+      col.inactive.border = rgba(282828ff)
 62+      col.inactive.text = rgba(a89984ff)
 63     }
 64   }
 65 }
 66@@ -106,8 +106,7 @@ decoration {
 67 animations {
 68     enabled = yes, please :)
 69 
 70-    # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
 71-
 72+    # https://wiki.hyprland.org/Configuring/Animations/
 73     bezier = easeOutQuint,0.23,1,0.32,1
 74     bezier = easeInOutCubic,0.65,0.05,0.36,1
 75     bezier = linear,0,0,1,1
 76@@ -132,15 +131,6 @@ animations {
 77     animation = workspacesOut, 1, $animation_speed, almostLinear, fade
 78 }
 79 
 80-# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
 81-# No gaps when only window
 82-workspace = w[tv1], gapsout:0, gapsin:0
 83-workspace = f[1], gapsout:0, gapsin:0
 84-windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
 85-windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
 86-windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
 87-windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
 88-
 89 # https://wiki.hyprland.org/Configuring/Variables/#misc
 90 misc {
 91     font_family = Noto Sans
 92@@ -191,15 +181,16 @@ gestures {
 93     workspace_swipe = false
 94 }
 95 
 96-# See https://wiki.hyprland.org/Configuring/Keywords/
 97+# https://wiki.hyprland.org/Configuring/Keywords/
 98 $mod = SUPER
 99 
100-# See https://wiki.hyprland.org/Configuring/Binds/
101+# https://wiki.hyprland.org/Configuring/Binds/
102 bind = $mod SHIFT, Q, hy3:killactive,
103 bind = $mod SHIFT, X, exec, uwsm stop
104 bind = $mod, Space, exec, $menu
105 bind = $mod, Backspace, exec, $menu
106 bind = $mod, Return, exec, $terminal
107+bind = $mod, J, exec, rofimoji --clipboarder wl-copy --action copy --skin-tone neutral
108 
109 # Focus bindings
110 bind = $mod, h, hy3:movefocus, l
111@@ -278,9 +269,21 @@ bind = Shift, Print, exec, grimshot save active /home/pavle/pictures/screenshot.
112 bind = Control, Print, exec, grimshot copy area
113 bind = $mod, Print, exec, pyazo -d
114 
115-# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
116+# https://wiki.hyprland.org/Configuring/Workspace-Rules/
117diff --git a/dot_config/waybar/config-top.jsonc.tmpl b/dot_config/waybar/config-top.jsonc.tmpl
118index 283960ba70035ee93d2e3608786155d5a2814013..48f87a80eecbc45cc8b0ae721bb2f85bca4f760c 100644
119--- a/dot_config/waybar/config-top.jsonc.tmpl
120+++ b/dot_config/waybar/config-top.jsonc.tmpl
121@@ -110,6 +110,7 @@
122 			"class<vlc>": "󰕧",
123 			"class<wireshark>": "󱙳",
124 			"class<org.pwmt.zathura>": "",
125+			"class<zen>": "󰈹",
126 			"class<zenity>": ""
127 		}
128 	},