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
203723be
Commit
203723be
authored
Apr 05, 2021
by
Jay Ta'ala
Browse files
Added bindsym and picom setting for colour inverting selected windows.
parent
9b789518
Changes
2
Show whitespace changes
Inline
Side-by-side
i3/config
View file @
203723be
...
@@ -221,7 +221,11 @@ bindsym $mod+$mod_next+c exec --no-startup-id $picom_start
...
@@ -221,7 +221,11 @@ bindsym $mod+$mod_next+c exec --no-startup-id $picom_start
# window dimming enable or disable (uses xdotool and xprop to set a anti-dim flag, which picom recognises in focus-exclude array)
# window dimming enable or disable (uses xdotool and xprop to set a anti-dim flag, which picom recognises in focus-exclude array)
bindsym $mod+$mod_next+a exec xprop -id $(xdotool getactivewindow) -f ANTIDIM_FLAG 8c -set ANTIDIM_FLAG 1; exec notify-send 'anti-dim set on window'
bindsym $mod+$mod_next+a exec xprop -id $(xdotool getactivewindow) -f ANTIDIM_FLAG 8c -set ANTIDIM_FLAG 1; exec notify-send 'anti-dim set on window'
bindsym $mod+$mod_next+d exec xprop -id $(xdotool getactivewindow) -remove ANTIDIM_FLAG; exec notify-send 'dim set on window'
bindsym $mod+$mod_next+Shift+a exec xprop -id $(xdotool getactivewindow) -remove ANTIDIM_FLAG; exec notify-send 'dim set on window'
# window colour inversion (uses xdotool and xprop to set an invert flag, which picom recognises in invert-color-include array)
bindsym $mod+$mod_next+d exec xprop -id $(xdotool getactivewindow) -f INVERT_FLAG 8c -set INVERT_FLAG 1; exec notify-send 'invert set on window'
bindsym $mod+$mod_next+Shift+d exec xprop -id $(xdotool getactivewindow) -remove INVERT_FLAG; exec notify-send 'invert removed on window'
# focus the parent container
# focus the parent container
bindsym $mod+a focus parent
bindsym $mod+a focus parent
...
...
picom/picom.conf
View file @
203723be
...
@@ -207,6 +207,11 @@ focus-exclude = [
...
@@ -207,6 +207,11 @@ focus-exclude = [
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
];
];
# Specify list of windows or x flag to that will be colour inverted.
invert
-
color
-
include
= [
"INVERT_FLAG@:8c"
];
# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
detect
-
transient
=
true
;
detect
-
transient
=
true
;
# Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time.
# Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time.
...
...
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