#!/bin/bash

echo "zramswap has been stopped from running!" > /tmp/zramswap
STOP=$(cat /tmp/zramswap)
zramswap stop 2>/dev/null
`yad --center --width=375 --height=100 --fixed --center \
--window-icon="/usr/share/icons/hicolor/48x48/apps/zram-tools.png" \
    --title="ZramSwap Output" \
    --text="\n$STOP" \
    --fore="#FFFFFF" --back="#333333" \
    --fontname="monospace 10" --button=gtk-ok:0`
exit 0
