themes for wofi and swaync

This commit is contained in:
juan 2022-09-24 14:19:49 +08:00
parent 2ed4ea6229
commit 5b73214550
11 changed files with 90 additions and 17 deletions

View File

@ -28,4 +28,4 @@ allow_remote_control yes
map kitty_mod+n new_os_window_with_cwd
include themes/dark.conf
include themes/light.conf

View File

@ -1,7 +1,7 @@
# vim: filetype=i3config
# wallpaper
output * bg $(find ~/Pictures/Wallpapers/dark -type f | shuf -n1) fill
output * bg $(find ~/Pictures/Wallpapers/light -type f | shuf -n1) fill
# laptop output mode
set $laptop eDP-1

View File

@ -1,3 +1,3 @@
# vim: filetype=i3config
include ~/.config/sway/config.d/themes/dark
include ~/.config/sway/config.d/themes/light

View File

@ -11,10 +11,14 @@ else
exit 1
fi
sed -i $command ~/.config/sway/config.d/theme
sed -i $command ~/.config/sway/config.d/display
sed -i $command ~/.config/waybar/style.css
sed -i $command ~/.config/kitty/kitty.conf
sed -i $command ~/.config/sway/config.d/display
sed -i $command ~/.config/sway/config.d/theme
sed -i $command ~/.config/swaync/style.css
sed -i $command ~/.config/waybar/style.css
sed -i $command ~/.config/wofi/config
swaync-client -rs &
# more settings
if [ $scheme = "light" ]; then

10
.config/swaync/dark.less Normal file
View File

@ -0,0 +1,10 @@
@define-color border-color #7f868c;
@define-color bg #2e3338;
@define-color bg-trans rgba(46, 51, 56, 0.9);
@define-color bg-hover #373d41;
@define-color bg-focus #474f54;
@define-color bg-selected #3f464b;
@define-color fg #bfddb2;
@define-color orange #e5a46b;
@define-color blue #82abbc;

10
.config/swaync/light.less Normal file
View File

@ -0,0 +1,10 @@
@define-color border-color #5f6d67;
@define-color bg #f3efda;
@define-color bg-trans rgba(243, 239, 218, 0.9);
@define-color bg-hover #d3dbc8;
@define-color bg-focus #d3dbc8;
@define-color bg-selected #d3dbc8;
@define-color fg #323d43;
@define-color orange #dfa000;
@define-color blue #3a94c5;

View File

@ -2,15 +2,7 @@
* vim: ft=less
*/
@define-color border-color #7f868c;
@define-color bg #2e3338;
@define-color bg-trans rgba(46, 51, 56, 0.9);
@define-color bg-hover #373d41;
@define-color bg-focus #474f54;
@define-color bg-selected #3f464b;
@define-color fg #bfddb2;
@define-color orange #e5a46b;
@define-color blue #82abbc;
@import "light.less";
.notification-row {
outline: none;

View File

@ -10,7 +10,7 @@
min-height: 0;
}
@import "dark.less";
@import "light.less";
window#waybar {
background: @background;

View File

@ -1,5 +1,5 @@
# style
style=/home/juan/.config/wofi/style.css
style=/home/juan/.config/wofi/light.css
width=600
height=500

57
.config/wofi/light.css Normal file
View File

@ -0,0 +1,57 @@
window {
margin: 0px;
border: 1px solid #5f6d67;
border-radius: 3px;
background-color: #fdf6e3;
font-family: monospace;
font-size: 14px;
}
#input {
margin: 5px;
border: 1px solid #8da101;
color: #323d43;
background-color: #e4e1cd;
}
#input image {
color: #a7c080;
}
#inner-box {
margin: 5px;
border: none;
background-color: #fdf6e3;
}
#outer-box {
margin: 5px;
border: none;
background-color: #fdf6e3;
}
#scroll {
margin: 0px;
border: none;
}
#text {
margin: 5px;
border: none;
color: #323d43;
}
#entry:selected {
background-color: #d3dbc8;
color: #323d43;
border-radius: 3px;
font-weight: normal;
}
#text:selected {
background-color: #d3dbc8;
color: #323d43;
border-radius: 3px;
font-weight: bold;
}