Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jay Ta'ala
jt-config-repo
Commits
08a74ea3
Commit
08a74ea3
authored
Oct 17, 2022
by
Jay Ta'ala
Browse files
Update on tint2 starting and urgent colour.
parent
ae7989fd
Changes
2
Show whitespace changes
Inline
Side-by-side
i3/config
View file @
08a74ea3
...
...
@@ -122,7 +122,7 @@ exec --no-startup-id fcitx -d
exec --no-startup-id nm-applet
exec --no-startup-id optimus-manager-qt
exec --no-startup-id xfce4-power-manager
exec_always --no-startup-id
"
pkill conky
;
sleep 0.5; conky -c ~/.config/conky; conky -c ~/.config/conky_shortcuts
"
exec_always --no-startup-id pkill conky
&&
sleep 0.5; conky -c ~/.config/conky; conky -c ~/.config/conky_shortcuts
set $picom_start "pkill picom; sleep 1; picom -b"
exec_always --no-startup-id $picom_start
#exec --no-startup-id yes | xsm --restore
...
...
@@ -132,7 +132,8 @@ bindsym $mod+t exec --no-startup-id $picom_start
bindsym $mod+ctrl+t exec --no-startup-id "killall picom"
# tint2 configuration (needs tint2 package)
exec --no-startup-id tint2
exec_always --no-startup-id killall tint2 && sleep 0.5; tint2
for_window [class="(?i)^tint2conf$"] floating disable
# subscribe to urgent event and set _NET_WM_STATE_DEMANDS_ATTENTION (for tint2)
exec_always --no-startup-id i3-msg -t subscribe -m '[ "window" ]' | jq --unbuffered -Mrc '. | select(.change == "urgent" and .container.urgent == true and .container.focused == false) | .container.window' | xargs -I{} xprop -id {} -f _NET_WM_STATE 32a -set _NET_WM_STATE _NET_WM_STATE_DEMANDS_ATTENTION
# subscribe to urgent event being selected and set _NET_WM_STATE_FOCUSED (for tint2)
...
...
tint2/tint2rc
View file @
08a74ea3
#---- Generated by tint2conf
3dd0
----
#---- Generated by tint2conf
7786
----
# See https://gitlab.com/o9000/tint2/wikis/Configure for
# full documentation of the configuration options.
#-------------------------------------
...
...
@@ -63,7 +63,7 @@ border_width = 2
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #
000000
0
background_color = #
ed333b 5
0
border_color = #ed333b 100
background_color_hover = #000000 0
border_color_hover = #ed333b 100
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment