aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2022-05-14 11:04:48 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2022-05-14 11:04:48 -0500
commitdcb2e94d08e1db69124842070a9bd253491dfe31 (patch)
tree7e534b4a522862f1c9cbd0d6f75e22a67754d345 /src
parentRemove gitconfig (diff)
downloaddotfiles-dcb2e94d08e1db69124842070a9bd253491dfe31.zip
Add wallpaper and vim navigation keys for i3
Diffstat (limited to 'src')
-rw-r--r--src/configs/shared/i3/config21
-rw-r--r--src/setup.yaml7
-rw-r--r--src/wallpaper.jpgbin0 -> 26719295 bytes
3 files changed, 20 insertions, 8 deletions
diff --git a/src/configs/shared/i3/config b/src/configs/shared/i3/config
index 8d3e320..6688365 100644
--- a/src/configs/shared/i3/config
+++ b/src/configs/shared/i3/config
@@ -13,9 +13,6 @@
# is used in the bar {} block below.
font pango:Hack 16
-#default_border pixel 1
-#default_floating_border pixel 1
-
# Start XDG autostart .desktop files using dex. See also
# https://wiki.archlinux.org/index.php/XDG_Autostart
exec --no-startup-id dex --autostart --environment i3
@@ -40,10 +37,10 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU
# use these keys for focus, movement, and resize directions when reaching for
# the arrows is not convenient
-set $up l
-set $down k
-set $left j
-set $right semicolon
+set $up k
+set $down j
+set $left h
+set $right l
# use Mouse+Mod1 to drag floating windows to their wanted position
floating_modifier Mod1
@@ -82,7 +79,7 @@ bindsym Mod1+Shift+Up move up
bindsym Mod1+Shift+Right move right
# split in horizontal orientation
-bindsym Mod1+h split h
+bindsym Mod1+Shift+v split h
# split in vertical orientation
bindsym Mod1+v split v
@@ -192,3 +189,11 @@ bar {
}
exec --no-startup-id redshift -l 43.547302:-96.728333 -g 0.9
+exec --no-startup-id feh --bg-scale $HOME/Pictures/wallpaper.jpg
+
+for_window [class=".*"] border pixel 0
+gaps inner 20
+gaps outer 10
+smart_gaps on
+smart_borders on
+
diff --git a/src/setup.yaml b/src/setup.yaml
index ee8ca9f..3e72ae0 100644
--- a/src/setup.yaml
+++ b/src/setup.yaml
@@ -10,6 +10,13 @@
loop:
- "$HOME/src"
- "$HOME/bin"
+ - "$HOME/Pictures"
+
+ - name: Link wallpaper
+ file:
+ src: "{{ playbook_dir }}/wallpaper.jpg"
+ dest: "$HOME/Pictures/wallpaper.jpg"
+ state: link
- include_tasks: tasks/shared_dotfiles.yaml
diff --git a/src/wallpaper.jpg b/src/wallpaper.jpg
new file mode 100644
index 0000000..94ae4cf
--- /dev/null
+++ b/src/wallpaper.jpg
Binary files differ