add configs i forgot the credits fo

This commit is contained in:
matt1432 2023-05-28 19:23:05 -04:00
parent 78b3b3ffd8
commit 7326392a88
7 changed files with 295 additions and 0 deletions

1
TODO Normal file
View file

@ -0,0 +1 @@
find credits for wofi, waybar, swaylock

106
waybar/config Normal file
View file

@ -0,0 +1,106 @@
{
"ipc": true,
"height": 20,
"margin-top":5,
"margin-left":5,
"margin-right":5,
"spacing": 1,
"modules-left": ["custom/osk", "custom/tablet", "sway/workspaces", "sway/mode", "tray", "custom/mowayah"],
"modules-center": ["sway/window"],
"modules-right": ["pulseaudio", "backlight", "battery", "clock", "custom/quicksettings"],
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
"icon-size": 26,
"spacing": 5
},
"clock": {
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": "{usage}% ",
"tooltip": false
},
"memory": {
"interval": 30,
"format": "{used:0.1f}G/{total:0.1f}G "
},
"backlight": {
// "device": "acpi_video1",
"format": "{percent}% {icon}",
"format-icons": ["🌑","🌒","🌒","🌓","🌓","🌔","🌔","🌕","🌕"]
},
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}%⚡",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-icons": [" ", " ", " ", " ", " "]
},
"network": {
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{ifname} via {gwaddr}",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
"format": "{volume}% {icon}",
"format-bluetooth": "{volume}% {icon}",
"format-bluetooth-muted": " {icon}",
"format-muted": " ",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "amixer -D pipewire sset Master toggle-mute"
},
"sway/workspaces": {
"format":" {name} ",
},
"custom/osk": {
"format":" 󰌌 ",
"on-click": "$HOME/.scripts/osk-toggle.sh",
"restart-interval": 1,
},
"custom/quicksettings": {
"format":"  ",
"on-click": "$HOME/.scripts/quick-toggle.sh",
"restart-interval": 1,
},
"custom/tablet": {
"format":" 󰦧 ",
"on-click": "$HOME/.scripts/tablet-toggle.sh",
"restart-interval": 1,
},
"custom/mowayah": {
"exec": "$HOME/.config/waybar/scripts/heart.sh",
"on-click": "$HOME/.config/waybar/scripts/toggle-heart.sh",
"restart-interval": 1,
}
}

0
waybar/scripts/.heart Normal file
View file

8
waybar/scripts/heart.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
TOGGLE=$HOME/.config/waybar/scripts/.heart
if [ ! -e $TOGGLE ]; then
echo " 󰣐 "
else
echo "  "
fi

8
waybar/scripts/toggle-heart.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
TOGGLE=$HOME/.config/waybar/scripts/.heart
if [ ! -e $TOGGLE ]; then
touch $TOGGLE
else
rm $TOGGLE
fi

128
waybar/style.css Normal file
View file

@ -0,0 +1,128 @@
* {
border: none;
/*font-family: 'SF Mono', Consolas, 'Font Awesome 5 Free Solid', Roboto;*/
font-family: UbuntuMono;
font-size: 18px
}
window#waybar {
/* background-color: rgba(18, 21, 29, 0.98); */
/*background-color: rgba(49, 50, 68, 0.8);*/
background-color: rgba(0, 0, 0, 0);
border-bottom: 0px solid #181825;
border-radius: 80px;
color: #CBA6F7;
transition-property: background-color;
transition-duration: .5s;
}
window#waybar.hidden {
opacity: 0.5;
}
#workspaces,
#cpu,
#memory,
#pulseaudio,
#clock,
#backlight,
#battery,
#tray,
#network {
background-color: rgba(69, 71, 90, 0.3);
padding: 2 16;
/*color: #CDD6F4;*/
color: #CBA6F7;
border-color: #11111B;
margin: 0px 2px 0px 2px;
border: 6px solid rgba(0, 0, 0, 0);
border-radius: 80px;
background-clip: padding-box;
}
#workspaces button {
border-radius: 80px;
padding: 0 5px;
min-width: 25px;
/*color: #74C7EC;*/
color: #CDD6F4;
font-size: 16px;
}
#workspaces button:hover {
background-color: #7F849C;
}
#workspaces button.focused {
background-color: #616578;
color: #CBA6F7;
font-weight: bolder;
}
#workspaces button.urgent {
color: #F80000;
}
#backlight {
color: #F9E2AF;
}
#battery {
color: #A6E3A1;
}
#battery.charging, #battery.plugged {
background-color: #98c379;
color: #1e222a;
}
@keyframes blink {
to {
background-color: #1e222a;
color: #e06c75;
}
}
#battery.critical:not(.charging) {
background-color: #F38BA8;
color: #1e222a;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#network.disconnected {
background-color: #F38BA8;
color: #1e222a;
}
#custom-osk {
font-size: 26px;
background-color: rgba(69, 71, 90, 0.3);
padding: 0 6px 0 0;
border-color: #11111B;
margin: 0px 0px 0px 0px;
border: 6px solid rgba(0, 0, 0, 0);
border-radius: 80px;
background-clip: padding-box;
}
#custom-tablet {
font-size: 26px;
background-color: rgba(69, 71, 90, 0.3);
padding: 0 8px 0 0;
border-color: #11111B;
margin: 0px 0px 0px 0px;
border: 6px solid rgba(0, 0, 0, 0);
border-radius: 80px;
background-clip: padding-box;
}
#custom-quicksettings {
font-size: 26px;
background-color: rgba(0, 0, 0, 0);
padding: 0 8px 0 0;
}

44
wofi/style.css Normal file
View file

@ -0,0 +1,44 @@
window {
margin: 0px;
border: none;
border-radius: 10px;
background-color: RGBA(40, 42, 54, 0.5);
}
#input {
margin: 5px;
border: none;
color: #f8f8f2;
background-color: #44475a;
}
#inner-box {
margin: 5px;
border: none;
border-radius: 10px;
background-color: RGBA(40, 42, 54, 0);
}
#outer-box {
margin: 5px;
border: none;
border-radius: 10px;
background-color: RGBA(40, 42, 54, 0.5);
}
#scroll {
margin: 0px;
border: none;
border-radius: 10px;
}
#text {
margin: 5px;
border: none;
color: #f8f8f2;
font: SF Pro;
}
#entry:selected {
background-color: RGBA(68, 71, 90, 0.5);
}