fix: add offload condition to bind
This commit is contained in:
parent
c93bc1099c
commit
4d0a35652c
3 changed files with 9 additions and 6 deletions
|
|
@ -1,8 +1,9 @@
|
|||
{ mainMod }:
|
||||
{ mainMod, nvidia-offload-enabled }:
|
||||
let
|
||||
prefix = if nvidia-offload-enabled then "offload " else "";
|
||||
uwsm = "uwsm app --";
|
||||
browser = "offload firefox";
|
||||
terminal = "offload ghostty";
|
||||
browser = "${prefix}firefox";
|
||||
terminal = "${prefix}ghostty";
|
||||
filemanager = "nemo";
|
||||
scripts = "~/.config/scripts";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue