about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-02-12 15:48:08 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-02-12 15:48:08 +0700
commit1f9e00aaf9ecc88d23d6bae93ffe34aa7d3e08da (patch)
tree99e333d0ec761d1259e4d7096818ff640074fd9b
parent73ce3f687fc3699a246d6daa4a44c698c0e788dc (diff)
downloaddotfiles-1f9e00aaf9ecc88d23d6bae93ffe34aa7d3e08da.tar.gz
Update configs for the new keyboard layout
-rw-r--r--awesome/.config/awesome/rc.lua26
l---------debian/.config/systemd/user/default.target.wants/anbox-session-manager.service1
-rw-r--r--debian/.profile1
-rw-r--r--dev/.config/htop/htoprc4
4 files changed, 16 insertions, 16 deletions
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index 66deb1a..1d44cc0 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -442,10 +442,10 @@ local globalkeys = awful.util.table.join(
   awful.key({modkey, "Shift"}, "k", function () awful.client.swap.byidx(-1)end,
             {description = "swap with previous client by index",
              group = "client"}),
-  awful.key({modkey}, "0",
+  awful.key({modkey}, "]",
             function () awful.screen.focus_relative(-1) end,
             {description = "focus the next screen", group = "screen"}),
-  awful.key({modkey}, "`",
+  awful.key({modkey}, "[",
             function () awful.screen.focus_relative(1) end,
             {description = "focus the previous screen", group = "screen"}),
   awful.key({modkey}, "u", awful.client.urgent.jumpto,
@@ -496,23 +496,17 @@ local globalkeys = awful.util.table.join(
             {description = "lock screen", group = "launcher"}),
   awful.key({modkey, "Shift"}, "s", spawner(slock_suspend),
             {description = "lock screen then suspend", group = "launcher"}),
+  awful.key({modkey}, "m", spawner("matrix-mirage"),
+            {description = "open Mirage", group = "launcher"}),
   awful.key({modkey, "Shift"}, "m", spawner("tootle"),
             {description = "open Tootle", group = "launcher"}),
-  awful.key({modkey}, "a", spawner(audacious_jump_box),
+  awful.key({modkey, "Shift"}, "-", spawner(audacious_jump_box),
             {description = "Audacious: jump-to-song", group = "multimedia"}),
-  awful.key({modkey, "Shift"}, "a", spawner(audacious_main_window),
-            {description = "Audacious: main window", group = "launcher"}),
-  awful.key({modkey, "Control"}, "a", spawner(play_pause),
+  awful.key({modkey}, "=", spawner(play_pause),
             {description = "Audacious: play/pause", group = "multimedia"}),
-  awful.key({modkey}, "Up", spawner(rewind),
+  awful.key({modkey}, "-", spawner(rewind),
             {description = "Audacious: previous track", group = "multimedia"}),
-  awful.key({modkey}, "Down", spawner(forward),
-            {description = "Audacious: next track", group = "multimedia"}),
-  awful.key({}, "XF86AudioPlay", spawner(play_pause),
-            {description = "Audacious: jump-to-song", group = "multimedia"}),
-  awful.key({}, "XF86AudioPrev", spawner(rewind),
-            {description = "Audacious: previous track", group = "multimedia"}),
-  awful.key({}, "XF86AudioNext", spawner(forward),
+  awful.key({modkey, "Shift"}, "=", spawner(forward),
             {description = "Audacious: next track", group = "multimedia"}),
   awful.key({}, "XF86Display", spawner"arandr",
             {description = "open Arandr", group = "multimedia"}),
@@ -594,10 +588,10 @@ local clientkeys = awful.util.table.join(
   awful.key({modkey, "Control"}, "space",
             function (c) c:swap(awful.client.getmaster()) end,
             {description = "move to master", group = "client"}),
-  awful.key({modkey, "Shift"}, "0",
+  awful.key({modkey, "Shift"}, "]",
             function (c) c:move_to_screen(c.screen.index - 1) end,
             {description = "move to screen", group = "client"}),
-  awful.key({modkey, "Shift"}, "`",
+  awful.key({modkey, "Shift"}, "[",
             function (c) c:move_to_screen(c.screen.index + 1) end,
             {description = "move to screen", group = "client"}),
   awful.key({modkey}, "t", function (c) c.ontop = not c.ontop end,
diff --git a/debian/.config/systemd/user/default.target.wants/anbox-session-manager.service b/debian/.config/systemd/user/default.target.wants/anbox-session-manager.service
new file mode 120000
index 0000000..658ed6b
--- /dev/null
+++ b/debian/.config/systemd/user/default.target.wants/anbox-session-manager.service
@@ -0,0 +1 @@
+/usr/lib/systemd/user/anbox-session-manager.service
\ No newline at end of file
diff --git a/debian/.profile b/debian/.profile
index 990d130..f58b1fa 100644
--- a/debian/.profile
+++ b/debian/.profile
@@ -13,6 +13,7 @@ export PATH="$HOME/.local/bin:$GOPATH/bin:$HOME/.cargo/bin:$HOME/.luarocks/bin:$
 export MANPATH="$HOME/.local/share/man:$MANPATH"
 export RUST_SRC_PATH="$(rustc --print sysroot)/lib/rustlib/src/rust/src"
 export XMODIFIERS=@im=ibus
+export QT_IM_MODULE=ibus
 export QT_QPA_PLATFORMTHEME=qt5ct
 
 # if running bash
diff --git a/dev/.config/htop/htoprc b/dev/.config/htop/htoprc
index 0291eb0..0a481c9 100644
--- a/dev/.config/htop/htoprc
+++ b/dev/.config/htop/htoprc
@@ -3,6 +3,8 @@
 fields=0 48 17 18 38 39 40 2 46 47 49 1
 sort_key=47
 sort_direction=1
+tree_sort_key=0
+tree_sort_direction=1
 hide_kernel_threads=1
 hide_userland_threads=0
 shadow_other_users=0
@@ -17,6 +19,7 @@ find_comm_in_cmdline=1
 strip_exe_from_cmdline=1
 show_merged_command=1
 tree_view=0
+tree_view_always_by_pid=0
 header_margin=1
 detailed_cpu_time=0
 cpu_count_from_one=0
@@ -33,3 +36,4 @@ left_meters=AllCPUs4 CPU
 left_meter_modes=1 1
 right_meters=Memory Swap Battery
 right_meter_modes=1 1 1
+hide_function_bar=0