From 1dbc95269b628eadbd633ae579693facc7eb5921 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 21 Jun 2020 13:20:58 +0200 Subject: [PATCH] i3 stuff --- .bin/screenlock.sh | 3 +-- .config/i3/config | 11 +++++------ .config/i3pystatus/config.py | 22 +++++++++++++++++++++- 3 files changed, 27 insertions(+), 9 deletions(-) diff --git a/.bin/screenlock.sh b/.bin/screenlock.sh index 4f1a1d8..df66e7f 100755 --- a/.bin/screenlock.sh +++ b/.bin/screenlock.sh @@ -6,5 +6,4 @@ xset s 90 10 pactl set-sink-mute alsa_output.pci-0000_00_1f.3.analog-stereo 1 pactl set-source-mute alsa_input.pci-0000_00_1f.3.analog-stereo 1 -#i3lock -e -t -i /home/kunsi/Pictures/laptop_unbenutzbar.png -i3lock -e -t -i /home/kunsi/Pictures/2019-11-08_cover_book-project-1080.png +i3lock -e -t -i /home/kunsi/Pictures/laptop_unbenutzbar.png diff --git a/.config/i3/config b/.config/i3/config index 58f6e99..63fbed1 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -88,13 +88,12 @@ bar { for_window [window_role="pop-up"] floating enable for_window [class="Pavucontrol"] floating enable for_window [class="Gnome-calculator"] floating enable -for_window [class="mpv"] floating enable -workspace 1 output eDP1 DP2-2 -workspace 2 output eDP1 DP2-1 -workspace 3 output eDP1 DP2-2 -workspace 9 output eḐP1 DP2-3 DP2-1 -workspace 10 output eDP1 DP2-2 +workspace 1 output DP2-2 +workspace 2 output DP2-1 +workspace 3 output DP2-2 +workspace 9 output eḐP1 +workspace 10 output DP2-1 exec_always setxkbmap -synch exec_always ~/.fehbg diff --git a/.config/i3pystatus/config.py b/.config/i3pystatus/config.py index f1f02b4..32c4b02 100644 --- a/.config/i3pystatus/config.py +++ b/.config/i3pystatus/config.py @@ -29,7 +29,7 @@ status.register("shell", on_rightclick="xset s off") status.register("clock", - format="%a, %Y-%m-%d %H:%M:%S UTC",) + format="%a, %Y-%m-%d %H:%M:%S",) status.register("battery", battery_ident="BAT0", @@ -71,6 +71,11 @@ status.register("shell", hints = {"markup": "pango"}, command="/home/kunsi/.config/i3pystatus/rfkill-bt.py", interval=1) +status.register("shell", + format="{output}", + hints = {"markup": "pango"}, + command="/home/kunsi/.config/i3pystatus/redshift.py", + interval=1) status.register("shell", format="{output}", hints = {"markup": "pango"}, @@ -88,6 +93,21 @@ status.register("network", divisor=1024, hints={"markup":"pango"}) +#status.register("mpd", +# format="{status} [{pos}/{len}: ][{artist} - ]{title}{filename}[ ({song_elapsed}/{song_length})]", +# status={ +# "pause": "▷", +# "play": "▶", +# "stop": "◾", +# }, +# host="172.19.138.20", +# color="#666666", +# on_rightclick="stop", +# on_upscroll="previous_song", +# on_downscroll="next_song", +# hide_inactive=True, +# max_field_len=200) + status.register("disk", path="/home", format="{used}/{total}G",)