+++ /dev/null
-#!/bin/sh
-
-rofi -no-lazy-grab -show drun -theme danixland/appsmenu.rasi
-
+++ /dev/null
-#!/bin/sh
-
-rofi -no-lazy-grab -show ssh -theme danixland/appsmenu.rasi
-
+++ /dev/null
-#!/bin/sh
-
-case $1 in
- all )
- rofi -no-lazy-grab -show window -theme danixland/appsmenu.rasi
- ;;
- desktop )
- rofi -no-lazy-grab -show windowcd -theme danixland/appsmenu.rasi
- ;;
-esac
-
-
--- /dev/null
+#!/bin/sh
+
+# rofi -no-lazy-grab -show drun -theme blackpearl/appmenu
+rofi -no-lazy-grab -show drun -theme darknix/appmenu.rasi
+
#!/bin/bash
-rofi_command="rofi -theme danixland/powermenu.rasi"
+# rofi_command="rofi -theme blackpearl/powermenu.rasi"
+rofi_command="rofi -theme darknix/powermenu.rasi"
### Options ###
power_off=""
reboot=""
-lock="ï ½"
-suspend="鈴"
-log_out="ï\90¦"
+lock="ï\91\96"
+suspend="⏾"
+log_out="﫼"
# Variable passed to rofi
options="$power_off\n$reboot\n$lock\n$suspend\n$log_out"
-chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 2)"
+chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 0)"
case $chosen in
$power_off)
notify-send 'shutting down' 'the system is going to shutdown now'
;;
$lock)
sleep 1
- i3lock-wrapper
+ i3lock-fancy
;;
$suspend)
sleep 1
--- /dev/null
+#!/bin/sh
+
+rofi -no-lazy-grab -show run -theme darknix/runner.rasi
+
#!/bin/bash
-rofi_command="rofi -theme danixland/scrotmenu.rasi"
+rofi_command="rofi -theme darknix/scrotmenu.rasi"
### Options ###
screen=""
area=""
-window=""
# Variable passed to rofi
-options="$screen\n$area\n$window"
+options="$screen\n$area"
chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 1)"
case $chosen in
$screen)
- sleep 1; i3-scrot
+ i3-scrot -d 3
;;
$area)
i3-scrot -s
;;
- $window)
- sleep 1; i3-scrot -u
- ;;
esac
-
--- /dev/null
+#!/bin/sh
+
+rofi -no-lazy-grab -show ssh -no-parse-known-hosts -theme darknix/sshmenu.rasi
+
#!/bin/bash
-rofi_command="rofi -theme danixland/utilsmenu.rasi"
+rofi_command="rofi -theme darknix/utilsmenu.rasi"
### Options ###
wpaper=""
--- /dev/null
+#!/bin/sh
+
+case $1 in
+ all )
+ rofi -no-lazy-grab -show window -theme darknix/main.rasi
+ ;;
+ desktop )
+ rofi -no-lazy-grab -show windowcd -theme darknix/main.rasi
+ ;;
+esac
+
+
--- /dev/null
+/*
+ * DARKNIX appsmenu rofi theme
+ * tested on a 1366x768 screen
+ */
+
+/* IMPORTS */
+@import "libs/settings.rasi"
+@import "libs/reset.rasi"
+
+/** Default settings, every widget inherits from this. */
+* {
+ /** Default background color is transparent. */
+ background-color: @bg-trans;
+ text-color: @accent;
+}
+
+/**
+ * Entry box on top.
+ */
+entry {
+ /** Background is grey */
+ background-color: @bg;
+ /** 4px padding on the inside of the border. */
+ padding: 4px;
+ /** when no text is set, show 'Type to filter' */
+ placeholder: "Type to filter";
+ placeholder-color: @fg;
+ /** inherit font setting from parent */
+ font: inherit;
+ cursor: text;
+ border: 2px 2px 2px 0px;
+ /** with a radius on the left two corners. */
+ border-radius: 0px 4px 4px 0px;
+ /** add matching border. */
+ border-color: @accent;
+}
+
+/**
+ * Input bar
+ */
+inputbar {
+ /** no spacing between widgets */
+ spacing: 0;
+ /** include entry and mode-switcher (removes prompt) */
+ children: [ icon-keyboard, entry ];
+ /** use monospace font. */
+ font: "Montserrat 18";
+ margin: 0 10em 1em;
+}
+
+entry {
+ vertical-align: 0.5;
+}
+
+/**
+ * Small icon in inputbar
+ */
+icon-keyboard {
+ /** give it a 2 pixel border, except on the right side. */
+ border: 2px 0px 2px 2px;
+ /** with a radius on the left two corners. */
+ border-radius: 4px 0px 0px 4px;
+ /** add matching border. */
+ border-color: @accent;
+ /** match background. */
+ background-color: @bg;
+ /** move icon away from right border. */
+ padding: 0px 10px 0px 10px;
+ /** Only use required space. */
+ expand: false;
+ /** icon is around 1.2 font width */
+ size: 1.2em;
+ /** Icon name, we use symbolic name here */
+ filename: "keyboard";
+}
+
+/**
+ * Main window widget
+ */
+window {
+ /** Place on top center of rofi window on the top center of the screen. */
+ anchor: north;
+ location: north;
+
+ /** 100% screen width */
+ width: 100%;
+
+ /** Black transparent color. */
+ background-color: @bg-trans;
+ /** Small one 1 font width border on inside of window. */
+ padding: 0 0 2em;
+
+ /** border */
+ border: 0;
+}
+
+/**
+ * Main container in the window.
+ */
+mainbox {
+ /** spacing between widgets */
+ spacing: 1em;
+}
+
+/**
+ * listview that shows entries.
+ */
+listview {
+ /** 4 rows. */
+ lines: 4;
+ /** 6 columns */
+ columns: 6;
+ /** add 1 em spacing between items */
+ spacing: 0.5em;
+ /** Don't reduce columns if less items are available. */
+ fixed-columns: true;
+}
+scrollbar {
+ enabled: false;
+}
+
+/**
+ * entry in listview.
+ */
+element {
+ /** clients are packed vertically. */
+ orientation: vertical;
+ /** 2 px border */
+ border: 1px;
+ /** with 4px radius on corners. */
+ border-radius: 1em;
+ border-color: @accent;
+ background-color: @bg-trans;
+ /** 4 px padding on the inside of border */
+ cursor: pointer;
+ padding: 6px;
+}
+
+/** selected element */
+element selected {
+ /** highlighted colors */
+ background-color: @bg-focus;
+ text-color: @fg-list;
+}
+
+/** Entry icon */
+element-icon {
+ /** change size to 128 pixels. */
+ size: 128px;
+ cursor: inherit;
+}
+
+/** Entry text */
+element-text {
+ /* align font in (horizontally) center */
+ horizontal-align: 0.5;
+ cursor: inherit;
+}
+element-text selected {
+ border-radius: 1em;
+ background-color: @accent;
+ text-color: @bg;
+}
+++ /dev/null
-/**
- * This theme is intended for a 8x2 items list menu with a headerbar.
- */
-@import "shared/settings.rasi"
-* {
- background-color: @transparent;
- text-color: @foreground-list;
- font: @text-font;
-}
-#window {
- background-color: @background-trans;
- transparency: "background";
- padding: @list-8-window-padding;
-}
-inputbar,
-prompt,
-textbox-prompt-colon,
-entry {
- background-color: @background;
-}
-#inputbar {
- children: [ prompt, textbox-prompt-colon, entry ];
- margin: @inputbar-margin;
-}
-#prompt {
- padding: @prompt-padding;
- background-color: @accent;
- text-color: @background;
-}
-#textbox-prompt-colon {
- expand: false;
- str: " : : ";
- padding: @apps-textbox-prompt-colon-padding;
-}
-#entry {
- text-color: @accent;
- padding: @entry-padding;
-}
-#element {
- padding: @list-element-padding;
- margin: @list-element-margin;
- border: @list-element-border;
- background-color: @background;
- border-color: @background;
-}
-#element.selected {
- background-color: @background-focus;
- text-color: @accent;
- border-color: @accent;
-}
-
--- /dev/null
+/*
+ * DARKNIX scrotmenu rofi theme
+ * tested on a 1366x768 screen
+ */
+
+/* IMPORTS */
+@import "libs/settings.rasi"
+@import "libs/reset.rasi"
+
+scrollbar {
+ disabled: true;
+}
+window {
+ fullscreen: true;
+ background-color: @bg-trans;
+ width: 100%;
+ position: north;
+}
+mainbox {
+ children: [ textbox1, listview ];
+ border: 0;
+ padding: 0;
+}
+textbox1 {
+ margin: 1em;
+ padding: 0;
+ width: 100%;
+ text-color: @accent;
+ font: "Montserrat 24";
+ str: "Are you sure you want to exit?";
+ vertical-align: 0.2;
+ horizontal-align: 0.5;
+}
+listview {
+ columns: 2;
+ lines: 1;
+ expand: false;
+ cycle: true;
+ spacing: 4em;
+ /* 60px is the height of the items */
+ padding: calc(50% - 5em) 22em;
+ 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
--- /dev/null
+* {
+ /* COLORS SETTINGS */
+ accent: rgba(255,191,0,1);
+ bg: rgba(28,28,28,1);
+ bg-trans: rgba(28,28,28,0.85);
+ bg-focus: rgba(40,40,40,1);
+ fg: rgba(136,136,136,1);
+ fg-list: rgba(187,187,187,1);
+ on: rgba(68,173,77,1);
+ off: rgba(227,64,57,1);
+ transparent: rgba(255,255,255,0);
+
+ /* STYLE RESET */
+ border: 0;
+ padding: 0;
+ margin: 0;
+ background-color: @transparent;
+ text-color: @accent;
+}
--- /dev/null
+configuration {
+ modi: "run,window,drun,ssh";
+/* font: "Inconsolata Nerd Font Regular 12";*/
+ drun-display-format: "{icon} <span weight='light' size='small'><i>{name}</i></span>";
+ display-drun: "Apps";
+ show-icons: true;
+ icon-theme: "MB-Mango-Suru-GLOW";
+ drun-match-fields: "name,generic,exec,category";
+ hide-scrollbar: true;
+ cycle: true;
+/* fullscreen: true;*/
+ sidebar-mode: false;
+ terminal: "alacritty";
+ ssh-client: "ssh";
+ ssh-command: "{terminal} -e {ssh-client} {host}";
+ run-command: "{cmd}";
+ run-shell-command: "{terminal} -e {cmd}";
+ cache-dir: "/home/danix/.cache/";
+}
--- /dev/null
+/*
+ * BLACKPEARL appsmenu rofi theme
+ * tested on a 1366x768 screen
+ */
+
+/* IMPORTS */
+@import "libs/settings.rasi"
+@import "libs/reset.rasi"
+
+/** Default settings, every widget inherits from this. */
+* {
+ /** Default background color is transparent. */
+ background-color: transparent;
+ /** Default text is white */
+ text-color: @accent;
+}
+
-/**
- * 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
--- /dev/null
+/*
+ * DARKNIX runner rofi theme
+ * tested on a 1366x768 screen
+ */
+
+/* IMPORTS */
+@import "libs/settings.rasi"
+@import "libs/reset.rasi"
+
+window {
+ anchor: north;
+ location: north;
+ width: 600px;
+ height: 400px;
+ margin: 0;
+ background-color: @bg-trans;
+}
+mainbox {
+ background-color: @bg-trans;
+ children: [ inputbar, listview ];
+ border: 0;
+ padding: 0;
+}
+inputbar {
+}
+prompt {
+ enabled: false;
+}
+entry {
+ text-color: @accent;
+ background-color: @bg-focus;
+ border: 1px solid;
+ border-color: @accent;
+ border-radius: 5px;
+ padding: 10px;
+ horizontal-align: 0.0;
+ vertical-align: 0.5;
+ placeholder: "enter app to search...";
+ placeholder-color: @fg;
+}
+listview {
+ margin: 60px 0;
+ columns: 1;
+ lines: 12;
+ expand: false;
+ /*cycle: true;*/
+ spacing: 10px;
+ /*padding: 50px 10px;*/
+}
+element {
+ text-color: @fg;
+}
+element.selected {
+ background-color: @bg-focus;
+ text-color: @accent;
+}
-/**
- * This theme is intended for a 3 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 scrotmenu rofi theme
+ * tested on a 1366x768 screen
*/
-@import "shared/option-menu.rasi"
-#window {
- padding: @option-3-window-padding;
+
+/* IMPORTS */
+@import "libs/settings.rasi"
+@import "libs/reset.rasi"
+
+scrollbar {
+ disabled: true;
}
-#listview {
- spacing: @option-3-listview-spacing;
- lines: 3;
+window {
+ fullscreen: true;
+ background-color: @bg-trans;
+ width: 100%;
+ position: north;
}
-
+mainbox {
+ children: [ listview ];
+ border: 0;
+ padding: 0;
+}
+listview {
+ columns: 2;
+ lines: 1;
+ expand: false;
+ cycle: true;
+ spacing: 4em;
+ /* 60px is the height of the items */
+ padding: calc(50% - 5em) 22em;
+ 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
+++ /dev/null
-* {
- accent: rgba(255,191,0,1);
- background: rgba(28,28,28,1);
- background-trans: rgba(28,28,28,0.85);
- background-focus: rgba(40,40,40,1);
- foreground: rgba(136,136,136,1);
- foreground-list: rgba(187,187,187,1);
- on: rgba(68,173,77,1);
- off: rgba(227,64,57,1);
- transparent: rgba(255,255,255,0);
-}
+++ /dev/null
-/**
- * Settings used in every rofi option menu:
- * - i3layoutmenu
- * - mpdmenu
- * - powermenu
- * - scrotmenu
- */
-@import "settings.rasi"
-* {
- background-color: @transparent;
- text-color: @foreground;
- font: @icon-font;
-}
-#window {
- children: [ horibox ];
- background-color: @background-trans;
- transparency: "background";
-}
-#horibox {
- children: [ listview ];
-}
-#listview {
- layout: horizontal;
-}
-#element {
- padding: @option-element-padding;
- background-color: @background;
-}
-#element.selected {
- background-color: @accent;
- text-color: @background;
-}
-
+++ /dev/null
-* {
- /* General */
- text-font: "Roboto Mono Nerd Font Regular 14";
- text-font-mono: "Roboto Mono Nerd Font Regular 14";
- icon-font: "Hurmit Nerd Font Mono 50";
- icon-font-small: "Hurmit Nerd Font Mono 24";
- inputbar-margin: 4px 4px;
- prompt-padding: 14px 18px;
- entry-padding: 16px 14px 14px 0px;
- /* list menus: appsmenu, networkmenu and nmvpnmenu */
- list-element-padding: 13px;
- list-element-margin: @inputbar-margin;
- list-element-border: 0px 0px 0px 8px;
- list-8-window-padding: 120px 100px;
- /* option menus: i3layoutmenu, mpdmenu, powermenu and scrotmenu */
- /**
- * Values bellow are 'no-padding' ones for a size 50 (@icon-font) font, played around using this character: ■
- * We then add add 70 actual padding around the icons.
- * -10px 0px -15px -79px */
- option-element-padding: 60px 70px 55px -9px;
-option-2-window-padding: 293px 450px;
- option-3-window-padding: 293px 290px;
- option-2-listview-spacing: 220px;
- option-3-listview-spacing: 100px;
- option-5-window-padding: 293px 129px;
- option-5-listview-spacing: 49px;
- option-6-listview-spacing: 30px;
- /* appsmenu */
- apps-textbox-prompt-colon-padding: 16px;
- /* mpdmenu */
- mpd-window-padding: 257px 64px;
- mpd-inputbar-margin: 10px 0px;
- mpd-prompt-padding: 14px 20px 10px 20px;
- mpd-prompt-margin: 0px 0px 0px -2px;
- mpd-element-border: 12px;
- /* Every @option-element-padding minus @mpd-element-border */
- mpd-element-padding: 48px 58px 43px -21px;
- /* networkmenu */
- network-textbox-prompt-colon-padding: 12px 10px 8px 10px;
- /* nmvpnmenu */
- nmvpn-textbox-prompt-colon-padding: @network-textbox-prompt-colon-padding;
-}
+++ /dev/null
-/**
- * Allows to change the settings of every menu simply by editing this file
- */
-@import "colors/dark-amber.rasi"
-@import "res/1366x768.rasi"
-
-#window {
- width: 100%;
- height: 100%;
-}
-
--- /dev/null
+/*
+ * DARKNIX appsmenu rofi theme
+ * tested on a 1366x768 screen
+ */
+
+/* IMPORTS */
+@import "libs/settings.rasi"
+@import "libs/reset.rasi"
+
+/** Default settings, every widget inherits from this. */
+* {
+ /** Default background color is transparent. */
+ background-color: @bg-trans;
+ text-color: @accent;
+}
+
+/**
+ * Entry box on top.
+ */
+entry {
+ /** Background is grey */
+ background-color: @bg;
+ /** 4px padding on the inside of the border. */
+ padding: 4px;
+ /** when no text is set, show 'Type to filter' */
+ placeholder: "Type to filter";
+ placeholder-color: @fg;
+ /** inherit font setting from parent */
+ font: inherit;
+ cursor: text;
+ border: 2px 2px 2px 0px;
+ /** with a radius on the left two corners. */
+ border-radius: 0px 4px 4px 0px;
+ /** add matching border. */
+ border-color: @accent;
+}
+
+/**
+ * Input bar
+ */
+inputbar {
+ /** no spacing between widgets */
+ spacing: 0;
+ /** include entry and mode-switcher (removes prompt) */
+ children: [ icon-keyboard, entry ];
+ /** use monospace font. */
+ font: "Montserrat 18";
+ margin: 0 10em 1em;
+}
+
+entry {
+ vertical-align: 0.5;
+}
+
+/**
+ * Small icon in inputbar
+ */
+icon-keyboard {
+ /** give it a 2 pixel border, except on the right side. */
+ border: 2px 0px 2px 2px;
+ /** with a radius on the left two corners. */
+ border-radius: 4px 0px 0px 4px;
+ /** add matching border. */
+ border-color: @accent;
+ /** match background. */
+ background-color: @bg;
+ /** move icon away from right border. */
+ padding: 0px 10px 0px 10px;
+ /** Only use required space. */
+ expand: false;
+ /** icon is around 1.2 font width */
+ size: 1.2em;
+ /** Icon name, we use symbolic name here */
+ filename: "keyboard";
+}
+
+/**
+ * Main window widget
+ */
+window {
+ fullscreen: true;
+ /** Place on top center of rofi window on the top center of the screen. */
+ anchor: north;
+ location: north;
+
+ /** 100% screen width */
+ width: 100%;
+
+ /** Black transparent color. */
+ background-color: @bg-trans;
+ /** Small one 1 font width border on inside of window. */
+ padding: 0 0 2em;
+
+ /** border */
+ border: 0;
+}
+
+/**
+ * Main container in the window.
+ */
+mainbox {
+ /** spacing between widgets */
+ spacing: 1em;
+}
+
+/**
+ * listview that shows entries.
+ */
+listview {
+ /** 4 rows. */
+ lines: 3;
+ /** 6 columns */
+ columns: 2;
+ /** add 1 em spacing between items */
+ spacing: 1em;
+ /** Don't reduce columns if less items are available. */
+ fixed-columns: true;
+}
+scrollbar {
+ enabled: false;
+}
+
+/**
+ * entry in listview.
+ */
+element {
+ /** clients are packed vertically. */
+ orientation: vertical;
+ /** 2 px border */
+ border: 1px;
+ /** with 4px radius on corners. */
+ border-radius: 1em;
+ border-color: @accent;
+ background-color: @bg-trans;
+ /** 4 px padding on the inside of border */
+ cursor: pointer;
+ padding: 2em 3em 3em;
+}
+
+/** selected element */
+element selected {
+ /** highlighted colors */
+ background-color: @accent;
+}
+/** Entry text */
+element-text {
+ /* align font in (horizontally) center */
+ vertical-align: 0.5;
+ horizontal-align: 0.5;
+ cursor: inherit;
+ text-color: @accent;
+}
+element-text selected {
+ border-radius: 1em;
+ background-color: @accent;
+ text-color: @bg;
+}
-/**
- * This theme is intended for a 3 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 utilsmenu rofi theme
+ * tested on a 1366x768 screen
*/
-@import "shared/option-menu.rasi"
-#window {
- padding: @option-2-window-padding;
+
+/* IMPORTS */
+@import "libs/settings.rasi"
+@import "libs/reset.rasi"
+
+scrollbar {
+ disabled: true;
}
-#listview {
- spacing: @option-3-listview-spacing;
- lines: 3;
+window {
+ fullscreen: true;
+ background-color: @bg-trans;
+ width: 100%;
+ position: north;
}
-
+mainbox {
+ children: [ listview ];
+ border: 0;
+ padding: 0;
+}
+listview {
+ columns: 2;
+ lines: 1;
+ expand: false;
+ cycle: true;
+ spacing: 4em;
+ /* 60px is the height of the items */
+ padding: calc(50% - 5em) 22em;
+ 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