GitLab system status is available here and here

Commit dcaec574 authored by Kabir Kwatra's avatar Kabir Kwatra
Browse files

feat(launcher): add rofi configs

parent c18accd4
configuration {
theme: "~/.config/leftwm/bluetooth.rasi";
show-icons: true;
}
configuration {
show-icons: false; /*true;*/
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
* {
font: "SauceCodePro Nerd Font Semibold 11";
foreground: #f8f8f2;
background-color: #282a36b3;
selected-foreground: #bd93f9;
selected-background: #b2b2b250;
separatorcolor: #ff79c6;
bordercolor: #ff79c6;
highlightcolor: #8be9fd;
transparent: #00000000;
text-color: #FFFFFF;
}
#window {
background-color: @background;
text-color: @foreground;
border: 0;
border-color: @background;
border-radius: 8;
width: 300px;
location: northeast;
x-offset: -8;
y-offset: 40;
}
#listview {
background-color: @transparent;
padding: 0px;
columns: 1;
lines: 5;
spacing: 0px;
cycle: true;
dynamic: true;
layout: vertical;
}
#mainbox {
children: [ listview ];
background-color: @transparent;
}
#element {
background-color: @transparent;
text-color: @foreground;
orientation: horizontal;
border-radius: 8;
padding: 10px;
}
#element.selected {
background-color: @selected-background;
text-color: @selected-foreground;
border: 0;
border-radius: 8;
}
#!/usr/bin/env bash
THEME="${XDG_CONFIG_HOME:-$HOME/.config}/rofi/powermenu.rasi"
rofi_command="rofi -no-config -theme $THEME"
# Options
shutdown=" Shutdown"
reboot="ﰇ Restart"
lock=" Lock"
suspend="鈴 Suspend"
logout=" Logout"
# Variable passed to rofi
options="$lock\n$suspend\n$logout\n$reboot\n$shutdown"
chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 0)"
case $chosen in
$shutdown)
systemctl poweroff
;;
$reboot)
systemctl reboot
;;
$lock)
if [[ -f /usr/bin/i3lock ]]; then
i3lock
elif [[ -f /usr/bin/betterlockscreen ]]; then
betterlockscreen -l
fi
;;
$suspend)
systemctl suspend
;;
$logout)
# $HOME/.config/leftwm/themes/current/down && pkill leftwm
bspc query --nodes | while read -r winid; do
xdotool windowkill "$winid"
done
bspc quit 1
;;
esac
# Config for rofi-wifi-menu
# position values:
# 1 2 3
# 8 0 4
# 7 6 5
POSITION=3
#y-offset
YOFF=17
#x-offset
XOFF=0
#fields to be displayed
FIELDS=SSID,SECURITY,BARS
#font
FONT="FiraCode Nerd Font 8"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment