This commit is contained in:
2022-03-03 00:09:56 +01:00
parent aefab30157
commit 270cc9cc2e
7 changed files with 96 additions and 10 deletions

83
.config/i3status/config Normal file
View File

@@ -0,0 +1,83 @@
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
interval = 5
color_good = "#FFFFFF"
color_bad = "#EB4034"
color_degraded = "#000000"
}
# order += "ipv6"
order += "disk /"
order += "disk /home/beppe/data"
order += "disk /home/beppe/media"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery all"
# order += "load"
order += "cpu_usage"
order += "memory"
order += "volume master"
order += "tztime local"
cpu_usage {
format = " cpu %usage "
}
volume master {
format = "♪: %volume"
format_muted = "♪: muted (%volume)"
device = "pulse"
}
load {
format = " load %1min "
# max_threshold = 0.3
}
disk "/" {
# format = " hdd %avail "
format = " ⛁ %avail "
}
ethernet _first_ {
# if you use %speed, i3status requires root privileges
format_up = " lan: %ip %speed "
format_down = " no lan "
}
battery all {
# format = "%status %percentage %remaining %emptytime"
format = " %status %percentage"
format_down = "No battery"
last_full_capacity = true
integer_battery_capacity = true
# status_chr = ""
status_chr = "⚡"
# status_bat = "bat"
# status_bat = "☉"
status_bat = ""
# status_unk = "?"
status_unk = ""
# status_full = ""
status_full = "☻"
low_threshold = 15
threshold_type = time
}
memory {
format = "%used | %available"
threshold_degraded = "1G"
format_degraded = "MEMORY < %available"
}
tztime local {
# format = "%Y-%m-%d %H:%M:%S"
format = " %d.%m. %H:%M "
}

View File

@@ -4,9 +4,9 @@
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
set $mod Mod1
set $mainBg /home/beppe/Pictures/wallhaven-3z2yzv.png
set $mainBg /home/beppe/Pictures/wallhaven-y8k5j7.png
set $secondaryBg /home/beppe/Pictures/wallhaven-y8k5j7.png
set $lockBg /home/beppe/Pictures/wallhaven-y8w1zg.jpg
#set $lockBg /home/beppe/Pictures/wallhaven-y8w1zg.jpg
# set default desktop layout (default is tiling)
# workspace_layout tabbed <stacking|tabbed>
@@ -80,7 +80,7 @@ bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
# focus_follows_mouse no
focus_follows_mouse no
# change focus
#bindsym $mod+y focus left
@@ -361,9 +361,9 @@ exec_always --no-startup-id fix_xcursor
# Start i3bar to display a workspace bar (plus the system information i3status if available)
bar {
swaybar_command waybar
#swaybar_command waybar
#i3bar_command i3bar
#status_command i3status
status_command i3status
position bottom
## please set your primary output first. Example: 'xrandr --output eDP1 --primary'

View File

@@ -4,7 +4,7 @@ PartOf=graphical-session.target
[Service]
#ExecStart=/usr/bin/xautolock -time 10 -locker "i3exit suspend" -detectsleep
ExecStart=/usr/bin/swayidle -w timeout 300 'swaylock -f -c 262626' timeout 600 'systemctl suspend' before-sleep 'swaylock -f -i /home/beppe/Pictures/wallhaven-y8w1zg.jpg'
ExecStart=/usr/bin/swayidle -w timeout 300 'swaylock -f -i /home/beppe/Pictures/wallhaven-5w5pd8.png' timeout 600 'systemctl suspend' before-sleep 'swaylock -f -i /home/beppe/Pictures/wallhaven-5w5pd8.png'
Environment=WAYLAND_DISPLAY=wayland-1
[Install]