aboutsummaryrefslogtreecommitdiff
path: root/.config/rofi/applets/menu/configs/circle/backlight.rasi
diff options
context:
space:
mode:
authorAlec Goncharow <algo@cloudflare.com>2022-02-20 11:50:35 -0500
committerAlec Goncharow <algo@cloudflare.com>2022-02-20 11:50:35 -0500
commitf5abca7278f3ac0c7358e6f30db8a15da45a1e3b (patch)
tree96889e1a2cc2367b8461414ae7c94d9050b84890 /.config/rofi/applets/menu/configs/circle/backlight.rasi
parent3e0c8208ccbead65cd434fe730223a7ab854c377 (diff)
parent72cf398a6292fa56d57e82caa4d21570e5573294 (diff)
Merge branch 'desktop' of github.com:AlecGoncharow/dotfiles into desktop
Diffstat (limited to '.config/rofi/applets/menu/configs/circle/backlight.rasi')
-rw-r--r--.config/rofi/applets/menu/configs/circle/backlight.rasi128
1 files changed, 128 insertions, 0 deletions
diff --git a/.config/rofi/applets/menu/configs/circle/backlight.rasi b/.config/rofi/applets/menu/configs/circle/backlight.rasi
new file mode 100644
index 0000000..2688014
--- /dev/null
+++ b/.config/rofi/applets/menu/configs/circle/backlight.rasi
@@ -0,0 +1,128 @@
+/*
+ *
+ * Author : Aditya Shakya
+ * Mail : adi1090x@gmail.com
+ * Github : @adi1090x
+ * Twitter : @adi1090x
+ *
+ */
+
+configuration {
+ show-icons: false;
+ font: "Comfortaa 14";
+ disable-history: false;
+ sidebar-mode: false;
+}
+
+@import "../../../styles/colors.rasi"
+
+* {
+ background-color: @background;
+ text-color: @foreground;
+}
+
+window {
+ transparency: "real";
+ border-radius: 20px;
+ location: center;
+ width: 500px;
+ x-offset: 0px;
+ y-offset: 0px;
+}
+
+prompt {
+ enabled: true;
+ padding: 10px;
+ background-color: @background;
+ text-color: @accent;
+ border: 0px 2px 0px 2px;
+ border-radius: 100%;
+ border-color: @accent;
+}
+
+textbox-prompt-colon {
+ expand: false;
+ str: " Brightness ";
+ background-color: @accent;
+ text-color: @background;
+ padding: 10px 10px 0px 10px;
+ border-radius: 100%;
+}
+
+inputbar {
+ children: [ textbox-prompt-colon, prompt ];
+ spacing: 15px;
+ background-color: @background;
+ text-color: @foreground;
+ expand: false;
+ border: 0px;
+ border-radius: 0px;
+ border-color: @accent;
+ margin: 0px 0px 0px 0px;
+ padding: 0px;
+ position: center;
+}
+
+listview {
+ columns: 3;
+ lines: 1;
+ spacing: 15px;
+ cycle: true;
+ dynamic: true;
+ layout: vertical;
+}
+
+mainbox {
+ background-color: @background;
+ children: [ inputbar, listview ];
+ spacing: 15px;
+ margin: 40px;
+}
+
+element {
+ background-color: @background-light;
+ text-color: @foreground;
+ orientation: vertical;
+ border-radius: 100%;
+}
+
+element-text {
+ background-color: inherit;
+ text-color: inherit;
+ font: "feather 32";
+ expand: true;
+ horizontal-align: 0.5;
+ vertical-align: 0.5;
+ margin: 40px 0px 40px 0px;
+}
+
+element normal.urgent,
+element alternate.urgent {
+ background-color: @off;
+ text-color: @background;
+ border-radius: 0px;
+}
+
+element normal.active,
+element alternate.active {
+ background-color: @on;
+ text-color: @background;
+}
+
+element selected {
+ background-color: @accent;
+ text-color: @background;
+ border: 0px;
+ border-radius: 100%;
+ border-color: @border;
+}
+
+element selected.urgent {
+ background-color: @on;
+ text-color: @background;
+}
+
+element selected.active {
+ background-color: @off;
+ color: @background;
+}