1
0
Fork 0

Compare commits

..

No commits in common. "fdedf01228450fcf3c240252d7a029724f4dbc24" and "b23f3e26c2703b03ac2147a5b80469785e2cd53e" have entirely different histories.

6 changed files with 9 additions and 17 deletions

View file

@ -31,7 +31,6 @@ show-headers=false
[compose] [compose]
header-layout=To|From,Cc|Bcc,Subject header-layout=To|From,Cc|Bcc,Subject
editor=nvim editor=nvim
reply-to-self=false
address-book-cmd=khard email --parsable --remove-first-line %s address-book-cmd=khard email --parsable --remove-first-line %s
[filters] [filters]

View file

@ -104,7 +104,7 @@ bindsym Ctrl+space exec makoctl dismiss
bindsym Ctrl+Shift+space exec makoctl dismiss --all bindsym Ctrl+Shift+space exec makoctl dismiss --all
# Passmenu # Passmenu
bindcode $mod+55 exec gopass ls --flat | bemenu -i -l 10 -m all -p Password: --fn "DejaVu Sans 12" | xargs --no-run-if-empty gopass show -c --nosync bindcode $mod+55 exec gopass ls --flat | bemenu -i -l 10 -m all -p Password: --fn "DejaVu Sans 12" | xargs --no-run-if-empty gopass show -c
# Timew # Timew
bindcode $mod+56 exec ~/.local/bin/timewmenu -i -l 10 -m all -p "Track:" --fn "DejaVu Sans 12" bindcode $mod+56 exec ~/.local/bin/timewmenu -i -l 10 -m all -p "Track:" --fn "DejaVu Sans 12"
@ -156,7 +156,6 @@ bindcode $mod+Shift+55 mode "$mode_system"
# Systemd environment # Systemd environment
exec "systemctl --user import-environment; systemctl --user start sway-session.target" exec "systemctl --user import-environment; systemctl --user start sway-session.target"
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
# Input configuration # Input configuration
input type:keyboard { input type:keyboard {

View file

@ -1,6 +1,7 @@
# Output configuration # Output configuration
output * bg "~/.config/sway/bg.png" fill output * bg "~/.config/sway/bg.png" fill
output DP-1 resolution 3840x2160 scale 1.5 position 0,0 color_profile icc "~/.config/sway/yuki.icc" output HDMI-A-1 position 0,0
output DP-1 resolution 1920x1080 position 1920,0
# Input configuration # Input configuration
input type:pointer { input type:pointer {
@ -34,5 +35,5 @@ mode "$mode_audio" {
} }
bindcode $mod+Shift+40 mode "$mode_audio" bindcode $mod+Shift+40 mode "$mode_audio"
# Window rules
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK floating_maximum_size 1024 x 768

View file

@ -6,10 +6,10 @@ PartOf=graphical-session.target
[Service] [Service]
Type=simple Type=simple
ExecStart=/usr/bin/swayidle -w \ ExecStart=/usr/bin/swayidle -w \
timeout 600 'swaymsg "output * dpms off"' \ timeout 6000 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \ resume 'swaymsg "output * dpms on"' \
lock 'gtklock -d --idle-hide --idle-timeout 5 --start-hidden' \ lock 'swaylock -f -s center -i "~/.config/sway/lockscreen.png"' \
before-sleep 'gtklock -d --idle-hide --idle-timeout 5 --start-hidden' before-sleep 'swaylock -f -s center -i "~/.config/sway/lockscreen.png"'
[Install] [Install]
WantedBy=sway-session.target WantedBy=sway-session.target

View file

@ -3,7 +3,7 @@
"position": "top", "position": "top",
"height": 24, "height": 24,
"modules-left": ["sway/workspaces", "sway/mode"], "modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["cpu", "memory", "custom/solar", "tray"], "modules-center": ["cpu", "memory", "tray"],
"modules-right": ["custom/vpn", "custom/timew", "clock#time", "clock#date"], "modules-right": ["custom/vpn", "custom/timew", "clock#time", "clock#date"],
"sway/mode": { "sway/mode": {
"format": "<span style=\"italic\">{}</span>" "format": "<span style=\"italic\">{}</span>"
@ -19,12 +19,6 @@
"format": " {:%H:%M}", "format": " {:%H:%M}",
"timezone": "Europe/Berlin" "timezone": "Europe/Berlin"
}, },
"custom/solar": {
"format": " {}",
"max-length": 20,
"interval": 20,
"exec": "curl http://dtu/api/livedata/status | jq -j '(.total.Power.v|round), \"\", .total.Power.u, \", \", .total.YieldDay.v, \"\", .total.YieldDay.u'"
},
"clock#date": { "clock#date": {
"interval": 60, "interval": 60,
"format": " {:%d.%m.%Y}" "format": " {:%d.%m.%Y}"

View file

@ -39,7 +39,6 @@ window#waybar.hidden {
#backlight, #backlight,
#network, #network,
#pulseaudio, #pulseaudio,
#custom-solar,
#custom-media, #custom-media,
#custom-vpn, #custom-vpn,
#custom-timew, #custom-timew,