aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2021-08-16 09:34:29 +1200
committerTom Ryder <tom@sanctum.geek.nz>2021-08-16 09:34:29 +1200
commit5589832db64550f32977b68444e8c7c855d42b93 (patch)
tree94fa25b3d8e0e548a72670d2f480ffd5fd1bdbe3
parentMerge branch 'release/v11.7.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-master.tar.gz
dotfiles-master.zip
Merge branch 'release/v11.8.0'HEADv11.8.0master
* release/v11.8.0: Revert "Add a basic system-wide push-to-talk" Add a basic system-wide push-to-talk Correct mis-escaped dollar sign in scrot script Add hour/minute/second timestamp to scrot files Restore title bars to i3 windows Revert "Remove i3 workspace labels for now" Switch to lossless WEBP (converted) for scrots
-rw-r--r--VERSION4
-rw-r--r--X/sxhkdrc12
-rw-r--r--i3/config23
3 files changed, 19 insertions, 20 deletions
diff --git a/VERSION b/VERSION
index b1e27a5c..1c140db5 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v11.7.0
-Sun, 15 Aug 2021 10:12:44 +0000
+tejr dotfiles v11.8.0
+Sun, 15 Aug 2021 21:34:18 +0000
diff --git a/X/sxhkdrc b/X/sxhkdrc
index 5299df73..c277855b 100644
--- a/X/sxhkdrc
+++ b/X/sxhkdrc
@@ -32,11 +32,13 @@ super + v
urxvtcd -e "$VISUAL"
super + shift + s
- sleep 0.25 && scrot \
- --freeze --select \
- --exec 'xclip -selection clipboard -target image/png $f ; \
- mkdir -p -- "$$HOME"/screenshots/%Y-%m-%d && \
- mv -- $f "$$HOME"/screenshots'
+ sleep 0.25 && scrot --freeze --select \
+ --exec 'xclip -selection clipboard -target image/png $f && \
+ dir=$$HOME/screenshots/%Y-%m-%d && \
+ mkdir --parents -- "$$dir" && \
+ convert -- $f -define webp:lossless=true \
+ "$$dir"/%Y-%m-%d_%H%M%S_$wx$h.webp && \
+ rm -- $f'
super + slash
i3lock --color=#000000 --image "$HOME"/.local/share/i3/lock.png --nofork
diff --git a/i3/config b/i3/config
index bc795967..f43679e8 100644
--- a/i3/config
+++ b/i3/config
@@ -4,9 +4,6 @@ set $mod Mod4
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
-# No title bar
-new_window 1pixel
-
# If the window is the only one on the workspace, forego the borders
hide_edge_borders smart
@@ -56,22 +53,22 @@ bindsym $mod+a focus parent
bindsym $mod+z focus child
# Mod+<n> switches to a workspace
-bindsym $mod+1 workspace 1
-bindsym $mod+2 workspace 2
-bindsym $mod+3 workspace 3
-bindsym $mod+4 workspace 4
-bindsym $mod+5 workspace 5
+bindsym $mod+1 workspace 1:main
+bindsym $mod+2 workspace 2:home
+bindsym $mod+3 workspace 3:work
+bindsym $mod+4 workspace 4:soc
+bindsym $mod+5 workspace 5:tor
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
# Mod+Shift+<n> moves a container to a workspace
-bindsym $mod+Shift+1 move container to workspace 1
-bindsym $mod+Shift+2 move container to workspace 2
-bindsym $mod+Shift+3 move container to workspace 3
-bindsym $mod+Shift+4 move container to workspace 4
-bindsym $mod+Shift+5 move container to workspace 5
+bindsym $mod+Shift+1 move container to workspace 1:main
+bindsym $mod+Shift+2 move container to workspace 2:home
+bindsym $mod+Shift+3 move container to workspace 3:work
+bindsym $mod+Shift+4 move container to workspace 4:soc
+bindsym $mod+Shift+5 move container to workspace 5:tor
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8