Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * ROFI Color theme
- */
- * {
- spacing: 8px;
- foreground: #ffffff;
- background: #3F3F3F;
- separatorcolor: #000000;
- bordercolor: #FFFFFF;
- border-color: @bordercolor;
- background-color: @background;
- text-color: @foreground;
- normal-foreground: @foreground;
- active-foreground: #FFFFFF;
- urgent-foreground: #161719;
- alternate-normal-foreground: @normal-foreground;
- alternate-active-foreground: @active-foreground;
- alternate-urgent-foreground: @urgent-foreground;
- normal-background: #4C4C4C;
- active-background: @normal-background;
- urgent-background: @normal-background;
- alternate-normal-background: @normal-background;
- alternate-urgent-background: @active-background;
- alternate-active-background: @urgent-background;
- selected-normal-foreground: #FFFFFF;
- selected-active-foreground: @selected-normal-foreground;
- selected-urgent-foreground: @selected-normal-foreground;
- selected-normal-background: #4c4c4c;
- selected-active-background: @selected-normal-background;
- selected-urgent-background: @selected-normal-background;
- lightfg: #000000;
- lightbg: #000000;
- }
- #window {
- width: 100%;
- height: 100%;
- padding: 20% 30% 20% 10%;
- border: 0;
- }
- #inputbar {
- border: 0 0 0 0;
- children: [prompt,entry];
- }
- #prompt {
- padding: 16px;
- border: 0 0 0 0;
- font: "Tahoma 20";
- }
- #entry {
- padding: 16px;
- font: "Tahoma 20";
- placeholder: " search";
- placeholder-color: @normal-background;
- }
- #listview {
- cycle: false;
- margin: 10px 10px 10px 10px;
- scrollbar: true;
- scrollbar-width: 8;
- dynamic: false;
- }
- #element {
- orientation: vertical;
- spacing: 5px;
- }
- #element-icon {
- size: 96;
- padding: 3px;
- }
- #element-text {
- horizontal-align: 0;
- padding: 0px 35px 3px 3px;
- }
- #element normal.normal {
- background-color: @normal-background;
- text-color: @normal-foreground;
- }
- #element alternate.normal {
- background-color: @alternate-normal-background;
- text-color: @alternate-normal-foreground;
- }
- #element normal.active {
- background-color: @active-background;
- text-color: @active-foreground;
- }
- #element alternate.active {
- background-color: @alternate-active-background;
- text-color: @alternate-active-foreground;
- }
- #element normal.urgent {
- background-color: @urgent-background;
- text-color: @urgent-foreground;
- }
- #element alternate.urgent {
- background-color: @alternate-urgent-background;
- text-color: @alternate-urgent-foreground;
- }
- #element selected {
- background-color: @selected-normal-background;
- text-color: @selected-normal-foreground;
- border: 2px;
- }
- #scrollbar {
- width: 4px ;
- border: 0;
- handle-color: @separatorcolor;
- handle-width: 8px ;
- padding: 0;
- }
- #!/bin/bash
- icons_dir="/home/user/2"
- shutdown="$icons_dir/system-shutdown.svg";
- reboot="$icons_dir/system-reboot.svg";
- sleep="$icons_dir/system-suspend.svg";
- logout="$icons_dir/system-log-out.svg";
- lock="$icons_dir/system-lock-screen.svg";
- options="shutdown\0icon\x1f$shutdown\nreboot\0icon\x1f$reboot\nsleep\0icon\x1f$sleep\nlogout\0icon\x1f$logout\nlock\0icon\x1f$lock"
- selected="$(echo -e $options | rofi-1.6.1 -font "Helvetica Neue, 18" -show-icons -theme .config/rofi/theme-shutdown.rasi -p " " -dmenu )"
- case $selected in
- shutdown)
- systemctl poweroff
- ;;
- reboot)
- systemctl reboot
- ;;
- sleep)
- systemctl suspend
- ;;
- logout)
- echo "awesome.quit()" | awesome-client
- ;;
- lock)
- xset dpms force off
- ;;
- esac
- /*
- * Rofi theme for fullscreen powermenu
- */
- * {
- content-position: 25% 4% 25% 4%;
- space-between-options: 1%;
- /*option-inset-padding: 4.1% 2.6% 2.5% -4.1%;*/
- option-inset-padding: 1%;
- window-bg-color: rgba(15, 15, 15, 0.7);
- title-text-color: rgba(141, 145, 148, 1);
- selected-bg-color: rgba(100, 100, 100, 0.4);
- unselected-bg-color: rgba(100, 100, 100, 0.05);
- selected-text-color: #FFFFFF;
- unselected-text-color: #FFFFFF;
- }
- #window {
- width: 100%;
- height: 100%;
- x-offset: 0%;
- y-offset: 0%;
- padding: @content-position;
- background-color: @window-bg-color;
- children: [ inputbar, horibox ];
- }
- #inputbar {
- children: [ prompt ];
- margin: @title-margins;
- background-color: transparent;
- }
- prompt {
- text-color: @selected-text-color;
- background-color: transparent;
- }
- #horibox {
- background-color: transparent;
- children: [ listview ];
- }
- #listview {
- layout: horizontal;
- background-color: transparent;
- spacing: @space-between-options;
- lines: 5;
- }
- #element {
- text-color: @unselected-text-color;
- padding: 0px;
- border-radius: 50%;
- background-color: @unselected-bg-color;
- }
- #element-icon {
- size: 96;
- padding: 0px;
- }
- #element-text {
- horizontal-align: 0;
- padding: 2%;
- }
- #element.selected {
- text-color: @selected-text-color;
- background-color: @selected-bg-color;
- padding: 0px;
- }
Add Comment
Please, Sign In to add comment