From 5d465233d88b3372c29ee148fe1e2676b7925b4d Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Mon, 29 Oct 2018 21:06:29 +0700 Subject: Update 2018-10-29 --- awesome/.config/awesome/rc.lua | 15 +++++---------- debian/.profile | 2 +- fedora/.bash_profile | 2 ++ 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index d63c034..7d1a617 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -58,7 +58,6 @@ mutt = "x-terminal-emulator -e mutt" slock_suspend = "slock systemctl --ignore-inhibitors suspend" scrot = "scrot /home/cnx/Desktop/%FT%T.png" -scrot_delay = "scrot --delay 3 /home/cnx/Desktop/%FT%T.png" scrot_select = "scrot --select /home/cnx/Desktop/%FT%T.png" -- Default modkey. @@ -159,8 +158,8 @@ vicious.register(mybattery_text, vicious.widgets.bat, end, 7, "BAT0") mybattery = wibox.container.background(mybattery_text, "#98971a") mybattery:buttons(awful.util.table.join( - awful.button({}, 1, function() awful.spawn"mate-power-preferences" end), - awful.button({}, 3, function() awful.spawn"mate-power-statistics" end) + awful.button({}, 1, function() awful.spawn"mate-power-statistics" end), + awful.button({}, 3, function() awful.spawn"mate-power-preferences" end) )) -- Create a volume widget @@ -395,8 +394,8 @@ globalkeys = awful.util.table.join( awful.key({modkey}, "b", function() awful.spawn"luakit" end, {description = "open Luakit", group = "launcher"}), awful.key({modkey, "Shift"}, "b", - function() awful.spawn"torbrowser-launcher" end, - {description = "open Tor Browser", group = "launcher"}), + function() awful.spawn"torify luakit --nounique" end, + {description = "open torified Luakit", group = "launcher"}), awful.key({modkey}, "r", function() awful.spawn(ranger) end, {description = "open ranger file manager", group = "launcher"}), awful.key({modkey}, "p", function() awful.spawn(python3) end, @@ -426,10 +425,7 @@ globalkeys = awful.util.table.join( {description = "cmus: next track", group = "multimedia"}), awful.key({}, "Print", function() awful.spawn(scrot) end, {description = "capture a screenshot", group = "multimedia"}), - awful.key({"Shift"}, "Print", function() awful.spawn(scrot_delay) end, - {description = "wait 3 seconds then capture a screenshot", - group = "multimedia"}), - awful.key({"Control"}, "Print", function() awful.spawn(scrot_select) end, + awful.key({"Shift"}, "Print", nil, function() awful.spawn(scrot_select) end, {description = "shoot a window or rectangle selected with a mouse", group = "multimedia"}), awful.key({}, "XF86AudioRaiseVolume", volume_setter"5%+", @@ -623,7 +619,6 @@ awful.rules.rules = { "Twf", "Wpa_gui", "ac_client", - "flare", "pinentry", "veromix", "xtightvncviewer" diff --git a/debian/.profile b/debian/.profile index 18894f4..bab962f 100644 --- a/debian/.profile +++ b/debian/.profile @@ -16,7 +16,7 @@ if [ -n "$BASH_VERSION" ]; then fi fi -PATH="$HOME/.local/bin:$HOME/.local/share/go/bin:$PATH" +export PATH="$HOME/.local/bin:$HOME/.local/share/go/bin:$HOME/.cargo/bin:$PATH" export MANPATH="$HOME/.local/share/man:$MANPATH" export GOPATH="$HOME/.local/share/go" export XMODIFIERS=@im=ibus diff --git a/fedora/.bash_profile b/fedora/.bash_profile index d80d90f..882ae0e 100644 --- a/fedora/.bash_profile +++ b/fedora/.bash_profile @@ -9,3 +9,5 @@ fi PATH=$PATH:$HOME/.local/bin:$HOME/bin:$HOME/.local/share/go/bin export PATH export GOPATH=$HOME/.local/share/go + +export PATH="$HOME/.cargo/bin:$PATH" -- cgit 1.4.1