updated all my files for rofi
[danixland-rofi.git] / theme / powermenu.rasi
index dc49261..767ffbf 100644 (file)
@@ -1,13 +1,53 @@
-/**
- * This theme is intended for a 5 items wide menu on a 1920x1080 pixels resolution.
- * You may have to tweak values such as the window padding if you have a different resolution.
+/*
+ * DARKNIX powermenu rofi theme
+ * tested on a 1366x768 screen
  */
-@import "shared/option-menu.rasi"
-#window {
-  padding: @option-5-window-padding;
+
+/* IMPORTS */
+@import "libs/settings.rasi"
+@import "libs/reset.rasi"
+
+scrollbar {
+    disabled: true;
 }
-#listview {
-  spacing: @option-5-listview-spacing;
-  lines: 5;
+window {
+    fullscreen: true;
+    background-color: @bg-trans;
+    width: 100%;
+    position: north;
 }
-
+mainbox {
+    children: [ listview ];
+    border: 0;
+    padding: 0;
+}
+listview {
+    columns: 5;
+    lines: 1;
+    expand: false;
+    cycle: true;
+    spacing: 3em;
+    /*  60px is the height of the items  */
+    padding: calc(50% - 5em) 6em;
+    orientation: horizontal;
+}
+element {
+    border: 1px;
+    border-radius: 1em 2em;
+    border-color: @accent;
+    background-color: @bg;
+    orientation: horizontal;
+    padding: 2em 0;
+}
+element selected {
+    background-color: @accent;
+/*    border-color: @bg-focus;*/
+}
+element-text {
+    font: "Inconsolata Nerd Font 70";
+    horizontal-align: 0.35;
+    vertical-align: 0.5;
+}
+element-text selected {
+    text-color: @bg;
+}
\ No newline at end of file