mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-29 12:41:09 -06:00
home: services: change nested ifs to (cond ...)
This commit is contained in:
parent
7306ca4fe3
commit
1fe450deed
1 changed files with 5 additions and 5 deletions
|
|
@ -157,11 +157,11 @@
|
|||
(string? x)))
|
||||
|
||||
(define (serialize-monitor-resolution _ r)
|
||||
(if (pair? r)
|
||||
(format #f "~ax~a" (car r) (cdr r))
|
||||
(if (symbol? r)
|
||||
(symbol->string r)
|
||||
r)))
|
||||
(cond ((pair? r)
|
||||
(format #f "~ax~a" (car r) (cdr r)))
|
||||
((symbol? r)
|
||||
(symbol->string r))
|
||||
(#t r)))
|
||||
|
||||
;;; Monitor position
|
||||
(define (monitor-position? x)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue