Browse Source

add rofi and onedark theme!

siduck76 4 years ago
parent
commit
3383e0bf19
4 changed files with 94 additions and 9 deletions
  1. 4 4
      .dwm/bar
  2. 1 1
      chadwm/themes/onedark.h
  3. 4 4
      chadwm/themes/onedark_bar
  4. 85 0
      rofi/config.rasi

+ 4 - 4
.dwm/bar

@@ -49,14 +49,14 @@ mem() {
 
 
 wlan() {
 wlan() {
   case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
   case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
-  up) printf "^c#3b414d^ ^b#899ed5^ 󰤨 ^d^%s" " ^c#828dd1^Connected" ;;
-  down) printf "^c#3b414d^ ^b#899ed5^ 󰤭 ^d^%s" " ^c#828dd1^Disconnected" ;;
+  up) printf "^c#3b414d^ ^b#7aa2f7^ 󰤨 ^d^%s" " ^c#7aa2f7^Connected" ;;
+  down) printf "^c#3b414d^ ^b#7aa2f7^ 󰤭 ^d^%s" " ^c#7aa2f7^Disconnected" ;;
   esac
   esac
 }
 }
 
 
 clock() {
 clock() {
-  printf "^c#1e222a^ ^b#7085bc^ 󱑆 "
-  printf "^c#1e222a^^b#859ad1^ $(date '+%a, %I:%M %p') "
+  printf "^c#1e222a^ ^b#668ee3^ 󱑆 "
+  printf "^c#1e222a^^b#7aa2f7^ $(date '+%a, %I:%M %p') "
 }
 }
 
 
 while true; do
 while true; do

+ 1 - 1
chadwm/themes/onedark.h

@@ -3,7 +3,7 @@ static const char gray2[]       = "#2e323a"; // unfocused window border
 static const char gray3[]       = "#545862";
 static const char gray3[]       = "#545862";
 static const char gray4[]       = "#6d8dad";
 static const char gray4[]       = "#6d8dad";
 static const char blue[]        = "#61afef";  // focused window border
 static const char blue[]        = "#61afef";  // focused window border
-static const char green[]       = "#98c379";
+static const char green[]       = "#7EC7A2";
 static const char red[]         = "#e06c75";
 static const char red[]         = "#e06c75";
 static const char orange[]      = "#caaa6a";
 static const char orange[]      = "#caaa6a";
 static const char yellow[]      = "#EBCB8B";
 static const char yellow[]      = "#EBCB8B";

+ 4 - 4
chadwm/themes/onedark_bar

@@ -49,14 +49,14 @@ mem() {
 
 
 wlan() {
 wlan() {
   case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
   case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
-  up) printf "^c#3b414d^ ^b#899ed5^ 󰤨 ^d^%s" " ^c#828dd1^Connected" ;;
-  down) printf "^c#3b414d^ ^b#899ed5^ 󰤭 ^d^%s" " ^c#828dd1^Disconnected" ;;
+  up) printf "^c#3b414d^ ^b#7aa2f7^ 󰤨 ^d^%s" " ^c#7aa2f7^Connected" ;;
+  down) printf "^c#3b414d^ ^b#7aa2f7^ 󰤭 ^d^%s" " ^c#7aa2f7^Disconnected" ;;
   esac
   esac
 }
 }
 
 
 clock() {
 clock() {
-  printf "^c#1e222a^ ^b#7085bc^ 󱑆 "
-  printf "^c#1e222a^^b#859ad1^ $(date '+%a, %I:%M %p') "
+  printf "^c#1e222a^ ^b#668ee3^ 󱑆 "
+  printf "^c#1e222a^^b#7aa2f7^ $(date '+%a, %I:%M %p') "
 }
 }
 
 
 while true; do
 while true; do

+ 85 - 0
rofi/config.rasi

@@ -0,0 +1,85 @@
+configuration{
+    modi: "drun";
+    width: 40;
+    columns: 1;
+    lines: 5;
+    font: "Iosevka 12";
+    show-icons: true;
+    icon-theme: "Oranchelo";
+    terminal: "st";
+    drun-display-format: "{icon} {name}";
+    display-drun: "  ";
+    location: 0;
+    separator-style: "solid";
+    disable-history: false;
+    hide-scrollbar: true;
+}
+
+* {
+    background-color:  #1e222a;
+    border-color: #D8DEE9;
+    text-color: #D8DEE9;
+    separator-color: @border-color;
+    font: "Iosevka 12";
+    show-icons: true;
+}
+
+window {
+    padding: 20px;
+    height: 320px;
+    border: 3px;
+    border-color: #e06c75;
+}
+
+mainbox {
+    padding: 5px;
+    border-radius: 13px;
+}
+
+inputbar {
+    children: [prompt,entry];
+}
+
+prompt {
+    background-color: #61afef;
+    padding: 5px 5px 0px;
+    text-color: @background-color;
+}
+
+textbox-prompt-colon {
+    expand: false;
+    str: ":";
+}
+
+entry {
+    padding: 5px;
+}
+
+listview {
+    border: 0px 0px 0px;
+    padding: 6px 0px 0px;
+    columns: 2;
+}
+
+element {
+    padding: 5px;
+}
+
+element-icon {
+size: 25px;
+}
+
+element selected {
+    background-color: #282c34  ;
+    text-color: #fff ;
+}
+
+element urgent {
+    background-color: #BF616A;
+    text-color: @background-color;
+}
+
+element active {
+    background-color: #EBCB8B;
+    text-color: @background-color;
+}