From 8cb024f2fb1f9b334ea1eaa46d47fc60dc0d2ff6 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 26 Jul 2021 15:03:05 +1200 Subject: Switch to lossless WEBP (converted) for scrots --- X/sxhkdrc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/X/sxhkdrc b/X/sxhkdrc index 5299df73..2577e5ba 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_$wx$h.webp && \ + rm -- $f' super + slash i3lock --color=#000000 --image "$HOME"/.local/share/i3/lock.png --nofork -- cgit v1.2.3 From 935671f7aeeced3ecea01490c3fe02251c2c3c55 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 26 Jul 2021 15:04:58 +1200 Subject: Revert "Remove i3 workspace labels for now" This reverts commit 8f8006a38b7aaf641d73596e8f5697254615db1e. --- i3/config | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/i3/config b/i3/config index bc795967..eff17a21 100644 --- a/i3/config +++ b/i3/config @@ -56,22 +56,22 @@ bindsym $mod+a focus parent bindsym $mod+z focus child # Mod+ 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+ 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 -- cgit v1.2.3 From 9677a0c63fdd004fd4c54b60c7c694ea097af76c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 26 Jul 2021 15:06:57 +1200 Subject: Restore title bars to i3 windows --- i3/config | 3 --- 1 file changed, 3 deletions(-) diff --git a/i3/config b/i3/config index eff17a21..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 -- cgit v1.2.3 From 52f3192e86d895f4d944177edf003ba608c6adad Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 26 Jul 2021 15:41:26 +1200 Subject: Add hour/minute/second timestamp to scrot files --- X/sxhkdrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/X/sxhkdrc b/X/sxhkdrc index 2577e5ba..67f72103 100644 --- a/X/sxhkdrc +++ b/X/sxhkdrc @@ -37,7 +37,7 @@ super + shift + s dir=$$HOME/screenshots/%Y-%m-%d && \ mkdir --parents -- "$dir" && \ convert -- $f -define webp:lossless=true \ - "$$dir"/%Y-%m-%d_$wx$h.webp && \ + "$$dir"/%Y-%m-%d_%H%M%S_$wx$h.webp && \ rm -- $f' super + slash -- cgit v1.2.3 From e582934c5c185a42a72df95de18299e82e46d0fe Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 30 Jul 2021 14:33:28 +1200 Subject: Correct mis-escaped dollar sign in scrot script --- X/sxhkdrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/X/sxhkdrc b/X/sxhkdrc index 67f72103..c277855b 100644 --- a/X/sxhkdrc +++ b/X/sxhkdrc @@ -35,7 +35,7 @@ super + shift + s sleep 0.25 && scrot --freeze --select \ --exec 'xclip -selection clipboard -target image/png $f && \ dir=$$HOME/screenshots/%Y-%m-%d && \ - mkdir --parents -- "$dir" && \ + mkdir --parents -- "$$dir" && \ convert -- $f -define webp:lossless=true \ "$$dir"/%Y-%m-%d_%H%M%S_$wx$h.webp && \ rm -- $f' -- cgit v1.2.3 From 64ddb32e3befe5a37f2585d9519fa1aa707ccb1d Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 30 Jul 2021 14:33:42 +1200 Subject: Add a basic system-wide push-to-talk --- X/sxhkdrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/X/sxhkdrc b/X/sxhkdrc index c277855b..cdead7d7 100644 --- a/X/sxhkdrc +++ b/X/sxhkdrc @@ -54,3 +54,9 @@ XF86AudioLowerVolume XF86Calculator urxvtcd -e bcq + +Control_R + pactl set-source-mute alsa_input.usb-GeneralPlus_USB_Audio_Device-00.mono-fallback off + +@Control_R + pactl set-source-mute alsa_input.usb-GeneralPlus_USB_Audio_Device-00.mono-fallback on -- cgit v1.2.3 From b4936b45868ca69096b20ac067ecf2146068eeed Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 30 Jul 2021 17:14:12 +1200 Subject: Revert "Add a basic system-wide push-to-talk" This reverts commit c6a98e23d0a07ad49eb2b396d1b0b40e2791638e. --- X/sxhkdrc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/X/sxhkdrc b/X/sxhkdrc index cdead7d7..c277855b 100644 --- a/X/sxhkdrc +++ b/X/sxhkdrc @@ -54,9 +54,3 @@ XF86AudioLowerVolume XF86Calculator urxvtcd -e bcq - -Control_R - pactl set-source-mute alsa_input.usb-GeneralPlus_USB_Audio_Device-00.mono-fallback off - -@Control_R - pactl set-source-mute alsa_input.usb-GeneralPlus_USB_Audio_Device-00.mono-fallback on -- cgit v1.2.3 From daed98d77f369dbafb133aa23ec95ba347252cd8 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 16 Aug 2021 09:34:18 +1200 Subject: Bump VERSION --- VERSION | 4 ++-- 1 file changed, 2 insertions(+), 2 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 -- cgit v1.2.3