From a4beb36f3a17762079c0ded9d98458f692947fcc Mon Sep 17 00:00:00 2001 From: "Dr. Amr Osman" Date: Wed, 13 Mar 2019 14:39:29 +0200 Subject: [PATCH] x250 --- .config/i3/config | 8 ++++++-- .scripts/statusbar/layswitch | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 05f514dc..00c841d8 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -62,7 +62,7 @@ exec_always --no-startup-id /usr/bin/project2HDMI & # start bluetooth #exec_always --no-startup-id /usr/bin/blueman-manager & #set bilang -exec_always --no-startup-id setxkbmap -layout fi,ara & +exec_always --no-startup-id setxkbmap fi,ara& # Set Xresources colors: set_from_resource $darkblack color0 #000000 @@ -179,7 +179,7 @@ bindsym $mod+Shift+s gaps inner current minus 5 bindsym $mod+d exec --no-startup-id dmenu_run bindsym $mod+Shift+d gaps inner current set 0; gaps outer current set 0 -bindsym $mod+Ctrl+d exec --no-startup-id "rofi -show run" +bindsym $mod+Ctrl+d exec --no-startup-id "rofi -show drun" set $freeze Distraction-free mode (super+shift+f to reactivate bindings) mode "$freeze" { bindsym $mod+Shift+f mode "default" @@ -437,3 +437,7 @@ bindsym $mod+period exec /usr/lib/virtualbox/VirtualBoxVM --comment 'w7litex86' exec_always --no-startup-id notify-send -i ~/.scripts/pix/larbs.png 'Welcome to LARBS: Press Super+F1 for the manual.' -t 10000 bindsym $mod+section exec --no-startup-id xkblayout-state set +1 && pkill -RTMIN+18 i3blocks +bindsym $mod+grave exec --no-startup-id xkblayout-state set +1 && pkill -RTMIN+18 i3blocks + +bindsym $mod+Shift+section exec --no-startup-id "setxkbmap us,ara && pkill -RTMIN+18 i3blocks" +bindsym $mod+Shift+grave exec --no-startup-id "setxkbmap fi,ara && pkill -RTMIN+18 i3blocks" diff --git a/.scripts/statusbar/layswitch b/.scripts/statusbar/layswitch index 1cec6a0b..ec4617c5 100755 --- a/.scripts/statusbar/layswitch +++ b/.scripts/statusbar/layswitch @@ -12,6 +12,9 @@ case $LNG in "ARA") #CLR=\#FF0000 ;; # red LNG=πŸ‡ͺπŸ‡¬;; + "US") + #CLR=\#FF0000 ;; # red + LNG=πŸ‡ΊπŸ‡Έ;; *) CLR=\#FFFFFF ;; # all others default-white esac