Add more GTK fallback things
This commit is contained in:
parent
817c0069d0
commit
091f974bec
5 changed files with 55 additions and 18 deletions
|
@ -1,16 +0,0 @@
|
||||||
headerbar entry,
|
|
||||||
headerbar spinbutton,
|
|
||||||
headerbar button,
|
|
||||||
headerbar separator {
|
|
||||||
margin-top: 0px;
|
|
||||||
margin-bottom: 0px;
|
|
||||||
min-height: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
headerbar {
|
|
||||||
min-height: 16px;
|
|
||||||
padding-left: 2px;
|
|
||||||
padding-right: 2px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
}
|
|
47
dots/gtk/3/gtktemplate.css
Normal file
47
dots/gtk/3/gtktemplate.css
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
headerbar entry,
|
||||||
|
headerbar spinbutton,
|
||||||
|
headerbar button,
|
||||||
|
headerbar separator {
|
||||||
|
margin-top: 0px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
min-height: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
headerbar {
|
||||||
|
min-height: 16px;
|
||||||
|
padding-left: 2px;
|
||||||
|
padding-right: 2px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@define-color decoration_border_color COLOUR;
|
||||||
|
|
||||||
|
/* focused window */
|
||||||
|
decoration {
|
||||||
|
border: 5px solid @decoration_border_color;
|
||||||
|
background: @decoration_border_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* unfocused window */
|
||||||
|
decoration:backdrop {
|
||||||
|
border-color: @decoration_border_color;
|
||||||
|
background-color: @decoration_border_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* focused window (server-side rendering hack) */
|
||||||
|
.ssd .titlebar {
|
||||||
|
border: 5px solid @decoration_border_color;
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* unfocused window (server-side rendering hack) */
|
||||||
|
.ssd .titlebar:backdrop {
|
||||||
|
border-color: @decoration_border_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* remove borders of maximized windows */
|
||||||
|
.maximized decoration,
|
||||||
|
.ssd.maximized .titlebar {
|
||||||
|
border: none
|
||||||
|
}
|
|
@ -1,5 +1,7 @@
|
||||||
|
synclient MaxTapTime=0 &
|
||||||
xcompmgr &
|
xcompmgr &
|
||||||
wal --vte -R &
|
wal --vte -R &
|
||||||
|
plank &
|
||||||
pnmixer &
|
pnmixer &
|
||||||
conky &
|
conky &
|
||||||
tint2 &
|
tint2 &
|
||||||
|
|
|
@ -16,3 +16,9 @@ cp ~/.linux/dots/conkytemplate ~/conkyplac
|
||||||
sed -i "s/COLOURTEMPLATE/${csub}/g" ~/conkyplac
|
sed -i "s/COLOURTEMPLATE/${csub}/g" ~/conkyplac
|
||||||
rm -f ~/.conkyrc
|
rm -f ~/.conkyrc
|
||||||
mv ~/conkyplac ~/.conkyrc
|
mv ~/conkyplac ~/.conkyrc
|
||||||
|
|
||||||
|
# Create new gtk css
|
||||||
|
cp ~/.linux/dots/gtk/3/gtktemplate.css ~/.config/gtk-3.0/gtkplac.css
|
||||||
|
sed -i "s/COLOUR/${csub}/g" ~/.config/gtk-3.0/gtkplac.css
|
||||||
|
rm -f ~/.config/gtk-3.0/gtk.css
|
||||||
|
mv ~/.config/gtk-3.0/gtkplac.css ~/.config/gtk-3.0/gtk.css
|
||||||
|
|
|
@ -12,7 +12,6 @@ rm -f ~/.oh-my-zsh/custom/aliases
|
||||||
rm -f ~/.config/openbox/*
|
rm -f ~/.config/openbox/*
|
||||||
rm -f ~/.config/rofi/config.rasi
|
rm -f ~/.config/rofi/config.rasi
|
||||||
rm -f ~/.config/gtk-3.0/settings.ini
|
rm -f ~/.config/gtk-3.0/settings.ini
|
||||||
rm -f ~/.config/gtk-3.0/gtk.css
|
|
||||||
rm -f ~/.config/gtk-4.0/settings.ini
|
rm -f ~/.config/gtk-4.0/settings.ini
|
||||||
rm -f ~/.config/fontconfig/fonts.conf
|
rm -f ~/.config/fontconfig/fonts.conf
|
||||||
|
|
||||||
|
@ -31,7 +30,6 @@ mkdir -p ~/.config/rofi
|
||||||
ln -s ~/.linux/dots/rofi/config.rasi ~/.config/rofi
|
ln -s ~/.linux/dots/rofi/config.rasi ~/.config/rofi
|
||||||
mkdir -p ~/.config/gtk-3.0
|
mkdir -p ~/.config/gtk-3.0
|
||||||
ln -s ~/.linux/dots/gtk/3/settings.ini ~/.config/gtk-3.0
|
ln -s ~/.linux/dots/gtk/3/settings.ini ~/.config/gtk-3.0
|
||||||
ln -s ~/.linux/dots/gtk/3/gtk.css ~/.config/gtk-3.0
|
|
||||||
mkdir -p ~/.config/gtk-4.0
|
mkdir -p ~/.config/gtk-4.0
|
||||||
ln -s ~/.linux/dots/gtk/4/settings.ini ~/.config/gtk-4.0
|
ln -s ~/.linux/dots/gtk/4/settings.ini ~/.config/gtk-4.0
|
||||||
mkdir -p ~/.config/fontconfig
|
mkdir -p ~/.config/fontconfig
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue