Dotfiles erweitert: Wofi, Waybar (Config, Style, Script) und das WatchTower Wallpaper hinzugefügt
This commit is contained in:
40
.config/waybar/config
Normal file
40
.config/waybar/config
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"layer": "top",
|
||||||
|
"position": "top",
|
||||||
|
"height": 35,
|
||||||
|
"spacing": 4,
|
||||||
|
|
||||||
|
"modules-left": ["clock", "hyprland/window"],
|
||||||
|
"modules-center": ["hyprland/workspaces"],
|
||||||
|
"modules-right": ["pulseaudio", "network", "cpu", "memory", "tray"],
|
||||||
|
|
||||||
|
"clock": {
|
||||||
|
"format": "{:%H:%M | %d.%m.}",
|
||||||
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
||||||
|
},
|
||||||
|
"cpu": {
|
||||||
|
"format": "CPU: {usage}%",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"network": {
|
||||||
|
"format": "{ipaddr}"
|
||||||
|
},
|
||||||
|
"hyprland/workspaces": {
|
||||||
|
"format": "{icon}: {windows}",
|
||||||
|
"format-window-separator": "",
|
||||||
|
"workspace-taskbar": {
|
||||||
|
"enable": true,
|
||||||
|
"update-active-window": true,
|
||||||
|
"format": "{icon} ",
|
||||||
|
"icon-size": 18,
|
||||||
|
"on-click-window": "${SCRIPTS}/focus-window.sh {address} {button}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pulseaudio": {
|
||||||
|
"format": "{icon} {volume}%",
|
||||||
|
"format-icons": {
|
||||||
|
"default": ["", "", ""]
|
||||||
|
},
|
||||||
|
"on-click": "pavucontrol"
|
||||||
|
}
|
||||||
|
}
|
||||||
13
.config/waybar/refrech.sh
Executable file
13
.config/waybar/refrech.sh
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Prüfen, ob waybar bereits läuft
|
||||||
|
if pgrep -x "waybar" > /dev/null
|
||||||
|
then
|
||||||
|
# Wenn sie läuft, beende sie
|
||||||
|
pkill waybar
|
||||||
|
# Warte kurz, bis der Prozess wirklich weg ist
|
||||||
|
sleep 0.2
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Starte waybar neu
|
||||||
|
waybar &
|
||||||
44
.config/waybar/style.css
Normal file
44
.config/waybar/style.css
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
/* Die gesamte Bar */
|
||||||
|
window#waybar {
|
||||||
|
background-color: rgba(30, 30, 46, 0.8); /* Transparentes Dunkel */
|
||||||
|
border-bottom: 2px solid #5e81ac;
|
||||||
|
color: #cdd6f4;
|
||||||
|
font-family: "Fira Code", "Font Awesome 6 Free";
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Einzelne Module stylen */
|
||||||
|
#workspaces button {
|
||||||
|
padding: 0 5px;
|
||||||
|
background-color: transparent;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
color: #5e81ac;
|
||||||
|
border-bottom: 3px solid #5e81ac;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock, #cpu, #memory, #battery, #pulseaudio, #network {
|
||||||
|
padding: 0 10px;
|
||||||
|
margin: 4px;
|
||||||
|
background-color: #313244;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Dem Tray-Container Platz und Design geben */
|
||||||
|
#tray {
|
||||||
|
padding: 0 10px;
|
||||||
|
margin: 4px;
|
||||||
|
background-color: #313244; /* Gleicher Hintergrund wie CPU/Clock */
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Den Abstand zwischen den einzelnen Icons im Tray erhöhen */
|
||||||
|
#tray > widget {
|
||||||
|
margin-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tray > widget:first-child {
|
||||||
|
margin-left: 0px;
|
||||||
|
}
|
||||||
48
.config/wofi/style.css
Normal file
48
.config/wofi/style.css
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
/* Das Hauptfenster */
|
||||||
|
window {
|
||||||
|
margin: 0px;
|
||||||
|
border: 2px solid #5e81ac; /* Ein schönes Blau */
|
||||||
|
background-color: #1e1e2e; /* Dunkles Lila/Schwarz */
|
||||||
|
border-radius: 12px;
|
||||||
|
font-family: "Fira Code", monospace;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Das Suchfeld oben */
|
||||||
|
#input {
|
||||||
|
margin: 10px;
|
||||||
|
border: none;
|
||||||
|
border-radius: 8px;
|
||||||
|
background-color: #313244;
|
||||||
|
color: #cdd6f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Die Liste der Apps */
|
||||||
|
#inner-box {
|
||||||
|
margin: 10px;
|
||||||
|
border: none;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Einzelne Einträge */
|
||||||
|
#entry {
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Der ausgewählte Eintrag (Hover/Focus) */
|
||||||
|
#entry:selected {
|
||||||
|
background-color: #5e81ac;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Textfarben */
|
||||||
|
#text {
|
||||||
|
margin: 5px;
|
||||||
|
color: #cdd6f4;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text:selected {
|
||||||
|
color: #ffffff;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
BIN
Bilder/Wallpaper/WatchTowerSunset.png
Normal file
BIN
Bilder/Wallpaper/WatchTowerSunset.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.0 MiB |
Reference in New Issue
Block a user