summaryrefslogtreecommitdiff
path: root/unfreezeapp
diff options
context:
space:
mode:
authorlittleblack111 <jerrylam110209@gmail.com>2023-07-23 09:14:34 +0800
committerlittleblack111 <jerrylam110209@gmail.com>2023-07-23 09:14:34 +0800
commit9b8128a9342500fa4dd43331bd2eb6c8b4ed9b07 (patch)
treeadda4f289032db1e3847b766112e83a5141116f3 /unfreezeapp
parentb8aa6b6a516ac4ae5a104d7de96f31ced7f16d55 (diff)
updated
Diffstat (limited to 'unfreezeapp')
-rwxr-xr-xunfreezeapp4
1 files changed, 4 insertions, 0 deletions
diff --git a/unfreezeapp b/unfreezeapp
index 6939783..495a750 100755
--- a/unfreezeapp
+++ b/unfreezeapp
@@ -1,5 +1,8 @@
#!/bin/bash
+# in order to execute the function, X env have to be prepared
+#killall -CONT Xorg
+
# Define the function to get the list of running GUI applications
running_gui_apps() {
applications=()
@@ -36,6 +39,7 @@ apps=$(running_gui_apps)
apps=$(echo "$apps" | tr '\n' ' ')
# Use killall with the -STOP option and the modified apps variable to stop the applications
+bspcomp & #killall -CONT picom
killall -CONT $apps
killall -CONT polybar
exec $HOME/scripts/runtransani.sh &