Sway : Move calc to scratchpad.
This commit is contained in:
parent
7848042633
commit
c1d02624cb
8
module/common/bash/module/Calc.nix
Normal file
8
module/common/bash/module/Calc.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ ... }: {
|
||||||
|
text = ''
|
||||||
|
# Launch calculator app.
|
||||||
|
function calc() {
|
||||||
|
gnome-calculator
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
}
|
|
@ -38,5 +38,11 @@
|
||||||
for_window [title="Emulator" window_type="utility"] {
|
for_window [title="Emulator" window_type="utility"] {
|
||||||
move scratchpad
|
move scratchpad
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Calculator.
|
||||||
|
for_window [app_id="org.gnome.Calculator"] {
|
||||||
|
move scratchpad
|
||||||
|
scratchpad show
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue