This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ "$EUID" -ne 0 ] | |
then echo -e 'Forgot "sudo"??\n'; | |
exit | |
fi | |
echo -e 'Unencrypt disks with gparted\n'; | |
read -n 1 -s -r -p "Press any key to continue"; | |
echo -e '\n'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- as seen on https://gist.github.com/MartinRamm/fd91dbaa9744e9301ec8e617416ccc49 | |
local spiralWithChangableWidth = {} | |
spiralWithChangableWidth.name = "dwindle" | |
function spiralWithChangableWidth.arrange(p) | |
local fullWidth = p.workarea.width | |
local fullHeight = p.workarea.height | |
local tag = p.tag or screen[p.screen].selected_tag | |
--number between 0 and 1, by default changable via Mod+L and Mod+H. Defaults to 0.5 | |
local rawFactor = tag.master_width_factor |