aboutsummaryrefslogtreecommitdiff
path: root/Common/rofi/bin
diff options
context:
space:
mode:
Diffstat (limited to 'Common/rofi/bin')
l---------Common/rofi/bin/android_apps1
l---------Common/rofi/bin/android_backlight1
l---------Common/rofi/bin/android_mpd1
l---------Common/rofi/bin/android_powermenu1
l---------Common/rofi/bin/android_quicklinks1
l---------Common/rofi/bin/android_screenshot1
l---------Common/rofi/bin/android_volume1
l---------Common/rofi/bin/applet_apps1
l---------Common/rofi/bin/applet_backlight1
l---------Common/rofi/bin/applet_battery1
l---------Common/rofi/bin/applet_mpd1
l---------Common/rofi/bin/applet_network1
l---------Common/rofi/bin/applet_powermenu1
l---------Common/rofi/bin/applet_quicklinks1
l---------Common/rofi/bin/applet_screenshot1
l---------Common/rofi/bin/applet_time1
l---------Common/rofi/bin/applet_volume1
l---------Common/rofi/bin/launcher_colorful1
l---------Common/rofi/bin/launcher_misc1
l---------Common/rofi/bin/launcher_ribbon1
l---------Common/rofi/bin/launcher_slate1
l---------Common/rofi/bin/launcher_text1
l---------Common/rofi/bin/menu_apps1
l---------Common/rofi/bin/menu_backlight1
l---------Common/rofi/bin/menu_battery1
l---------Common/rofi/bin/menu_mpd1
l---------Common/rofi/bin/menu_network1
l---------Common/rofi/bin/menu_powermenu1
l---------Common/rofi/bin/menu_quicklinks1
l---------Common/rofi/bin/menu_screenshot1
l---------Common/rofi/bin/menu_time1
l---------Common/rofi/bin/menu_volume1
l---------Common/rofi/bin/powermenu1
-rwxr-xr-xCommon/rofi/bin/usedcpu45
-rwxr-xr-xCommon/rofi/bin/usedram27
35 files changed, 0 insertions, 105 deletions
diff --git a/Common/rofi/bin/android_apps b/Common/rofi/bin/android_apps
deleted file mode 120000
index 7b11b66..0000000
--- a/Common/rofi/bin/android_apps
+++ /dev/null
@@ -1 +0,0 @@
-../applets/android/apps.sh \ No newline at end of file
diff --git a/Common/rofi/bin/android_backlight b/Common/rofi/bin/android_backlight
deleted file mode 120000
index 9de32b8..0000000
--- a/Common/rofi/bin/android_backlight
+++ /dev/null
@@ -1 +0,0 @@
-../applets/android/backlight.sh \ No newline at end of file
diff --git a/Common/rofi/bin/android_mpd b/Common/rofi/bin/android_mpd
deleted file mode 120000
index 1f16126..0000000
--- a/Common/rofi/bin/android_mpd
+++ /dev/null
@@ -1 +0,0 @@
-../applets/android/mpd.sh \ No newline at end of file
diff --git a/Common/rofi/bin/android_powermenu b/Common/rofi/bin/android_powermenu
deleted file mode 120000
index 7d66a76..0000000
--- a/Common/rofi/bin/android_powermenu
+++ /dev/null
@@ -1 +0,0 @@
-../applets/android/powermenu.sh \ No newline at end of file
diff --git a/Common/rofi/bin/android_quicklinks b/Common/rofi/bin/android_quicklinks
deleted file mode 120000
index 7d44c74..0000000
--- a/Common/rofi/bin/android_quicklinks
+++ /dev/null
@@ -1 +0,0 @@
-../applets/android/quicklinks.sh \ No newline at end of file
diff --git a/Common/rofi/bin/android_screenshot b/Common/rofi/bin/android_screenshot
deleted file mode 120000
index 1bd8694..0000000
--- a/Common/rofi/bin/android_screenshot
+++ /dev/null
@@ -1 +0,0 @@
-../applets/android/screenshot.sh \ No newline at end of file
diff --git a/Common/rofi/bin/android_volume b/Common/rofi/bin/android_volume
deleted file mode 120000
index 33bcea2..0000000
--- a/Common/rofi/bin/android_volume
+++ /dev/null
@@ -1 +0,0 @@
-../applets/android/volume.sh \ No newline at end of file
diff --git a/Common/rofi/bin/applet_apps b/Common/rofi/bin/applet_apps
deleted file mode 120000
index 0cbf8f8..0000000
--- a/Common/rofi/bin/applet_apps
+++ /dev/null
@@ -1 +0,0 @@
-../applets/applets/apps.sh \ No newline at end of file
diff --git a/Common/rofi/bin/applet_backlight b/Common/rofi/bin/applet_backlight
deleted file mode 120000
index 0663ec3..0000000
--- a/Common/rofi/bin/applet_backlight
+++ /dev/null
@@ -1 +0,0 @@
-../applets/applets/backlight.sh \ No newline at end of file
diff --git a/Common/rofi/bin/applet_battery b/Common/rofi/bin/applet_battery
deleted file mode 120000
index 4b660cb..0000000
--- a/Common/rofi/bin/applet_battery
+++ /dev/null
@@ -1 +0,0 @@
-../applets/applets/battery.sh \ No newline at end of file
diff --git a/Common/rofi/bin/applet_mpd b/Common/rofi/bin/applet_mpd
deleted file mode 120000
index 2a55e5f..0000000
--- a/Common/rofi/bin/applet_mpd
+++ /dev/null
@@ -1 +0,0 @@
-../applets/applets/mpd.sh \ No newline at end of file
diff --git a/Common/rofi/bin/applet_network b/Common/rofi/bin/applet_network
deleted file mode 120000
index cecf37c..0000000
--- a/Common/rofi/bin/applet_network
+++ /dev/null
@@ -1 +0,0 @@
-../applets/applets/network.sh \ No newline at end of file
diff --git a/Common/rofi/bin/applet_powermenu b/Common/rofi/bin/applet_powermenu
deleted file mode 120000
index 0a0635d..0000000
--- a/Common/rofi/bin/applet_powermenu
+++ /dev/null
@@ -1 +0,0 @@
-../applets/applets/powermenu.sh \ No newline at end of file
diff --git a/Common/rofi/bin/applet_quicklinks b/Common/rofi/bin/applet_quicklinks
deleted file mode 120000
index 319e0b2..0000000
--- a/Common/rofi/bin/applet_quicklinks
+++ /dev/null
@@ -1 +0,0 @@
-../applets/applets/quicklinks.sh \ No newline at end of file
diff --git a/Common/rofi/bin/applet_screenshot b/Common/rofi/bin/applet_screenshot
deleted file mode 120000
index 3107901..0000000
--- a/Common/rofi/bin/applet_screenshot
+++ /dev/null
@@ -1 +0,0 @@
-../applets/applets/screenshot.sh \ No newline at end of file
diff --git a/Common/rofi/bin/applet_time b/Common/rofi/bin/applet_time
deleted file mode 120000
index 0565f05..0000000
--- a/Common/rofi/bin/applet_time
+++ /dev/null
@@ -1 +0,0 @@
-../applets/applets/time.sh \ No newline at end of file
diff --git a/Common/rofi/bin/applet_volume b/Common/rofi/bin/applet_volume
deleted file mode 120000
index 493275a..0000000
--- a/Common/rofi/bin/applet_volume
+++ /dev/null
@@ -1 +0,0 @@
-../applets/applets/volume.sh \ No newline at end of file
diff --git a/Common/rofi/bin/launcher_colorful b/Common/rofi/bin/launcher_colorful
deleted file mode 120000
index 8e48b54..0000000
--- a/Common/rofi/bin/launcher_colorful
+++ /dev/null
@@ -1 +0,0 @@
-../launchers/colorful/launcher.sh \ No newline at end of file
diff --git a/Common/rofi/bin/launcher_misc b/Common/rofi/bin/launcher_misc
deleted file mode 120000
index ff3f68f..0000000
--- a/Common/rofi/bin/launcher_misc
+++ /dev/null
@@ -1 +0,0 @@
-../launchers/misc/launcher.sh \ No newline at end of file
diff --git a/Common/rofi/bin/launcher_ribbon b/Common/rofi/bin/launcher_ribbon
deleted file mode 120000
index 925a1a8..0000000
--- a/Common/rofi/bin/launcher_ribbon
+++ /dev/null
@@ -1 +0,0 @@
-../launchers/ribbon/launcher.sh \ No newline at end of file
diff --git a/Common/rofi/bin/launcher_slate b/Common/rofi/bin/launcher_slate
deleted file mode 120000
index d409300..0000000
--- a/Common/rofi/bin/launcher_slate
+++ /dev/null
@@ -1 +0,0 @@
-../launchers/slate/launcher.sh \ No newline at end of file
diff --git a/Common/rofi/bin/launcher_text b/Common/rofi/bin/launcher_text
deleted file mode 120000
index 65eac28..0000000
--- a/Common/rofi/bin/launcher_text
+++ /dev/null
@@ -1 +0,0 @@
-../launchers/text/launcher.sh \ No newline at end of file
diff --git a/Common/rofi/bin/menu_apps b/Common/rofi/bin/menu_apps
deleted file mode 120000
index a07c955..0000000
--- a/Common/rofi/bin/menu_apps
+++ /dev/null
@@ -1 +0,0 @@
-../applets/menu/apps.sh \ No newline at end of file
diff --git a/Common/rofi/bin/menu_backlight b/Common/rofi/bin/menu_backlight
deleted file mode 120000
index 18eea2f..0000000
--- a/Common/rofi/bin/menu_backlight
+++ /dev/null
@@ -1 +0,0 @@
-../applets/menu/backlight.sh \ No newline at end of file
diff --git a/Common/rofi/bin/menu_battery b/Common/rofi/bin/menu_battery
deleted file mode 120000
index 10f11b5..0000000
--- a/Common/rofi/bin/menu_battery
+++ /dev/null
@@ -1 +0,0 @@
-../applets/menu/battery.sh \ No newline at end of file
diff --git a/Common/rofi/bin/menu_mpd b/Common/rofi/bin/menu_mpd
deleted file mode 120000
index b3e204b..0000000
--- a/Common/rofi/bin/menu_mpd
+++ /dev/null
@@ -1 +0,0 @@
-../applets/menu/mpd.sh \ No newline at end of file
diff --git a/Common/rofi/bin/menu_network b/Common/rofi/bin/menu_network
deleted file mode 120000
index 2c4c1d9..0000000
--- a/Common/rofi/bin/menu_network
+++ /dev/null
@@ -1 +0,0 @@
-../applets/menu/network.sh \ No newline at end of file
diff --git a/Common/rofi/bin/menu_powermenu b/Common/rofi/bin/menu_powermenu
deleted file mode 120000
index da40a0b..0000000
--- a/Common/rofi/bin/menu_powermenu
+++ /dev/null
@@ -1 +0,0 @@
-../applets/menu/powermenu.sh \ No newline at end of file
diff --git a/Common/rofi/bin/menu_quicklinks b/Common/rofi/bin/menu_quicklinks
deleted file mode 120000
index e873658..0000000
--- a/Common/rofi/bin/menu_quicklinks
+++ /dev/null
@@ -1 +0,0 @@
-../applets/menu/quicklinks.sh \ No newline at end of file
diff --git a/Common/rofi/bin/menu_screenshot b/Common/rofi/bin/menu_screenshot
deleted file mode 120000
index 8c4b92d..0000000
--- a/Common/rofi/bin/menu_screenshot
+++ /dev/null
@@ -1 +0,0 @@
-../applets/menu/screenshot.sh \ No newline at end of file
diff --git a/Common/rofi/bin/menu_time b/Common/rofi/bin/menu_time
deleted file mode 120000
index a7d56c1..0000000
--- a/Common/rofi/bin/menu_time
+++ /dev/null
@@ -1 +0,0 @@
-../applets/menu/time.sh \ No newline at end of file
diff --git a/Common/rofi/bin/menu_volume b/Common/rofi/bin/menu_volume
deleted file mode 120000
index b0f235a..0000000
--- a/Common/rofi/bin/menu_volume
+++ /dev/null
@@ -1 +0,0 @@
-../applets/menu/volume.sh \ No newline at end of file
diff --git a/Common/rofi/bin/powermenu b/Common/rofi/bin/powermenu
deleted file mode 120000
index d9f9d95..0000000
--- a/Common/rofi/bin/powermenu
+++ /dev/null
@@ -1 +0,0 @@
-../powermenu/powermenu.sh \ No newline at end of file
diff --git a/Common/rofi/bin/usedcpu b/Common/rofi/bin/usedcpu
deleted file mode 100755
index 512933c..0000000
--- a/Common/rofi/bin/usedcpu
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/usr/bin/env bash
-
-PREV_TOTAL=0
-PREV_IDLE=0
-
-cpuFile="/tmp/.cpu"
-
-if [[ -f "${cpuFile}" ]]; then
- fileCont=$(cat "${cpuFile}")
- PREV_TOTAL=$(echo "${fileCont}" | head -n 1)
- PREV_IDLE=$(echo "${fileCont}" | tail -n 1)
-fi
-
-CPU=(`cat /proc/stat | grep '^cpu '`) # Get the total CPU statistics.
-unset CPU[0] # Discard the "cpu" prefix.
-IDLE=${CPU[4]} # Get the idle CPU time.
-
-# Calculate the total CPU time.
-TOTAL=0
-
-for VALUE in "${CPU[@]:0:4}"; do
- let "TOTAL=$TOTAL+$VALUE"
-done
-
-if [[ "${PREV_TOTAL}" != "" ]] && [[ "${PREV_IDLE}" != "" ]]; then
- # Calculate the CPU usage since we last checked.
- let "DIFF_IDLE=$IDLE-$PREV_IDLE"
- let "DIFF_TOTAL=$TOTAL-$PREV_TOTAL"
- let "DIFF_USAGE=(1000*($DIFF_TOTAL-$DIFF_IDLE)/$DIFF_TOTAL+5)/10"
- if [[ $1 = "-i" ]]; then
- echo " ${DIFF_USAGE}%"
- else
- echo "${DIFF_USAGE}%"
- fi
-else
- if [[ $1 = "-i" ]]; then
- echo " ?"
- else
- echo "?"
- fi
-fi
-
-# Remember the total and idle CPU times for the next check.
-echo "${TOTAL}" > "${cpuFile}"
-echo "${IDLE}" >> "${cpuFile}"
diff --git a/Common/rofi/bin/usedram b/Common/rofi/bin/usedram
deleted file mode 100755
index e8a6108..0000000
--- a/Common/rofi/bin/usedram
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env bash
-
-mem_info=$(</proc/meminfo)
- mem_info=$(echo $(echo $(mem_info=${mem_info// /}; echo ${mem_info//kB/})))
- for m in $mem_info; do
- case ${m//:*} in
- "MemTotal") usedmem=$((usedmem+=${m//*:})); totalmem=${m//*:} ;;
- "ShMem") usedmem=$((usedmem+=${m//*:})) ;;
- "MemFree"|"Buffers"|"Cached"|"SReclaimable") usedmem=$((usedmem-=${m//*:})) ;;
- esac
- done
- usedmem=$((usedmem / 1024))
- totalmem=$((totalmem / 1024))
- mem="${usedmem}MB / ${totalmem}MB"
-
-## Complete summary
- if [[ $1 = "-fi" ]]; then
- echo " $mem"
- elif [[ $1 = "-f" ]]; then
- echo "$mem"
-
-## Only used RAM
- elif [[ $1 = "-i" ]]; then
- echo " $usedmem MB"
- else
- echo "$usedmem MB"
- fi