Update i3 config.
This commit is contained in:
parent
9cefcd2509
commit
7a3b464306
3 changed files with 15 additions and 9 deletions
|
@ -12,16 +12,9 @@ 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 $(xdg-user-dir PICTURES)/wallpaper.jpg
|
||||||
#exec pulseaudio -D
|
#exec pulseaudio -D
|
||||||
#exec fcitx
|
#exec fcitx
|
||||||
#exec env=LC_CTYPE=zh_CN.UTF-8 emacs --daemon
|
#exec env=LC_CTYPE=zh_CN.UTF-8 emacs --daemon
|
||||||
|
|
|
@ -18,6 +18,7 @@ order += "backlight"
|
||||||
order += "volume_status"
|
order += "volume_status"
|
||||||
order += "cpu_temperature 0"
|
order += "cpu_temperature 0"
|
||||||
order += "load"
|
order += "load"
|
||||||
|
order += "battery 0"
|
||||||
order += "group tz"
|
order += "group tz"
|
||||||
|
|
||||||
group network {
|
group network {
|
||||||
|
@ -65,6 +66,17 @@ group tz {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
battery 0 {
|
||||||
|
format = "%status %percentage %remaining %emptytime"
|
||||||
|
format_down = "No battery"
|
||||||
|
status_chr = "⚡ CHR"
|
||||||
|
status_bat = "🔋 BAT"
|
||||||
|
status_unk = "? UNK"
|
||||||
|
status_full = "☻ FULL"
|
||||||
|
path = "/sys/class/power_supply/BAT%d/uevent"
|
||||||
|
low_threshold = 10
|
||||||
|
}
|
||||||
|
|
||||||
volume_status {
|
volume_status {
|
||||||
button_up = 4
|
button_up = 4
|
||||||
button_down = 5
|
button_down = 5
|
||||||
|
|
|
@ -7,10 +7,11 @@
|
||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
configFile = ../../config/etc/i3/config;
|
configFile = ../../config/etc/i3/config;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
dmenu
|
dmenu
|
||||||
file
|
file
|
||||||
i3lock
|
i3lock
|
||||||
i3status
|
i3status
|
||||||
|
xdg-user-dirs
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue