Skip to content

Commit

Permalink
use built-in back-and-forth in i3
Browse files Browse the repository at this point in the history
  • Loading branch information
luan committed Aug 31, 2020
1 parent 2a2de6d commit eb2e49c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion alacritty/.config/alacritty/alacritty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ font:
style: Italic

# Point size of the font
size: 11.5
size: 10.0
# Offset is the extra space around each character. offset.y can be thought of
# as modifying the linespacing, and offset.x as modifying the letter spacing.
offset:
Expand Down
4 changes: 2 additions & 2 deletions i3/.config/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
bindsym $mod+Tab exec "i3-focus-last --switch"
bindsym $mod+Tab workspace back_and_forth

# move focused window
bindsym $mod+Shift+h move left
Expand Down Expand Up @@ -142,7 +142,7 @@ default_border pixel 2
smart_borders on

# i3 scripts
exec_always --no-startup-id bash -c "ps -ef | grep -E '[p]ython3 .*i3-focus-last' | tr -s ' ' | cut -d ' ' -f2 | xargs kill; i3-focus-last"
# exec_always --no-startup-id bash -c "ps -ef | grep -E '[p]ython3 .*i3-focus-last' | tr -s ' ' | cut -d ' ' -f2 | xargs kill; i3-focus-last"
exec_always --no-startup-id i3-rename-workspace

bindsym $mod+Shift+z sticky toggle
Expand Down
10 changes: 5 additions & 5 deletions i3/.config/i3/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ dropbox-run() {
}

main() {
# dropbox-run stop
# while pgrep -x dropbox >/dev/null; do
# sleep 1;
# done
dropbox-run stop
while pgrep -x dropbox >/dev/null; do
sleep 1;
done

killall -q polybar picom feh dunst xbanish xautolock
feh --no-xinerama --bg-scale "$(< "${HOME}/.cache/wal/wal")" &
Expand All @@ -27,7 +27,7 @@ main() {

polybar -r top &

# dropbox-run start
dropbox-run start
xbanish &

sleep 5
Expand Down
2 changes: 1 addition & 1 deletion polybar/.config/polybar/config
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ modules-left = memory cpu spotify
modules-center = i3
modules-right = battery dunst microphone volume xbacklight packages date time

tray-position = none
tray-position = left
tray-padding = 2
tray-maxsize = 24

Expand Down

0 comments on commit eb2e49c

Please sign in to comment.