Sat Jun 1 05:59:10 PM CEST 2024
This commit is contained in:
parent
d3424c1873
commit
681e813b0b
|
@ -1,6 +0,0 @@
|
||||||
if ps -C rofi > /dev/null
|
|
||||||
then
|
|
||||||
echo "Already running"
|
|
||||||
else
|
|
||||||
rofi -show combi -combi-modi drun,calc:~/.config/rofi/show-calculator.sh
|
|
||||||
fi
|
|
|
@ -1,8 +0,0 @@
|
||||||
configuration {
|
|
||||||
font: "SF Pro Rounded 13";
|
|
||||||
show-icons: true;
|
|
||||||
icon-theme: "Papirus";
|
|
||||||
kb-cancel: "Super_L+XF86Launch5,Escape";
|
|
||||||
combi-hide-mode-prefix: true;
|
|
||||||
}
|
|
||||||
@theme "~/.config/rofi/material-ocean.rasi"
|
|
|
@ -1 +0,0 @@
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if [[ -z "$1" ]]; then
|
|
||||||
echo -e "Calc Mode\0icon\x1fgnome-calculator"
|
|
||||||
|
|
||||||
else
|
|
||||||
killall rofi
|
|
||||||
# so rofi doesn't complain "can't launch rofi inside rofi"
|
|
||||||
rofi -show calc -modi calc -no-show-match -no-sort -calc-command "echo -n '{result}' | xsel --clipboard"
|
|
||||||
fi
|
|
Loading…
Reference in New Issue