From 7c0678bcfa89df2f97d8405a457260167afa947e Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 2 Jul 2019 14:51:08 +0300 Subject: Flash the active window --- .config/compton/compton.conf | 1 + .config/i3/config##desktop.Linux.Lowe | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.config/compton/compton.conf b/.config/compton/compton.conf index 51979a6..a0873cc 100644 --- a/.config/compton/compton.conf +++ b/.config/compton/compton.conf @@ -43,6 +43,7 @@ opacity-rule = [ "100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'", "100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'", "100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'", + "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" ]; # Fading fading = true; diff --git a/.config/i3/config##desktop.Linux.Lowe b/.config/i3/config##desktop.Linux.Lowe index ea0d831..69b3edd 100644 --- a/.config/i3/config##desktop.Linux.Lowe +++ b/.config/i3/config##desktop.Linux.Lowe @@ -11,6 +11,9 @@ exec --no-startup-id $HOME/.config/polybar/launch.sh & # start the screensaver, '' at the end is not a typo exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' +# flash the active window +exec --no-startup-id flashfocus + # Font for window titles font pango:Lato 11 @@ -36,6 +39,7 @@ bindsym $mod+Shift+t exec --no-startup-id ~/bin/td # swap caps lock and escape, set keyboard layout, 35 is ]/ΓΌ (layout agnostic) bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" + # use flameshot with print screen bindsym Print exec flameshot gui @@ -227,7 +231,7 @@ mode "$mode_gaps_inner" { } -for_window [class=".*"] border pixel 3 +for_window [class=".*"] border pixel 0 for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable assign [class="^Thunderbird$"] 8 -- cgit v1.2.3-70-g09d2