From d09fb472202018a3d311f2f1db337e4de07c8849 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Thu, 21 May 2020 09:27:50 +0700 Subject: Update 2020-05-21 --- awesome/.config/awesome/rc.lua | 14 ++++++-------- debian/.bashrc | 3 +-- debian/.screenlayout/dual.sh | 2 +- debian/.xinitrc | 2 +- 4 files changed, 9 insertions(+), 12 deletions(-) diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 2994aaa..fe8dddc 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -53,7 +53,7 @@ local pulsemixer = terminal .. " -e pulsemixer" local ranger = terminal .. " -e ranger" local irc = terminal .. " -e ircII cnx irc.freenode.net" local python3 = terminal .. " -e python3" -local perl6 = terminal .. " -e perl6" +local raku = terminal .. " -e raku" local octave = terminal .. " -e octave" local guile = terminal .. " -e guile" local clojure = terminal .. " -e clojure" @@ -477,26 +477,24 @@ local globalkeys = awful.util.table.join( {description = "open Tor Browser", group = "launcher"}), awful.key({modkey}, "t", spawner"thunderbird", {description = "open Thunderbird", group = "launcher"}), + awful.key({modkey}, "m", spawner"riot-desktop", + {description = "open Riot", group = "launcher"}), awful.key({modkey, "Shift"}, "g", spawner"gimp", {description = "open GIMP", group = "launcher"}), awful.key({modkey}, "r", spawner(ranger), {description = "open ranger file manager", group = "launcher"}), awful.key({modkey, "Shift"}, "r", spawner(ranger .. " /data"), {description = "open ranger at /data", group = "launcher"}), - awful.key({modkey}, "i", spawner(irc), - {description = "open Freenode", group = "launcher"}), awful.key({modkey}, "p", spawner(python3), {description = "open Python 3 interpreter", group = "launcher"}), - awful.key({modkey, "Shift"}, "p", spawner(perl6), - {description = "open Perl 6", group = "launcher"}), + awful.key({modkey, "Shift"}, "p", spawner(raku), + {description = "open Raku", group = "launcher"}), awful.key({modkey}, "c", spawner(clojure), {description = "open Clojure interpreter", group = "launcher"}), awful.key({modkey}, "g", spawner(guile), {description = "open Guile interpreter", group = "launcher"}), awful.key({modkey}, "o", spawner(octave), {description = "open Octave", group = "launcher"}), - awful.key({modkey, "Shift"}, "o", spawner"geogebra-classic", - {description = "open GeoGebra", group = "launcher"}), awful.key({modkey}, "z", spawner"zathura", {description = "open zathura document viewer", group = "launcher"}), awful.key({modkey}, "d", spawner"diodon", @@ -505,7 +503,7 @@ 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(pulsemixer), + awful.key({modkey, "Control"}, "m", spawner(pulsemixer), {description = "open PulseAudio mixer", group = "multimedia"}), awful.key({modkey}, "a", spawner(audacious_jump_box), {description = "Audacious: jump-to-song", group = "multimedia"}), diff --git a/debian/.bashrc b/debian/.bashrc index 112dd18..051a617 100644 --- a/debian/.bashrc +++ b/debian/.bashrc @@ -95,8 +95,6 @@ alias r=ranger alias gcc='gcc -Wall -Wextra -pedantic -O2 -lm' alias g++='g++ -Wall -Wextra -pedantic -O2 -lm' alias fpc='fpc -O1 -XS -gl' -alias mpa='mpv --no-video --loop=inf' -alias raku=perl6 alias x='cd $HOME && startx && cd -' alias backup='rsync -avh --delete /home/ /data/Home/' eval $(thefuck --alias) @@ -128,3 +126,4 @@ set -o emacs export EDITOR=vim export PAGER=less export IRCSERVER=irc.freenode.net +export PIP_UNSTABLE_FEATURE=resolver diff --git a/debian/.screenlayout/dual.sh b/debian/.screenlayout/dual.sh index e141199..f166e7e 100755 --- a/debian/.screenlayout/dual.sh +++ b/debian/.screenlayout/dual.sh @@ -1,2 +1,2 @@ #!/bin/sh -xrandr --output HDMI2 --off --output HDMI1 --off --output DP1 --primary --mode 1600x900 --pos 1920x0 --rotate normal --output eDP1 --mode 1920x1080 --pos 0x0 --rotate normal --output VIRTUAL1 --off +xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --mode 1600x900 --pos 1920x0 --rotate normal --output HDMI1 --off --output HDMI2 --off --output VIRTUAL1 --off diff --git a/debian/.xinitrc b/debian/.xinitrc index 598bd05..c625c3d 100644 --- a/debian/.xinitrc +++ b/debian/.xinitrc @@ -1,6 +1,6 @@ #!/bin/sh xrdb -merge ~/.Xresources -xrandr --output DP1 --mode 1600x900 --primary --right-of eDP1 +$HOME/.screenlayout/dual.sh redshift-gtk -l 21.028333:105.854167 & mate-power-manager & ibus-daemon -drx -- cgit 1.4.1