Compare commits

...

3 Commits

Author SHA1 Message Date
Kievits Rene
688885be92 Readded picom to autostart, fix #23 2022-06-02 02:24:10 +02:00
Kievits Rene
904870ee28 remove default autostart to avoid confusion #21 2022-06-02 00:31:22 +02:00
Kievits Rene
471dd36519 #20 Add MesloLGS NF as dependency
#20 Add MesloLGS NF as dependency
2022-06-01 20:42:09 +02:00
3 changed files with 36 additions and 15 deletions

View File

@@ -224,6 +224,24 @@ sudo pacman -S lightdm light-locker
```bash
sudo apt install lightdm light-locker
```
#### **MesloLGS NF Font**
> **Arch**
```bash
sudo pacman -S ttf-meslo-nerd-font-powerlevel10k
```
> **Ubuntu**
```bash
wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf
wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf
wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf
wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf
```
</details>
<details>

View File

@@ -32,13 +32,7 @@ user_vars = {
-- Write the terminal command to start anything here
autostart = {
"picom --experimental-backends",
"xfce4-power-manager",
"light-locker --lock-on-suspend --lock-on-lid &",
"flatpak run com.spotify.Client",
"discord",
"/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1",
"setxkbmap -option caps:swapescape"
"picom --experimental-backends"
},
-- Type 'ip a' and check your wlan and ethernet name

View File

@@ -103,6 +103,7 @@ return function(widget)
3,
function(_, stdout)
gpu_usage_widget.container.gpu_layout.label.text = stdout:gsub("\n", "") .. "%"
awesome.emit_signal("update::gpu_usage_widget", tonumber(stdout))
end
)
@@ -116,6 +117,8 @@ return function(widget)
local temp_color
local temp_num = tonumber(stdout)
if temp_num then
if temp_num < 50 then
temp_color = color["Green200"]
temp_icon = icon_dir .. "thermometer-low.svg"
@@ -126,11 +129,17 @@ return function(widget)
temp_color = color["Red200"]
temp_icon = icon_dir .. "thermometer-high.svg"
end
else
temp_num = "NaN"
temp_color = color["Green200"]
temp_icon = icon_dir .. "thermometer-low.svg"
end
Hover_signal(gpu_temp_widget, temp_color, color["Grey900"])
gpu_temp_widget.container.gpu_layout.icon_margin.icon_layout.icon:set_image(temp_icon)
gpu_temp_widget:set_bg(temp_color)
gpu_temp_widget.container.gpu_layout.label.text = tostring(temp_num) .. "°C"
awesome.emit_signal("update::gpu_temp_widget", temp_num, temp_icon)
end
)