togglescratch
-
+#!/usr/bin/env fish
-if test ! -e /tmp/scratch_id
- exec xst -e makescratch
-end
+if test ! -e /tmp/scratch_id
+ exec xst -e makescratch
+end
-set nid (cat /tmp/scratch_id)
+set nid (cat /tmp/scratch_id)
-if test -e /tmp/scratch_on
- rm /tmp/scratch_on
- bspc node $nid --to-desktop z
-else
- touch /tmp/scratch_on
- bspc node $nid --to-desktop focused --focus --state fullscreen --flag private=on
-end
+if test -e /tmp/scratch_on
+ rm /tmp/scratch_on
+ bspc node $nid --to-desktop z
+else
+ touch /tmp/scratch_on
+ bspc node $nid --to-desktop focused --focus --state fullscreen --flag private=on
+end
@@ -491,14 +476,14 @@ Personally, I’m getting a rare chance to critically examine all the little
makescratch
-
-set nid (xdo id)
-echo $nid > /tmp/scratch_id
-bspc node $nid --state fullscreen --flag private=on --to-desktop focused
-touch /tmp/scratch_on
-set decid (printf '%d' $nid)
-xdotool set_window --name "scratchterminal" $decid
-exec "$HOME/Scripts/cleanscratch"
+#!/bin/fish
+set nid (xdo id)
+echo $nid > /tmp/scratch_id
+bspc node $nid --state fullscreen --flag private=on --to-desktop focused
+touch /tmp/scratch_on
+set decid (printf '%d' $nid)
+xdotool set_window --name "scratchterminal" $decid
+exec "$HOME/Scripts/cleanscratch"
@@ -506,11 +491,11 @@ Personally, I’m getting a rare chance to critically examine all the little
cleanscratch
-
+#!/usr/bin/env fish
-$SHELL
-rm /tmp/scratch_id
-rm /tmp/scratch_on
+$SHELL
+rm /tmp/scratch_id
+rm /tmp/scratch_on
@@ -518,20 +503,14 @@ Personally, I’m getting a rare chance to critically examine all the little
picom.conf
-fading = true;
-#no-fading-openclose = true;
-fade-delta = 5;
-vsync = true;
-backend="glx";
-opacity-rule=["90:name = 'scratchterminal'"];
-#opacity-rule=["90:class_g = 'xst-256color'"];
+