my dotz
0

Configure Feed

Select the types of activity you want to include in your feed.

Add mail config, laptop things, new status cmd

+30 -11
+10
.config/aerc/accounts.conf
··· 1 + [c3f] 2 + source = imaps://j3s@mail.c3f.net:993 3 + source-cred-cmd = pass c3f 4 + outgoing = smtp+plain://j3s@mail.c3f.net:587 5 + outgoing-cred-cmd = pass c3f 6 + default = INBOX 7 + smtp-starttls = yes 8 + from = jes <j3s@c3f.net> 9 + copy-to = Sent 10 +
+9 -11
.config/sway/config
··· 24 24 # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) 25 25 output * bg /home/j3s/pix/lainbakka.jpg fill 26 26 # 27 - # Example configuration: 28 - # 29 - # output DP-1 resolution 3840x2160 position 1920,0 30 - # 27 + 28 + # clamshell mode 29 + set $laptop eDP-1 30 + bindswitch --reload lid:on output $laptop disable 31 + bindswitch --reload lid:off output $laptop enable 32 + 31 33 # You can get the names of your outputs by running: swaymsg -t get_outputs 32 34 33 35 ### Idle configuration 34 - # 35 - # Example configuration: 36 - # 37 36 exec swayidle -w \ 38 37 timeout 700 'swaylock -f -c 000000' \ 39 38 timeout 900 'swaymsg "output * dpms off"' \ 40 39 resume 'swaymsg "output * dpms on"' \ 41 40 before-sleep 'swaylock -f -c 000000' 42 - # 43 - # This will lock your screen after 300 seconds of inactivity, then turn off 44 - # your displays after another 300 seconds, and turn your screens back on when 41 + # This will lock your screen after 700 seconds of inactivity, then turn off 42 + # your displays after another 900 seconds, and turn your screens back on when 45 43 # resumed. It will also lock your screen before your computer goes to sleep. 46 44 47 45 ### Input configuration ··· 222 220 223 221 # When the status_command prints a new line to stdout, swaybar updates. 224 222 # The default just shows the current date and time. 225 - status_command while date +'%Y-%m-%d %l:%M %p'; do sleep 1; done 223 + status_command while ~/.config/sway/status; do sleep 1; done 226 224 227 225 colors { 228 226 statusline #ffffff
+11
.config/sway/status
··· 1 + #!/bin/sh 2 + 3 + date_formatted=$(date "+%a %F %H:%M") 4 + 5 + linux_version=$(uname -r | cut -d '-' -f1) 6 + 7 + battery_status=$(cat /sys/class/power_supply/BAT0/status) 8 + 9 + battery_perc=$(cat /sys/class/power_supply/BAT0/capacity) 10 + 11 + echo "$linux_version | $battery_perc% $battery_status | $date_formatted "