Sat Jun 1 05:59:10 PM CEST 2024

This commit is contained in:
Thomas Avé 2024-06-01 17:59:10 +02:00
parent d3424c1873
commit 681e813b0b
4 changed files with 0 additions and 25 deletions

View File

@ -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

View File

@ -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"

View File

@ -1 +0,0 @@

View File

@ -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