added colour generators for rofi (with custom configuration) and spicetify

This commit is contained in:
Pecha 2021-11-03 00:29:27 +10:00
parent 86ebc56471
commit 15f256c97a
12 changed files with 100 additions and 6 deletions

0
.gitignore vendored Normal file → Executable file
View File

0
LICENSE Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

80
genrofi Executable file
View File

@ -0,0 +1,80 @@
#!/bin/sh
source $HOME/.cache/wal/colors.sh
echo $color9 $color10
cat > $HOME/.config/rofi/config.rasi << CONF
configuration {
modi: "drun";
font: "Rubik 10";
display-drun: "";
drun-display-format: "{name}";
sidebar-mode: false;
}
@theme "/dev/null"
* {
bg: $background;
fg: $foreground;
button: $color10;
background-color: @bg;
text-color: @fg;
}
window {
transparency: "real";
width: 40%;
}
prompt { enabled: false; }
entry {
placeholder: "Search";
placeholder-color: @fg;
expand: true;
padding: 1.5%;
border-radius: 8px;
}
inputbar {
children: [ prompt, entry ];
background-image: url("$wallpaper");
expand: false;
border-radius: 0px 0 8px 8px;
padding: 100px 30px 30px 300px;
}
listview {
columns: 1;
lines: 4;
cycle: false;
dynamic: true;
layout: vertical;
padding: 30px 200px 30px 30px;
}
mainbox { children: [ inputbar, listview ]; }
element {
orientation: vertical;
padding: 1.5% 0% 1.5% 0%;
border-radius: 8px;
}
element-text {
expand: true;
vertical-align: 0.5;
margin: 0.5% 3% 0% 3%;
background-color: inherit;
text-color: inherit;
}
element selected {
background-color: @button;
border-radius: 8px;
}
CONF

7
genspicetify Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
# Generates spicetify colour scheme from pywal
source $HOME/.cache/wal/colors.sh
spicetify color text ${foreground:1} subtext ${color15:1} notification ${color10:1} notification-error ${color9:1} card ${color9:1} main ${background:1} sidebar ${background:1} player ${background:1} shadow ${background:1} tab-active ${background:1} button-active ${background:1}
spicetify update

View File

@ -25,7 +25,7 @@ cat > $HOME/.config/terminator/config << CONF
font = Hack 7
foreground_color = "$foreground"
icon_bell = False
palette = "$background:$color1:#color2:$color3:$color4:$color5:$color6:$foreground:$color7:$color2:#color2:$color7:$color4:$color5:$color6:$foreground"
palette = "$background:$color1:$color2:$color3:$color4:$color5:$color6:$foreground:$color7:$color2:$color2:$color7:$color4:$color5:$color6:$foreground"
scrollback_lines = 1000
scrollbar_position = hidden
show_titlebar = False

View File

@ -35,4 +35,7 @@ set smooth-scroll true
set window-title-home-tilde true
set statusbar-basename true
set selection-clipboard clipboard
CONF
set zoom-step 5
set highlight-color "$color10"
set highlight-active-color "$color9"
CONF

0
temperature/.gitignore vendored Normal file → Executable file
View File

0
temperature/Cargo.lock generated Normal file → Executable file
View File

0
temperature/Cargo.toml Normal file → Executable file
View File

0
temperature/src/main.rs Normal file → Executable file
View File

12
wal Normal file → Executable file
View File

@ -1,7 +1,11 @@
#!/bin/bash
# this wrapper should go in your /usr/local/bin or higher in order to supercede the default "wal" command.
/usr/bin/wal "$@"
viscolourchanger
dunst.sh
genzathurarc
gentermcolour
# viscolourchanger for vis, the music thing
# dunst.sh for the dunst notification daemon
# gentermcolour # for terminator
genzathurarc # for zathura's config and colours
genrofi #for a more complex or custom rofi config than is given by wal's defaults (not currently working)
pywal-discord
# chameleon.py # for https://github.com/GideonWolfe/Chameleon
genspicetify