moved files to make more sense and added experimental desktop configuration

This commit is contained in:
Greg Leyda 2022-07-12 16:54:56 -04:00 committed by ISnortPennies
parent 22c5b6f826
commit 50fae0b2eb
38 changed files with 533 additions and 191 deletions

View file

@ -0,0 +1,42 @@
* {
background: #00000000;
black: #000000;
blue: #7aa2f7;
deepblue: #03339c;
}
* {
background-color: #00000000;
text-color: @blue;
font: "Material Design Icons 60";
}
prompt,inputbar,entry,textbox-prompt-colon { enabled: false; }
#window {
width: 100%;
height: 100%;
background-color: @background;
transparency: "real";
children: [dummy, listview, dummy];
}
#dummyofdummy {
children: [dummy, listview, dummy];
}
#dummy {
expand: true;
}
listview {
lines: 4;
layout: horizontal;
children: [element];
margin: 100px 0px 100px 585px;
}
#element {
padding: 30px 40px;
background-color: @black;
border-color: #00000000;
border-radius: 20px;
text-color: @black;
}
#element.selected {
text-color: @black;
background-color: @deepblue;
}

View file

@ -0,0 +1,28 @@
#!/usr/bin/env bash
rofi_command="rofi -theme $HOME/.config/rofi/powermenu/powermenu.rasi -p "power""
#### Options ###
power_off="襤 "
reboot="勒 "
lock=" "
suspend=" "
log_out="﫼 "
# Variable passed to rofi
options="$power_off\n$reboot\n$suspend\n$log_out"
chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 2)"
case $chosen in
$power_off)
systemctl poweroff
;;
$reboot)
systemctl reboot
;;
$suspend)
systemctl suspend
;;
$log_out)
bspc quit
;;
esac