update i3 config

This commit is contained in:
Franzi 2019-03-23 16:09:15 +01:00
parent 84584fe87c
commit 0e0e7c2f46
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 16 additions and 26 deletions

View file

@ -8,7 +8,8 @@ bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Shift+x kill
bindsym $mod+a exec i3-dmenu-desktop
bindsym $mod+a exec dmenu_run
#bindsym $mod+a exec i3-dmenu-desktop
bindsym $mod+n focus left
bindsym $mod+r focus down
@ -87,9 +88,10 @@ for_window [window_role="pop-up"] floating enable
for_window [class="Pavucontrol"] floating enable
for_window [class="Gnome-calculator"] floating enable
workspace 1 output eDP1 DP2-2
workspace 1 output eDP1 DP2-3
workspace 2 output eDP1 DP2-1
workspace 3 output eDP1 DP2-2
workspace 9 output eḐP1 DP2-1
workspace 10 output eDP1 DP2-2
exec_always setxkbmap -synch
@ -97,8 +99,7 @@ exec_always setxkbmap -synch
exec xset s noblank && xset s 90 10 && xset -dpms
exec xsetroot -solid "#000000"
exec xss-lock -n /home/kunsi/.bin/notify.sh -- /home/kunsi/.bin/screenlock.sh
exec nextcloud
exec xinput set-prop 'SynPS/2 Synaptics TouchPad' 'Device Enabled' 0
exec xinput disable 'SynPS/2 Synaptics TouchPad'
#bindsym Control+$mod+l exec /home/kunsi/.bin/screenlock.sh
bindsym XF86Tools exec /home/kunsi/.bin/screenlock.sh
@ -123,4 +124,8 @@ bindsym XF86MonBrightnessDown exec xbacklight -2
bindsym $mod+Print exec scrot --silent
bindsym $mod+Shift+Print exec scrot --focused --silent
bindsym $mod+Shift+Left exec playerctl previous
bindsym $mod+Shift+Down exec playerctl play-pause
bindsym $mod+Shift+Right exec playerctl next
bindsym $mod+p exec /home/kunsi/git/passdmenu/passdmenu.py --pw --type

View file

@ -1,6 +1,5 @@
from i3pystatus import Status
from i3pystatus.updates import pacman, cower
#import sensors
import sensors
status = Status()
@ -56,10 +55,11 @@ status.register("battery",
status.register("load",
format="{avg1}")
#status.register("temp",
# format="{Package_id_0:.0f}°C {fan0:.0f}rpm",
# lm_sensors_enabled=True,
# dynamic_color=True)
status.register("temp",
format="{temp:.0f}°C",
hints={"markup": "pango"},
# lm_sensors_enable=True,
dynamic_color=True)
status.register("shell",
format="{output}",
@ -74,7 +74,7 @@ status.register("shell",
status.register("network",
interface="wlp4s0",
format_up="{interface}:[ {essid} ({freq:01.3f}GHz {quality}%)][ {v4cidr}][ {v6cidr}]",
format_up="{interface}:[ {essid} ({freq:01.3f}GHz {quality}%)][ {v6cidr}][ {v4cidr}]",
format_down="{interface}: down",
detect_active=True,
freq_divisor=1000000000)
@ -83,19 +83,4 @@ status.register("disk",
path="/home",
format="{used}/{total}G",)
#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.run()