mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08:00
update setup to not delete directory
also update rofi style to better match my colorscheme
This commit is contained in:
parent
7b956e1f38
commit
c69695fb75
32
setup.sh
32
setup.sh
@ -21,25 +21,25 @@ fi
|
||||
|
||||
printf "%s\n" "INSTALL DIR: $DIR"
|
||||
|
||||
if [[ "$DIR" == "$HOME/.config" ]]; then
|
||||
# change so it prompts before deleting
|
||||
printf "%s\n" "Maybe don't wanna delete that directory: $DIR"
|
||||
exit 1
|
||||
# log "Deleting old directory..."
|
||||
# rm -rf "$DIR"
|
||||
# log "Directory deleted..."
|
||||
|
||||
if [[ ! -d "$DIR" ]]; then
|
||||
log "Creating directory $DIR"
|
||||
mkdir -p "$DIR"
|
||||
log "Directory created"
|
||||
fi
|
||||
|
||||
log "Deleting old directory..."
|
||||
rm -rf "$DIR"
|
||||
log "Directory deleted..."
|
||||
|
||||
log "Creating directory $DIR"
|
||||
mkdir -p "$DIR"
|
||||
log "Directory created"
|
||||
|
||||
log "Creating history database..."
|
||||
sqlite3 "$DIR"/"$DB" <sql/watch_history_tbl.sql
|
||||
sqlite3 "$DIR"/"$DB" <sql/search_history_tbl.sql
|
||||
log "History database created..."
|
||||
if [[ ! -f "$DIR"/"$DB" ]]; then
|
||||
# Create the DB if not exists
|
||||
log "Creating history database..."
|
||||
sqlite3 "$DIR"/"$DB" <sql/watch_history_tbl.sql
|
||||
sqlite3 "$DIR"/"$DB" <sql/search_history_tbl.sql
|
||||
log "History database created..."
|
||||
fi
|
||||
|
||||
# Move theme files and skip-intro script to correct locations
|
||||
log "Moving theme files..."
|
||||
cp themes/meh.rasi "$DIR"/
|
||||
cp themes/arc_dark_transparent_colors.rasi "$DIR"/
|
||||
|
@ -44,8 +44,9 @@ listview {
|
||||
padding: 2px 0px 0px ;
|
||||
}
|
||||
element {
|
||||
border: 0;
|
||||
padding: 8px ;
|
||||
border: 2px;
|
||||
border-color: #d19a66;
|
||||
padding: 8px;
|
||||
}
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
@ -61,7 +62,8 @@ element.normal.urgent {
|
||||
}
|
||||
element.normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
text-color: #51afef;
|
||||
border-color: #51afef;
|
||||
}
|
||||
element.selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
@ -73,7 +75,8 @@ element.selected.urgent {
|
||||
}
|
||||
element.selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @active-foreground;
|
||||
border-color: #1E90FF;
|
||||
text-color: #1E90FF;
|
||||
}
|
||||
element.alternate.normal {
|
||||
background-color: @alternate-normal-background;
|
||||
@ -121,7 +124,7 @@ entry {
|
||||
}
|
||||
prompt {
|
||||
spacing: 0;
|
||||
text-color: dodgerblue;
|
||||
text-color: #51afef;
|
||||
}
|
||||
inputbar {
|
||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||
@ -130,5 +133,5 @@ textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ":";
|
||||
margin: 0px 0.3em 0em 0em ;
|
||||
text-color: @normal-foreground;
|
||||
text-color: #51afef;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user