diff options
Diffstat (limited to 'home/dot_local/share/mode/switch.d/executable_mode')
| -rw-r--r-- | home/dot_local/share/mode/switch.d/executable_mode | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/home/dot_local/share/mode/switch.d/executable_mode b/home/dot_local/share/mode/switch.d/executable_mode new file mode 100644 index 0000000..8866486 --- /dev/null +++ b/home/dot_local/share/mode/switch.d/executable_mode @@ -0,0 +1,10 @@ +#!/bin/sh +[ $no_cfg -eq 1 ] && return + +mkcd "$XDG_CACHE_HOME/mode/state" + +echo "$mode" > mode +rm theme +ln -sf "$theme" theme +echo "#!/bin/sh$vars" > vars + |