Update .config/fastfetch/startup.jsonc

Update .config/hypr/hyprland.conf
Update .config/hypr/hyprland/animations.conf
Update .config/hypr/hyprland/binds/audio.conf
Update .config/hypr/hyprland/binds/clipboard.conf
Update .config/hypr/hyprland/exec.conf
Update .config/hypr/hyprland/general.conf
Update .config/hypr/hyprland/rules/pavucontrol.conf
Update .config/hypr/hyprland/rules/vesktop.conf
Update .config/mako/config
Update .config/waybar/colors.css
Update .config/waybar/config.jsonc
Update .config/waybar/style.css
Update .config/wofi/colors
Update .config/wofi/style.css
Update .local/bin/change_colors.sh
Update .local/bin/system_setup.sh
Update .local/bin/wp-vol.sh
This commit is contained in:
2025-03-29 10:01:40 +01:00
parent 4771b7a2f4
commit fdc50d7e66
18 changed files with 146 additions and 104 deletions

View File

@@ -1,25 +1,26 @@
{ {
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": { "logo": {
"source": "arch_small", "source": "arch_small",
"padding": { "padding": {
"bottom": 1, "bottom": 1,
} }
}, },
"display": { "display": {
"separator" : " ➜ ", "separator": " ➜ ",
}, },
"modules": [ "modules": [
"title", "title",
"kernel", "kernel",
"packages", "packages",
"shell", "shell",
"battery", "battery",
{ {
"type": "separator", "type": "separator",
"string": " • ", "string": " • ",
}, },
"break", "break",
"break" "break",
] "break"
]
} }

View File

@@ -31,3 +31,4 @@ source = ./hyprland/animations.conf
source = ./hyprland/layouts.conf source = ./hyprland/layouts.conf
source = ./hyprland/workspaces.conf source = ./hyprland/workspaces.conf
source = ./hyprland/exec.conf source = ./hyprland/exec.conf
source = ./hyprland/monitors.conf

View File

@@ -22,7 +22,7 @@ animations {
animation = layersOut, 1, 1.5, linear, fade animation = layersOut, 1, 1.5, linear, fade
animation = fadeLayersIn, 1, 1.79, almostLinear animation = fadeLayersIn, 1, 1.79, almostLinear
animation = fadeLayersOut, 1, 1.39, almostLinear animation = fadeLayersOut, 1, 1.39, almostLinear
animation = workspaces, 1, 1.94, almostLinear, fade animation = workspaces, 1, 1.94, quick, slide
animation = workspacesIn, 1, 1.21, almostLinear, fade animation = workspacesIn, 1, 1.21, quick, slide
animation = workspacesOut, 1, 1.94, almostLinear, fade animation = workspacesOut, 1, 1.94, quick, slide
} }

View File

@@ -1,11 +1,11 @@
# Requires pactl # Requires pactl
bindl=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ && ~/.local/bin/wp-vol.sh && paplay /usr/share/sounds/freedesktop/stereo/bell.oga bindl=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ && ~/.local/bin/wp-vol.sh && paplay /usr/share/sounds/freedesktop/stereo/bell.oga
bindl=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- && ~/.local/bin/wp-vol.sh && paplay /usr/share/sounds/freedesktop/stereo/bell.oga bindl=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- && ~/.local/bin/wp-vol.sh && paplay /usr/share/sounds/freedesktop/stereo/bell.oga
bindl=, XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle bindl=, XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_SOURCE@ toggle
bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && ~/.local/bin/check-if-muted.sh bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle && ~/.local/bin/check-if-muted.sh
# Requires playerctl # Requires playerctl
bindl = , XF86AudioNext, exec, playerctl next bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause bindl = , Pause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous bindl = , XF86AudioPrev, exec, playerctl previous

View File

@@ -1,2 +1,2 @@
bind = $mainMod, V, exec, cliphist list | wofi --dmenu --conf ~/.config/wofi/clipboard | cliphist decode | wl-copy bind = $mainMod, V, exec, cliphist list | wofi --dmenu --conf ~/.config/wofi/clipboard --color ~/.config/wofi/colors --style ~/.config/wofi/style.css | cliphist decode | wl-copy
bind = $mainMod CONTROL_L, V, exec, cliphist wipe && notify-send "Clipboard" "Clipboard cleared!" bind = $mainMod CONTROL_L, V, exec, cliphist wipe && notify-send "Clipboard" "Clipboard cleared!"

View File

@@ -2,3 +2,4 @@ exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store exec-once = wl-paste --type image --watch cliphist store
exec-once = uwsm app waybar exec-once = uwsm app waybar
exec-once = uwsm app zen-browser

View File

@@ -5,7 +5,7 @@ general {
border_size = 2 border_size = 2
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.active_border = rgba(249ECA33) rgba(249ECA4C) 45deg
col.inactive_border = rgba(595959aa) col.inactive_border = rgba(595959aa)
# Set to true enable resizing windows by clicking and dragging on borders and gaps # Set to true enable resizing windows by clicking and dragging on borders and gaps

View File

@@ -1,4 +1,5 @@
windowrulev2 = float, class:^(org.pulseaudio.pavucontrol)$ windowrulev2 = float, class:^(org.pulseaudio.pavucontrol)$
windowrulev2 = size 80% 60%, class:^(org.pulseaudio.pavucontrol)$ windowrulev2 = size 80% 60%, class:^(org.pulseaudio.pavucontrol)$
windowrulev2 = stayfocused, class:^(org.pulseaudio.pavucontrol)$ windowrulev2 = stayfocused, class:^(org.pulseaudio.pavucontrol)$
windowrulev2 = center, class:^(org.pulseaudio.pavucontrol)$
windowrulev2 = pin, class:^(org.pulseaudio.pavucontrol)$ windowrulev2 = pin, class:^(org.pulseaudio.pavucontrol)$

View File

@@ -3,6 +3,3 @@ windowrulev2 = noinitialfocus, class:^(vesktop)$
windowrulev2 = focusonactivate 0, class:^(vesktop)$ windowrulev2 = focusonactivate 0, class:^(vesktop)$
windowrulev2 = renderunfocused, class:^(vesktop)$ windowrulev2 = renderunfocused, class:^(vesktop)$
windowrulev2 = opacity 0.95, class:^(vesktop)$ windowrulev2 = opacity 0.95, class:^(vesktop)$
windowrulev2 = fullscreen, class:^(vesktop)$

View File

@@ -11,28 +11,28 @@ height=300
margin=25,25,10,10 margin=25,25,10,10
padding=10 padding=10
font="Cousine Nerd Font mono" font="Cousine Nerd Font mono"
background-color=#249eca80 background-color=#A9A9A980
text-color=#FFFFFF text-color=#A9A9A9
border-radius=15 border-radius=15
[urgency=low] [urgency=low]
border-color=#87CEEB border-color=#D3D3D3
[urgency=normal] [urgency=normal]
border-color=#00000080 border-color=#A9A9A980
[urgency=critical] [urgency=critical]
on-notify=exec paplay /usr/share/sounds/freedesktop/stereo/window-attention.oga on-notify=exec paplay /usr/share/sounds/freedesktop/stereo/window-attention.oga
border-color=#FF0000 border-color=#808080
[app-name=wp-vol] [app-name=wp-vol]
height=50 height=50
background-color=#249eca99 background-color=#A9A9A999
border-color=#249eca99 border-color=#A9A9A999
layer=overlay layer=overlay
history=0 history=0
anchor=center anchor=center
progress-color=source #5588AA33 progress-color=source #AAAAAA33
text-alignment=center text-alignment=center
[mode=do-not-disturb] [mode=do-not-disturb]

View File

@@ -1,3 +1,3 @@
@define-color background rgba(36, 158, 202, 0.20); @define-color background rgba(169, 169, 169, 0.20);
@define-color foreground rgba(36, 158, 202, 0.30); @define-color foreground rgba(169, 169, 169, 0.30);
@define-color font-color #499DA9; @define-color font-color #A9A9A9;

View File

@@ -2,10 +2,12 @@
{ {
"layer": "top", // Waybar at top layer "layer": "top", // Waybar at top layer
"position": "top", // Waybar position (top|bottom|left|right) "position": "top", // Waybar position (top|bottom|left|right)
"spacing": 4, // Gaps between modules (4px) "spacing": 5, // Gaps between modules (4px)
"output": "DP-1",
// Choose the order of the modules // Choose the order of the modules
"modules-left": [ "modules-left": [
"hyprland/workspaces", "privacy",
"tray",
"custom/spotify", "custom/spotify",
"custom/media" "custom/media"
], ],
@@ -13,11 +15,9 @@
"clock", "clock",
], ],
"modules-right": [ "modules-right": [
"tray",
"group/hardware", "group/hardware",
"network",
"pulseaudio", "pulseaudio",
"privacy", "custom/notifications",
"battery", "battery",
], ],
"hyprland/workspaces": { "hyprland/workspaces": {
@@ -27,6 +27,7 @@
"spacing": 10 "spacing": 10
}, },
"clock": { "clock": {
"format": "<big>{:%H:%M}</big>",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}" "format-alt": "{:%Y-%m-%d}"
}, },
@@ -38,10 +39,12 @@
"transition-left-to-right": true, "transition-left-to-right": true,
}, },
"modules": [ "modules": [
"custom/hardware",
"temperature", "temperature",
"memory", "memory",
"disk", "disk",
"cpu", "cpu",
"network",
], ],
}, },
"temperature": { "temperature": {
@@ -56,7 +59,7 @@
"tooltip": false, "tooltip": false,
}, },
"cpu": { "cpu": {
"format": "|CPU: {usage}|", "format": "|CPU: {usage}%|",
}, },
"battery": { "battery": {
"states": { "states": {
@@ -78,35 +81,36 @@
] ]
}, },
"network": { "network": {
"format-wifi": "|{essid} ({signalStrength}%)  |", "format-wifi": "Wifi: {essid} ({signalStrength}%)  ",
"format-ethernet": "|{ipaddr}/{cidr} |", "format-ethernet": "Ethernet:  ",
"tooltip-format": "{ifname} via {gwaddr}  |", "tooltip-format": "{ifname} via {gwaddr} with {ipaddr}/{cidr} ",
"format-linked": "|{ifname} (No IP)  |", "format-linked": "{ifname} (No IP)  ",
"format-disconnected": "|Disconnected ⚠|", "format-disconnected": "Disconnected ⚠",
"format-alt": "|{ifname}: {ipaddr}/{cidr}|" "format-alt": "{ifname}: {ipaddr}/{cidr}"
}, },
"pulseaudio": { "pulseaudio": {
// "scroll-step": 1, // %, can be a float // "scroll-step": 1, // %, can be a float
"format": "|{volume}% {icon} {format_source}|", "format": "{volume}% {icon}",
"format-bluetooth": "|{volume}% {icon} {format_source}|", "format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": "| {icon} {format_source}|", "format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " |{format_source}|", "format-muted": "  ",
"format-source": " {volume}% ", "format-source": " {volume}% ",
"format-source-muted": "  ", "format-source-muted": "  ",
"format-icons": { "format-icons": {
"headphone": " ", "headphone": "",
"hands-free": " ", "hands-free": " ",
"headset": " ", "headset": " ",
"phone": " ", "phone": " ",
"portable": " ", "portable": " ",
"car": " ", "car": " ",
"default": [ "default": [
" ", "",
" ", "",
" " ""
] ]
}, },
"on-click": "pavucontrol" "on-click": "pavucontrol -t 3",
"on-click-right": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
}, },
"custom/spotify": { "custom/spotify": {
"format": "{}", "format": "{}",
@@ -121,17 +125,16 @@
"max-length": 40, "max-length": 40,
"exec": "$HOME/.config/waybar/scripts/mediaplayer.sh spotify", "exec": "$HOME/.config/waybar/scripts/mediaplayer.sh spotify",
}, },
"custom/media": { "custom/hardware": {
"format": "{}", "format": "<big></big>",
"return-type": "json", },
"on-click": "playerctl play-pause --player firefox.instance_1_76", "custom/notifications": {
"on-click-right": "killall firefox.instance_1_76", "format": "<big>{text}</big>",
"on-scroll-up": "playerctl next --player firefox.instance_1_76", "on-click-right": "~/.local/bin/check-do-not-disturb.sh change",
"on-scroll-down": "playerctl previous --player firefox.instance_1_76", "exec": "~/.local/bin/check-do-not-disturb.sh show",
"restart-interval": "0", "exec-on-event": "~/.local/bin/check-do-not-disturb.sh show",
"hide-empty-text": true, "tooltip": false,
"justify": "center", "return-type": "text",
"max-length": 40, "signal": 2,
"exec": "$HOME/.config/waybar/scripts/mediaplayer.sh firefox.instance_1_76",
}, },
} }

View File

@@ -1,12 +1,23 @@
@import url("./colors.css"); @import url("./colors.css");
* { * {
transition: 2s all ease-in-out;
font-family: "Cousine Nerd Font mono"; font-family: "Cousine Nerd Font mono";
font-size: 16px; font-size: 16px;
padding: 2px; padding: 2px;
margin: 1px; margin: 1px 4px 1px 4px;
color: @font-color; color: @font-color;
text-shadow: 1 1 5px gray, 1 1 7px gray, 1 1 10px gray; text-shadow: 1 1 5px gray, 1 1 7px gray, 1 1 10px gray;
border-radius: 25px;
}
*:hover {
text-shadow: 1 1 10px black, 1 1 10px black, 1 1 10px black;
}
window {
background-color: black;
margin: 1px;
} }
window#waybar { window#waybar {
@@ -17,8 +28,15 @@ window#waybar {
/* modules */ /* modules */
#workspaces button { #workspaces button {
background-color: @background;
margin-left: 5px;
text-shadow: 1 1 5px gray, 1 1 7px gray, 1 1 10px gray;
}
#workspaces button:hover {
background-color: @foreground; background-color: @foreground;
margin-left: 5px; margin-left: 5px;
text-shadow: 1 1 5px gray, 1 1 7px gray, 1 1 10px gray;
} }
#workspaces button.urgent { #workspaces button.urgent {
@@ -28,7 +46,6 @@ window#waybar {
} }
#clock { #clock {
border-radius: 25px;
margin: 10px; margin: 10px;
} }
@@ -36,6 +53,11 @@ tooltip {
background-color: black; background-color: black;
} }
menu {
background-color: black;
border-radius: 15px;
}
#media, #media,
#network, #network,
#pulseaudio, #pulseaudio,
@@ -45,12 +67,16 @@ tooltip {
} }
#tray { #tray {
background-color: @foreground; background-color: @background;
border-radius: 5px; border-radius: 5px;
padding: 5px; padding: 5px;
margin: 5px; margin: 5px;
} }
#tray:hover {
background-color: @foreground;
}
/* battery */ /* battery */
#battery.warning:not(.charging) { #battery.warning:not(.charging) {
@@ -91,21 +117,20 @@ tooltip {
color: black; color: black;
padding: 10px; padding: 10px;
margin: 5px; margin: 5px;
transition: 0.5s all ease-in-out; border-radius: 5px;
} }
#custom-spotify:hover { #custom-spotify:hover {
background-color: rgba(29, 185, 84, 1); background-color: rgba(29, 185, 84, 1);
} }
#custom-media { #custom-notifications {
background-color: rgba(255, 16, 0, 0.30); border-radius: 5px;
color: black; padding: 5px;
padding: 10px; margin: 5;
margin: 5px;
transition: 0.5s all ease-in-out;
} }
#custom-media:hover { #custom-hardware {
background-color: rgba(255, 16, 0, 1); border-radius: 15px;
margin: 4px;
} }

View File

@@ -1,2 +1,2 @@
#249ECA #A9A9A9
#499DA9 #A9A9A9

View File

@@ -1,14 +1,14 @@
* { * {
font-family: "Cousine Nerd Font mono"; font-family: "Cousine Nerd Font mono";
font-size: 18px; font-size: 16px;
padding: 2px; padding: 2px;
border-radius: 5px;
} }
#window { #window {
background-color: black; background-color: black;
border-radius: 20px; border-radius: 20px;
opacity: 15%; opacity: 15%;
} }
#outer-box { #outer-box {
@@ -21,7 +21,6 @@
border-radius: 20px 20px 0 0; border-radius: 20px 20px 0 0;
border-color: transparent; border-color: transparent;
color: #499DA9; color: #499DA9;
text-shadow: 1 1 5px gray, 1 1 7px gray, 1 1 10px gray;
} }
#scroll { #scroll {
@@ -43,7 +42,7 @@
#entry { #entry {
border-radius: 15px; border-radius: 15px;
outline: none outline: none;
} }
#entry:selected { #entry:selected {

View File

@@ -4,41 +4,55 @@ declare -A blue
blue[background]="rgba(36, 158, 202, 0.20)" blue[background]="rgba(36, 158, 202, 0.20)"
blue[foreground]="rgba(36, 158, 202, 0.30)" blue[foreground]="rgba(36, 158, 202, 0.30)"
blue[font-color]="#499DA9" blue[font-color]="#499DA9"
blue[wallpaper]="~/Obrazy/tapety/niebieski.jpg"
declare -A red declare -A red
red[background]="rgba(202, 36, 36, 0.20)" red[background]="rgba(202, 36, 36, 0.20)"
red[foreground]="rgba(202, 36, 36, 0.30)" red[foreground]="rgba(202, 36, 36, 0.30)"
red[font-color]="#A94949" red[font-color]="#A94949"
red[wallpaper]="~/Obrazy/tapety/czerwony.jpg"
declare -A gray declare -A gray
gray[background]="rgba(169, 169, 169, 0.20)" gray[background]="rgba(169, 169, 169, 0.20)"
gray[foreground]="rgba(169, 169, 169, 0.30)" gray[foreground]="rgba(169, 169, 169, 0.30)"
gray[font-color]="#A9A9A9" gray[font-color]="#A9A9A9"
gray[wallpaper]="~/Obrazy/tapety/szary.jpg"
choosen_color=$(echo -e "blue\nred\ngray\n" | wofi --show dmenu --prompt "Choose your theme") choosen_color=$(echo -e "blue\nred\ngray\n" | wofi --show dmenu --prompt "Choose your theme")
echo "You choose: $(choosen_color)"
if [[ $choosen_color == "blue" ]]; then if [[ $choosen_color == "blue" ]]; then
waybar_colors="@define-color background ${blue[background]};\n@define-color foreground ${blue[foreground]};\n@define-color font-color ${blue[font-color]};" waybar_colors="@define-color background ${blue[background]};\n@define-color foreground ${blue[foreground]};\n@define-color font-color ${blue[font-color]};"
mako_colors="blue" mako_colors="blue"
wofi_colors="#249ECA\n#499DA9" wofi_colors="#249ECA\n#499DA9"
rivalcfg --strip-top-color "#249ECA" --strip-middle-color "#249ECA" --strip-bottom-color "#249ECA" -c "#249ECA"
hyprctl hyprpaper reload ,${blue[wallpaper]}
echo -e "preload = ${blue[wallpaper]}\nwallpaper = ,${blue[wallpaper]}\nsplash = off\nipc = on" > ~/.config/hypr/hyprpaper.conf
elif [[ $choosen_color == "red" ]]; then elif [[ $choosen_color == "red" ]]; then
waybar_colors="@define-color background ${red[background]};\n@define-color foreground ${red[foreground]};\n@define-color font-color ${red[font-color]};" waybar_colors="@define-color background ${red[background]};\n@define-color foreground ${red[foreground]};\n@define-color font-color ${red[font-color]};"
mako_colors="red" mako_colors="red"
wofi_colors="#CA2424\n#A94949" wofi_colors="#CA2424\n#A94949"
rivalcfg --strip-top-color "#CA2424" --strip-middle-color "#CA2424" --strip-bottom-color "#CA2424" -c "#CA2424"
hyprctl hyprpaper reload ,${red[wallpaper]}
echo -e "preload = ${red[wallpaper]}\nwallpaper = ,${red[wallpaper]}\nsplash = off\nipc = on" > ~/.config/hypr/hyprpaper.conf
elif [[ $choosen_color == "gray" ]]; then elif [[ $choosen_color == "gray" ]]; then
waybar_colors="@define-color background ${gray[background]};\n@define-color foreground ${gray[foreground]};\n@define-color font-color ${gray[font-color]};" waybar_colors="@define-color background ${gray[background]};\n@define-color foreground ${gray[foreground]};\n@define-color font-color ${gray[font-color]};"
mako_colors="gray" mako_colors="gray"
wofi_colors="#A9A9A9\n#A9A9A9" wofi_colors="#A9A9A9\n#A9A9A9"
else rivalcfg --strip-top-color "#A9A9A9" --strip-middle-color "#A9A9A9" --strip-bottom-color "#A9A9A9" -c "#A9A9A9"
echo "Invalid color choice. Please use 'blue', 'red', or 'gray'." hyprctl hyprpaper reload ,${gray[wallpaper]}
exit 1 echo -e "preload = ${gray[wallpaper]}\nwallpaper = ,${gray[wallpaper]}\nsplash = off\nipc = on" > ~/.config/hypr/hyprpaper.conf
fi fi
echo -e "$waybar_colors" > ~/.config/waybar/colors.css echo -e "$waybar_colors" > ~/.config/waybar/colors.css
~/.local/bin/restart_waybar.sh & ~/.local/bin/restart_waybar.sh &
killall mako # killall mako
mako --config ~/.config/mako/$mako_colors & cat ~/.config/mako/$mako_colors > ~/.config/mako/config
makoctl reload
# mako --config ~/.config/mako/$mako_colors &
echo -e $wofi_colors > ~/.config/wofi/colors echo -e $wofi_colors > ~/.config/wofi/colors

View File

@@ -35,7 +35,7 @@ flatpak install --noninteractive net.rpcs3.RPCS3
echo "Services..." echo "Services..."
systemctl --user enable hypridle hyprpolkitagent pipewire-pulse hypridle waybar systemctl --user enable hypridle hyprpolkitagent pipewire-pulse hypridle waybar hyprpaper
sudo systemctl enable bluetooth greetd sudo systemctl enable bluetooth greetd
echo "All done" echo "All done"

View File

@@ -1,7 +1,7 @@
#!/bin/sh #!/bin/bash
# Get the volume level and convert it to a percentage # Get the volume level and convert it to a percentage
volume=$(wpctl get-volume @DEFAULT_AUDIO_SINK@) volume=$(wpctl get-volume @DEFAULT_SINK@)
volume=$(echo "$volume" | awk '{print $2}') volume=$(echo "$volume" | awk '{print $2}')
volume=$(echo "( $volume * 100 ) / 1" | bc) volume=$(echo "( $volume * 100 ) / 1" | bc)