Initial
This commit is contained in:
commit
c8734e660a
392 changed files with 21043 additions and 0 deletions
36
.config/waybar/Dracula/waybar-main/INSTALL.md
Normal file
36
.config/waybar/Dracula/waybar-main/INSTALL.md
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
### [waybar](https://github.com/Alexays/Waybar)
|
||||
|
||||
#### Install using Git
|
||||
|
||||
If you are a git user, you can install the theme and keep up to date by cloning the repo:
|
||||
|
||||
git clone https://github.com/dracula/waybar.git
|
||||
|
||||
#### Install manually
|
||||
|
||||
Download using the [GitHub .zip download](https://github.com/dracula/waybar/archive/master.zip) option and unzip them.
|
||||
|
||||
#### Activating theme
|
||||
|
||||
If you only want dracula color palette:
|
||||
|
||||
1. `cp waybar/colors.css ~/.config/waybar/`
|
||||
2. and in your style.css, add
|
||||
```css
|
||||
@import url("./colors.css");
|
||||
/* example usage */
|
||||
window#waybar {
|
||||
background: @background;
|
||||
color: @purple;
|
||||
/* or cyan, green, orange, pink, red, yellow, foreground, background-darker etc. */
|
||||
}
|
||||
```
|
||||
|
||||
Or, if you want waybar to look exactly like the screenshot:
|
||||
|
||||
```bash
|
||||
cp -rv waybar ~/.config/
|
||||
```
|
||||
|
||||
Font is Iosevka, icons obsidian. Change `CITY` to your city/town/country in `~/.config/waybar/wittr.sh` if you want weather [documentation](https://wttr.in/:help) [source](https://github.com/chubin/wttr.in). Make adjustments in the config to your liking, ie. s/hyprland/sway/g.
|
||||
|
||||
27
.config/waybar/Dracula/waybar-main/README.md
Normal file
27
.config/waybar/Dracula/waybar-main/README.md
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Dracula for [waybar](https://github.com/Alexays/Waybar)
|
||||
|
||||
> A dark theme for [waybar](https://github.com/Alexays/Waybar)
|
||||
|
||||

|
||||
|
||||
## Install
|
||||
|
||||
All instructions can be found at [draculatheme.com/waybar](https://draculatheme.com/waybar).
|
||||
|
||||
## Team
|
||||
|
||||
This theme is maintained by the following person(s) and a bunch of [awesome contributors](https://github.com/dracula/waybar/graphs/contributors).
|
||||
|
||||
| [](https://github.com/milkknife) |
|
||||
| ---------------------------------------------------------------------------------------- |
|
||||
| [milkknife](https://github.com/milkknife) |
|
||||
|
||||
## Community
|
||||
|
||||
- [Twitter](https://twitter.com/draculatheme) - Best for getting updates about themes and new stuff.
|
||||
- [GitHub](https://github.com/dracula/dracula-theme/discussions) - Best for asking questions and discussing issues.
|
||||
- [Discord](https://draculatheme.com/discord-invite) - Best for hanging out with the community.
|
||||
|
||||
## License
|
||||
|
||||
[MIT License](./LICENSE)
|
||||
BIN
.config/waybar/Dracula/waybar-main/screenshot.png
Normal file
BIN
.config/waybar/Dracula/waybar-main/screenshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 64 KiB |
12
.config/waybar/Dracula/waybar-main/waybar/colors.css
Normal file
12
.config/waybar/Dracula/waybar-main/waybar/colors.css
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
@define-color background-darker rgba(30, 31, 41, 230);
|
||||
@define-color background #282a36;
|
||||
@define-color selection #44475a;
|
||||
@define-color foreground #f8f8f2;
|
||||
@define-color comment #6272a4;
|
||||
@define-color cyan #8be9fd;
|
||||
@define-color green #50fa7b;
|
||||
@define-color orange #ffb86c;
|
||||
@define-color pink #ff79c6;
|
||||
@define-color purple #bd93f9;
|
||||
@define-color red #ff5555;
|
||||
@define-color yellow #f1fa8c;
|
||||
53
.config/waybar/Dracula/waybar-main/waybar/config
Normal file
53
.config/waybar/Dracula/waybar-main/waybar/config
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 24,
|
||||
"spacing": 4,
|
||||
"modules-left": [
|
||||
"wlr/workspaces",
|
||||
"wlr/taskbar"
|
||||
],
|
||||
"modules-center": [
|
||||
"hyprland/window"
|
||||
],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"hyprland/language",
|
||||
"custom/weather",
|
||||
"clock"
|
||||
],
|
||||
"wlr/taskbar": {
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
"ignore-list": [
|
||||
"foot"
|
||||
]
|
||||
},
|
||||
"wlr/workspaces": {
|
||||
"on-click": "activate",
|
||||
"on-scroll-up": "hyprctl dispatch workspace e-1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace e+1"
|
||||
},
|
||||
"hyprland/window": {
|
||||
"max-length": 128
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%c}",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
||||
},
|
||||
"tray": {
|
||||
"spacing": 4
|
||||
},
|
||||
"custom/weather": {
|
||||
"exec": "~/.config/waybar/wittr.sh",
|
||||
"return-type": "json",
|
||||
"format": "{}",
|
||||
"tooltip": true,
|
||||
"interval": 900
|
||||
},
|
||||
"hyprland/language": {
|
||||
"format-pl": "[pl]",
|
||||
"format-en": "[us]",
|
||||
"on-click": "hyprctl switchxkblayout at-translated-set-2-keyboard next"
|
||||
}
|
||||
}
|
||||
34
.config/waybar/Dracula/waybar-main/waybar/style.css
Normal file
34
.config/waybar/Dracula/waybar-main/waybar/style.css
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
@import url("./colors.css");
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: Iosevka;
|
||||
font-size: 11pt;
|
||||
min-height: 0;
|
||||
}
|
||||
window#waybar {
|
||||
opacity: 0.9;
|
||||
background: @background-darker;
|
||||
color: @foreground;
|
||||
border-bottom: 2px solid @background;
|
||||
}
|
||||
#workspaces button {
|
||||
padding: 0 10px;
|
||||
background: @background;
|
||||
color: @foreground;
|
||||
}
|
||||
#workspaces button:hover {
|
||||
box-shadow: inherit;
|
||||
text-shadow: inherit;
|
||||
background-image: linear-gradient(0deg, @selection, @background-darker);
|
||||
}
|
||||
#workspaces button.active {
|
||||
background-image: linear-gradient(0deg, @purple, @selection);
|
||||
}
|
||||
#taskbar button.active {
|
||||
background-image: linear-gradient(0deg, @selection, @background-darker);
|
||||
}
|
||||
#clock {
|
||||
padding: 0 4px;
|
||||
background: @background;
|
||||
}
|
||||
5
.config/waybar/Dracula/waybar-main/waybar/wittr.sh
Normal file
5
.config/waybar/Dracula/waybar-main/waybar/wittr.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/sh
|
||||
req=$(curl -s wttr.in/CITY?format="%t|%l+(%c%f)+%h,+%C")
|
||||
bar=$(echo $req | awk -F "|" '{print $1}')
|
||||
tooltip=$(echo $req | awk -F "|" '{print $2}')
|
||||
echo "{\"text\":\"$bar\", \"tooltip\":\"$tooltip\"}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue