New surface related keybinds and more py3modules.

This commit is contained in:
Kevin Baensch 2019-06-05 02:18:46 +02:00
parent d1a0a67915
commit 6ed77756b4
3 changed files with 24 additions and 12 deletions

View file

@ -16,6 +16,7 @@ with lib;
NIXPKGS_ALLOW_UNFREE="1"; NIXPKGS_ALLOW_UNFREE="1";
WINEDLLOVERRIDES="winemenubuilder.exe=d"; WINEDLLOVERRIDES="winemenubuilder.exe=d";
LC_CTYPE="zh_CN.UTF-8"; LC_CTYPE="zh_CN.UTF-8";
QT_SCALE_FACTOR="0.7"; # This breaks a lot of applications
# QT_SCALE_FACTOR="0.7";
}; };
} }

View file

@ -2,7 +2,6 @@
# #
# Please see http://i3wm.org/docs/userguide.html for a complete reference! # Please see http://i3wm.org/docs/userguide.html for a complete reference!
### INIT xfce session stuff ###
exec redshift-gtk -l 51.0504:13.7373 exec redshift-gtk -l 51.0504:13.7373
### START USER CONFIG ### ### START USER CONFIG ###
@ -13,6 +12,14 @@ new_window pixel
hide_edge_borders both hide_edge_borders both
exec setxkbmap de exec setxkbmap de
exec xinput --map-to-output "ipts 045E:001F Pen Pen (0)" eDP1
exec xinput --map-to-output "ipts 045E:001F Pen Eraser (0)" eDP1
exec xinput --map-to-output "ipts 045E:001F Touchscreen" eDP1
bindsym $mod+Shift+s exec xinput --map-to-output "ipts 045E:001F Pen Pen (0)" eDP1; exec xinput --map-to-output "ipts 045E:001F Pen Eraser (0)" eDP1; exec xinput --map-to-output "ipts 045E:001F Touchscreen" eDP1
bindsym $mod+Shift+a exec xinput --enable "ipts 045E:001F Touchscreen"
bindsym $mod+Shift+d exec xinput --disable "ipts 045E:001F Touchscreen"
#exec compton -f #exec compton -f
exec feh --bg-scale Pictures/wallpaper.jpg exec feh --bg-scale Pictures/wallpaper.jpg
#exec pulseaudio -D #exec pulseaudio -D
@ -28,7 +35,7 @@ exec feh --bg-scale Pictures/wallpaper.jpg
### END USER PROGRAMMS ### ### END USER PROGRAMMS ###
### START SYSKEY BINDSYM ### ### START MEDIA BINDSYM ###
bindsym XF86AudioPlay exec playerctl play bindsym XF86AudioPlay exec playerctl play
bindsym XF86AudioPause exec playerctl pause bindsym XF86AudioPause exec playerctl pause
@ -36,10 +43,14 @@ bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous bindsym XF86AudioPrev exec playerctl previous
bindsym $mod+Mod1+space exec playerctl play-pause bindsym $mod+Mod1+space exec playerctl play-pause
bindsym $mod+Mod1+Right exec playerctl next bindsym $mod+Mod1+Left exec playerctl position 10-
bindsym $mod+Mod1+Left exec playerctl previous bindsym $mod+Mod1+Right exec playerctl position 10+
bindsym $mod+Mod1+Down exec playerctl next
bindsym $mod+Mod1+Up exec playerctl previous
bindsym $mod+Shift+w sticky toggle bindsym $mod+Shift+w sticky toggle
bindsym $mod+Shift+B floating enable; border none; resize set 900 600; move position 1836 38
### END SYSKEY BINDSYM ### ### END SYSKEY BINDSYM ###
@ -73,7 +84,6 @@ bindsym --release $mod+Shift+S exec scrot
bindsym --release $mod+Ctrl+S exec "scrot --select" bindsym --release $mod+Ctrl+S exec "scrot --select"
bindsym --release $mod+Ctrl+A exec "scrot -s '/tmp/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f && rm $f'" bindsym --release $mod+Ctrl+A exec "scrot -s '/tmp/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f && rm $f'"
bindsym $mod+o exec pcmanfm bindsym $mod+o exec pcmanfm
bindsym $mod+Shift+B floating enable; border none; resize set 900 600; move position 1836 38
### END BINDSYM ### ### END BINDSYM ###
@ -138,7 +148,7 @@ bindsym $mod+Shift+q kill
# start dmenu (a program launcher) # start dmenu (a program launcher)
#bindsym $mod+d exec rofi -show run -lines 3 -eh 2 -width 100 -padding 330 -opacity "85" -config ~/.config/rofi.cfg -font "System San Francisco Display 12" #bindsym $mod+d exec rofi -show run -lines 3 -eh 2 -width 100 -padding 330 -opacity "85" -config ~/.config/rofi.cfg -font "System San Francisco Display 12"
bindsym $mod++d exec dmenu_run -fn 'Droid Sans Mono-8' bindsym $mod+d exec dmenu_run -fn 'Droid Sans Mono-8'
# There also is the (new) i3-dmenu-desktop which only displays applications # There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that # shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed. # installed.
@ -180,7 +190,7 @@ bindsym $mod+v split v
bindsym $mod+f fullscreen toggle bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split) # change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking bindsym $mod+q layout stacking
bindsym $mod+w layout tabbed bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split bindsym $mod+e layout toggle split
@ -194,7 +204,7 @@ bindsym $mod+space focus mode_toggle
bindsym $mod+a focus parent bindsym $mod+a focus parent
# focus the child container # focus the child container
#bindsym $mod+d focus child bindsym $mod+s focus child
# switch to workspace # switch to workspace
bindsym $mod+1 workspace 1 bindsym $mod+1 workspace 1

View file

@ -9,15 +9,15 @@
general { general {
# output_format = "dzen2" # output_format = "dzen2"
colors = true colors = true
interval = 1
} }
order += "group network" order += "group network"
order += "disk /" order += "disk /"
order += "dpms" order += "dpms"
order += "load" order += "backlight"
order += "volume_status" order += "volume_status"
order += "cpu_temperature 0"
order += "load"
order += "group tz" order += "group tz"
group network { group network {
@ -37,6 +37,7 @@ group network {
} }
group tz { group tz {
interval = 1
format = "{output}" format = "{output}"
button_next = 1 button_next = 1
button_previous = 2 button_previous = 2