i3 config

i3 install
https://i3wm.org/docs/repositories.html — here is ubuntu stable repo

backlight
sudo apt install xbacklight
https://faq.i3wm.org/question/3747/enabling-multimedia-keys.1.html

colors
http://hndr.me/blog/making-my-new-linux-less-ugly/

suspend
https://faq.i3wm.org/question/5629/how-to-prevent-sleep-on-laptop-lid-close/index.html
/etc/systemd/logind.conf —> HandleLidSwitch=ignore

i3 blocks
https://github.com/vivien/i3blocks
/etc/i3blocks.conf (or /usr/local/etc/i3blocks.conf)

stop shift+alt language change
https://unix.stackexchange.com/questions/333368/gnome-3-22-disable-altshift-keyboard-layout-switching
nano /etc/default/keyboard -> XKBOPTIONS=»grp:ctrl_shift_toggle,grp_led:scroll,numpad:microsoft»
install gxkb / xxkb

gxkb
save language for each window
apt install gxkb
.config/gxkb/gxkb.cfg > toggle_option=grp:caps_toggle,grp_led:scroll,numpad:microsoft

audio fn keys
bindsym XF86AudioRaiseVolume exec amixer -q -D pulse sset Master 3%+ unmute
bindsym XF86AudioLowerVolume exec amixer -q -D pulse sset Master 3%- unmute
bindsym XF86AudioMute exec amixer -D pulse set Master 1+ toggle

one way reset displays & display config utility
mutter --replace
https://christopherdecoster.com/posts/i3-wm/

pycharm launcher in console
pycharm => tools => create command line launcher

screenshot
sudo apt install scrot xclip
bindsym Print exec scrot -u ~/screenshot.png && xclip -selection ‘clipboard’ -t image/png ~/screenshot.png

 

i3

i3blocks

Добавить комментарий