fonts, waybar, sway(lock)

This commit is contained in:
trimill 2024-01-24 20:32:03 -05:00
parent c140a38550
commit 899b21c3c1
No known key found for this signature in database
GPG key ID: 5FCAB0BC7C851657
5 changed files with 61 additions and 11 deletions

View file

@ -25,6 +25,7 @@
<family>monospace</family>
<prefer>
<family>Fira Mono</family>
<family>FiraMono Nerd Font</family>
<family>Font Awesome 6 Pro Regular</family>
<family>Twemoji</family>
<family>DejaVu Sans Mono</family>

View file

@ -13,8 +13,9 @@ set $right l
set $term alacritty
set $browser librewolf
# Note: pass the final command to swaymsg so that the resulting window can be opened
set $menu wofi -S run | xargs swaymsg exec --
set $menu wofi -IS drun
exec --no-startup-id wmname LG3D
exec --no-startup-id ydotoold
exec --no-startup-id dunst -b
exec --no-startup-id rand-wallpaper
@ -23,6 +24,7 @@ exec --no-startup-id autotiling
exec --no-startup-id nm-applet --indicator
exec --no-startup-id element.sh
exec --no-startup-id thunderbird
exec --no-startup-id qbittorrent
assign [app_id="thunderbird"] workspace number 9
assign [app_id="Element"] workspace number 9
@ -58,14 +60,15 @@ input "type:keyboard" {
}
input "type:touchpad" {
#events disabled
tap enable
}
# Idle configuration
exec swayidle -w \
timeout 300 'swaylock -f -c 14171d' \
timeout 300 'swaylock -f' \
timeout 300 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 14171d'
before-sleep 'swaylock -f'
floating_modifier $mod normal
gaps inner 14
@ -190,4 +193,5 @@ blur_passes 2
layer_effects "waybar" blur enable; shadows enable
layer_effects "wofi" blur enable; shadows enable
include /etc/sway/config.d/*

37
.config/swaylock/config Normal file
View file

@ -0,0 +1,37 @@
screenshots
effect-blur=7x5
indicator
clock
timestr=%H:%M
datestr=%Y-%m-%d
font=monospace
inside-color=14171dd8
inside-clear-color=ada0a8d8
inside-caps-lock-color=14171dd8
inside-ver-color=97bd5ed8
inside-wrong-color=cc5c5cd8
line-color=14171dff
line-clear-color=14171dff
line-caps-lock-color=14171dff
line-ver-color=14171dff
line-wrong-color=14171dff
separator-color=14171dff
ring-color=4d4754d8
ring-clear-color=4d4754d8
ring-caps-lock-color=4d4754d8
ring-ver-color=4d4754d8
ring-wrong-color=4d4754d8
key-hl-color=82bfb3d8
bs-hl-color=f0c767d8
caps-lock-key-hl-color=82bfb3d8
caps-lock-bs-hl-color=a97fb3d8
text-color=c7c6c3ff
text-clear-color=14171dff
text-caps-lock-color=14171dff
text-ver-color=14171dff
text-wrong-color=14171dff

View file

@ -27,20 +27,27 @@
"spacing": 10
},
"clock": {
"format": "{:%Y-%m-%d %a %H:%M}"
"format": "{:%Y-%m-%d %a %H:%M}",
"tooltip": true,
"tooltip-format": "{:%A, %Y %B %d %H:%M:%S}",
"interval": 1
},
"cpu": {
"format": " {usage}%",
"tooltip": false
"tooltip": true,
"interval": 2
},
"memory": {
"format": " {}%",
"tooltip": false
"format": " {percentage}%",
"tooltip": true,
"tooltip-format": "{used} / {total} GiB, {swapPercentage}% swap",
"interval": 2
},
"temperature": {
"thermal-zone": 10,
"critical-threshold": 80,
"format": " {temperatureC}°"
"format": " {temperatureC}°",
"interval": 2
},
"battery": {
"states": {
@ -52,10 +59,11 @@
"format-plugged": " {capacity}%",
"format-full": " {capacity}%",
"format-warning": " {capacity}%",
"format-critical": " {capacity}%"
"format-critical": " {capacity}%",
"interval": 15
},
"wireplumber": {
"format": " {volume}",
"format": " {volume}%",
"format-muted": " mute",
"on-click": "pavucontrol",
"ignored-sinks": ["Easy Effects Sink"]

View file

@ -8,5 +8,5 @@ while :; do
sleep 1;
done
echo "$unread" | awk '{ print $1 }'
sleep 300
sleep 60
done