not
This commit is contained in:
parent
c2a3a130d1
commit
6b45b885c7
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ sh_gnome_workspaces_primary() {
|
|||
bool="$(gsettings get "${group}" "${name}")"
|
||||
sh_log_debug "${var}: ${bool}"
|
||||
# not
|
||||
bool="$(not "${bool}")"
|
||||
bool="$(sh_not "${bool}")"
|
||||
sh_log_debug "bool: ${bool}"
|
||||
# set
|
||||
gsettings set "${group}" "${name}" "${bool}"
|
||||
|
|
|
@ -4,7 +4,7 @@ list_block_devices() {
|
|||
--output "NAME,SIZE,TYPE,FSTYPE,LABEL,MOUNTPOINTS"
|
||||
}
|
||||
|
||||
not() {
|
||||
sh_not() {
|
||||
case "${1}" in
|
||||
"false") echo "true" ;;
|
||||
"true") echo "false" ;;
|
||||
|
|
Loading…
Reference in a new issue