Skip to content

Commit

Permalink
border_flash
Browse files Browse the repository at this point in the history
  • Loading branch information
ediw8311xht committed Sep 9, 2024
1 parent 60dbd67 commit 28891f0
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 15 deletions.
6 changes: 3 additions & 3 deletions i3wm/borders/border_flash.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
set $inacti_TBAR #000000
set $unfocu_TBAR #333333
default_border $BORDER_PIXEL
#default_floating_border $BORDER_PIXEL
default_floating_border $BORDER_PIXEL
#---GAPS------------------------------------------#
gaps inner 0
gaps outer 0
Expand All @@ -30,6 +30,6 @@
client.focused_tab_title $- $- #000cc2
#client.background $-
include release_helper.conf
for_window [tiling] border pixel 0
for_window [floating] border $BORDER_PIXEL_FLOATING
#for_window [all] border pixel 0
for_window [floating] border pixel 1

17 changes: 9 additions & 8 deletions i3wm/borders/release_helper.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ set $RM bindsym --release Mod1+
set $RM_CTRL bindsym --release Mod1+Ctrl
set $RSF bindsym --release Mod1+Shift+
set $RSF_CTRL bindsym --release Mod1+Shift+Ctrl
set $B1 exec " i3-msg 'border pixel 1'" ;
set $B2 exec " sleep 0.01; i3-msg 'border pixel 0'"
set $B1 exec " i3-msg 'border pixel 1' " ;
set $B2 exec " sleep 0.01; i3-msg '[tiling] border pixel 0' "
for_window [tiling] border pixel 0

$RM 0 $B2
$RM 1 $B2
Expand All @@ -33,14 +34,14 @@ $RM i $B2
$RM j $B2
$RM k $B2
$RM l $B2
#$RM m $B2
$RM m $B2
$RM n $B2
$RM o $B2
$RM p $B2
$RM q $B2
$RM s $B2
#$RM t $B2
#$RM u $B2
$RM t $B2
$RM u $B2
$RM v $B2
$RM x $B2
$RM y $B2
Expand Down Expand Up @@ -78,7 +79,7 @@ $RM_CTRL e $B2
$RM_CTRL f $B2
$RM_CTRL g $B2
$RM_CTRL h $B2
#$RM_CTRL i $B2
$RM_CTRL i $B2
$RM_CTRL j $B2
$RM_CTRL k $B2
$RM_CTRL l $B2
Expand Down Expand Up @@ -119,7 +120,7 @@ $RSF 6 $B2
$RSF 7 $B2
$RSF 8 $B2
$RSF 9 $B2
#RSF a
$RSF a $B2
$RSF b $B2
$RSF c $B2
$RSF d $B2
Expand All @@ -143,7 +144,7 @@ $RSF v $B2
$RSF x $B2
$RSF y $B2
$RSF z $B2
#$RSF minus $B2
$RSF minus $B2
$RSF space $B2
$RSF semicolon $B2
$RSF Left $B2
Expand Down
1 change: 1 addition & 0 deletions i3wm/config
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
floating_maximum_size 1920 x 1080
font pango:Hermit 7
show_marks yes
workspace_auto_back_and_forth yes
#---------------------------------------------------------EXECS-----------#
#$EXC xcmenu
$EXC xcompmgr -n
Expand Down
8 changes: 4 additions & 4 deletions i3wm/regular_bindings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ $Br i $_ exec $dmenu_search
$Br j $B1 focus down
$Br k $B1 focus up
$Br l $B1 focus right
$Br m $_ scratchpad show
$Br m $B1 scratchpad show
$Br n $_ [instance="i3s_note"] scratchpad show
$Br o $_ fullscreen
$Br p $_ exec dunstctl close-all
$Br r $_ exec $xmsg_script "Resize"; mode resize
$Br s $_ layout stacking
$Br t $_ [class="Tor Browser"] scratchpad show
$Br u $_ [title="i3s_kitty_term"] scratchpad show
$Br t $B1 [class="Tor Browser"] scratchpad show
$Br u $B1 [title="i3s_kitty_term"] scratchpad show
$Br v $_ split v
$Br w $_ layout tabbed
$Br x $_ exec $monitor_script 'rotate' '$MON_1' 'right'
Expand All @@ -85,7 +85,7 @@ $SF i $_ exec $xmsg_script "MPV" ; mode mpv
$SF j $B1 move down 20px
$SF k $B1 move up 20px
$SF l $B1 move right 20px
$SF m $_ floating enable, $scratchpad_default, move position center, move scratchpad, scratchpad show
$SF m $B1 floating enable, $scratchpad_default, move position center, move scratchpad, scratchpad show
$SF n $_ exec /usr/local/bin/st -c 'special_note' -n 'i3s_note' nvim "$HOME/Documents/Notepad/note.txt"
$SF p $_ exec /usr/bin/brave --incognito
$SF q $_ kill
Expand Down
3 changes: 3 additions & 0 deletions i3wm/windows.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ for_window [all] title_window_icon padding 8px
for_window [all] title_format "<big><big><big><span background='#000000' rise='7pt'> <small><small>%title</small></small> </span></big></big></big>"
#floating_minimum_size 100 x 100
focus_on_window_activation focus
#for_window [tiling con_id="__focused__"] border pixel 5
#for_window [tiling con_id="?!(_focused__)"] border pixel 0
#for_window [tiling con_id="__FOCUSED__"]

0 comments on commit 28891f0

Please sign in to comment.