order += "disk /"
order += "disk /data"
order += "wireless _first_"
-# order += "ethernet _first_"
+order += "ethernet _first_"
order += "battery 0"
order += "volume master"
order += "load"
format_down = "W: down"
}
-# ethernet _first_ {
-# # if you use %speed, i3status requires root privileges
-# format_up = "E: %ip (%speed)"
-# format_down = "E: down"
-# }
+ethernet _first_ {
+ # if you use %speed, i3status requires root privileges
+ format_up = "E: %ip (%speed)"
+ format_down = "E: down"
+}
battery 0 {
format = "%status %percentage %remaining (%consumption)"
input "1:1:AT_Translated_Set_2_keyboard" {
repeat_delay 200
repeat_rate 45
- xkb_layout us,ir
- xkb_options ctrl:nocaps,altwin:swap_alt_win,ctrl:rctrl_ralt,grp:shifts_toggle
+ xkb_layout us_ab,ir
+ xkb_options ctrl:nocaps,altwin:swap_alt_win,grp:shifts_toggle
}
}
# font pango: benis uushi 9
-font pango: Ubuntu Mono 11
+# font pango: Ubuntu Mono 11
+# font pango: Inconsolata 11
+font pango: DejaVu Sans Mono 9
+# font pango: Liberation Mono 9
include /etc/sway/config.d/*
#+end_src
URxvt.keysym.Shift-Down: command:\033]721;1\007
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select
-URxvt.perl-ext: bidi
-URxvt.bidi.enabled: 1
URxvt.url-select.launcher: firefox
URxvt.url-select.underline: true
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.color15: #EEEEEC
#+end_src
+*** xkb us_ab keyboard layout
+
+#+begin_src conf :tangle "/sudo::/usr/share/X11/xkb/symbols/us_ab" :comments none
+default partial alphanumeric_keys
+xkb_symbols "us_ab" {
+ include "us(basic)"
+ name[Group1]= "English (US)(aminb)";
+
+ key <MENU> { [ Alt_R ] };
+};
+#+end_src
+
** XDG
:PROPERTIES:
:header-args+: :tangle ~/.config/user-dirs.dirs
#export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
#export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G"
+export NIXPKGS=$HOME/src/git/nixpkgs
+
if [ -e /home/amin/.nix-profile/etc/profile.d/nix.sh ]; then . /home/amin/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
#+end_src