From 07837522ae79d4e5e903468d748dbf0e0b2e169d Mon Sep 17 00:00:00 2001 From: finga Date: Sun, 3 Jun 2018 02:16:26 +0200 Subject: [PATCH 1/4] adopt to x200 --- .config/i3status/config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/i3status/config b/.config/i3status/config index 14486d1..b909c11 100644 --- a/.config/i3status/config +++ b/.config/i3status/config @@ -4,8 +4,8 @@ general { } # order += "ipv6" -order += "ethernet eth0" -order += "wireless wlan0" +order += "ethernet enp0s25" +order += "wireless wlp2s0" order += "battery 0" order += "cpu_usage" order += "load" @@ -13,12 +13,12 @@ order += "volume master" order += "tztime home" order += "tztime utc" -ethernet eth0 { +ethernet enp0s25 { format_up = "E: %ip (%speed)" format_down = "E: down" } -wireless wlan0 { +wireless wlp2s0 { format_up = "W: %quality@%ip" format_down = "W: down" } From e84ecbf4107e0a44384f897897835aa4d3770554 Mon Sep 17 00:00:00 2001 From: finga Date: Thu, 8 Nov 2018 15:25:46 +0100 Subject: [PATCH 2/4] implement screen lock --- .config/i3/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/i3/config b/.config/i3/config index a9608fc..f0f9499 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -38,6 +38,9 @@ bindsym $mod+Shift+Return exec em # kill focused window bindsym $mod+Shift+Q kill +# lock screen +bindsym $mod+l exec fuzzy-i3lock + # start dmenu (a program launcher) bindsym $mod+d exec dmenu_run From 9bc651f3c7a5db3372976dc0065ca74e75d5ad23 Mon Sep 17 00:00:00 2001 From: finga Date: Wed, 10 Jul 2019 23:40:14 +0200 Subject: [PATCH 3/4] floating window size --- .config/i3/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/i3/config b/.config/i3/config index f0f9499..580ba43 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -133,6 +133,10 @@ mode "resize" { } bindsym $mod+r mode "resize" +# constraining floating window size +# floating_minimum_size 75 x 50 +floating_maximum_size -1 x -1 + # colors & style new_window normal 1 new_float normal 1 From af4761ccc276fe86281a0bf3b403b02d19c4d70d Mon Sep 17 00:00:00 2001 From: finga Date: Mon, 21 Dec 2020 15:36:20 +0100 Subject: [PATCH 4/4] Add ibus key bindings --- .config/i3/config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/i3/config b/.config/i3/config index 3a3ef92..01d8938 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -140,6 +140,12 @@ bindsym $mod+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r restart +# set input keyboard to us english +bindsym $mod+Control+e exec "ibus engine xkb:us::eng" + +# set input keyboard to Chỡ Quố Ngữ (vietnamese) +bindsym $mod+Control+v exec "ibus engine Unikey" + # exit i3 (logs you out of your X session) bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"