about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRaphael McSinyx <vn.mcsinyx@gmail.com>2017-03-20 20:14:25 +0700
committerRaphael McSinyx <vn.mcsinyx@gmail.com>2017-03-20 20:14:25 +0700
commit54f888bbc8c343db839fe7c3ca956e717c7133e1 (patch)
tree133d86448b2823c46a7a6f0c1bbb160f3a64ca7c
parent48da7383c04e5f6bf5612014727d8d9b4bd03329 (diff)
downloaddotfiles-54f888bbc8c343db839fe7c3ca956e717c7133e1.tar.gz
Update 20170320
-rw-r--r--awesome/.config/awesome/rc.lua8
-rw-r--r--meta/.Xdefaults39
-rw-r--r--meta/.bashrc4
3 files changed, 26 insertions, 25 deletions
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index 04fd216..85ac9cd 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -59,6 +59,7 @@ cmus_pause = "cmus-remote --pause"
 cmus_prev = "cmus-remote --prev"
 cmus_next = "cmus-remote --next"
 scrot = "scrot /home/cnx/Pictures/Screenshots/%FT%T.png"
+scrot_delay = "scrot --delay 3 /home/cnx/Pictures/Screenshots/%FT%T.png"
 scrot_select = "scrot --select /home/cnx/Pictures/Screenshots/%FT%T.png"
 slock_suspend = "slock systemctl --ignore-inhibitors suspend"
 function volume_lower() awful.spawn("amixer sset Master 5%-", false) end
@@ -370,8 +371,6 @@ globalkeys = awful.util.table.join(
             {description = "open zathura document viewer", group = "launcher"}),
   awful.key({modkey}, "m", function() awful.spawn(mutt) end,
             {description = "open mutt mail client", group = "launcher"}),
-  awful.key({modkey}, "y", function() awful.spawn("smtube") end,
-            {description = "open YouTube browser", group = "launcher"}),
   awful.key({modkey}, "s", function() awful.spawn("slock") end,
             {description = "lock screen", group = "launcher"}),
   awful.key({modkey, "Shift"}, "s", function() awful.spawn(slock_suspend) end,
@@ -386,7 +385,10 @@ 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({modkey}, "Print", function() awful.spawn(scrot_select) end,
+  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,
             {description = "shoot a window or rectangle selected with a mouse",
              group = "multimedia"}),
   awful.key({}, "XF86AudioRaiseVolume", volume_raise,
diff --git a/meta/.Xdefaults b/meta/.Xdefaults
index 0dd7b4d..fcff185 100644
--- a/meta/.Xdefaults
+++ b/meta/.Xdefaults
@@ -1,25 +1,24 @@
-! XTerm configs
+*background:  #fbf1c7
+*foreground:  #3c3836
+*color0:      #fbf1c7
+*color1:      #cc241d
+*color2:      #98971a
+*color3:      #d79921
+*color4:      #458588
+*color5:      #b16286
+*color6:      #689d6a
+*color7:      #a89984
+*color8:      #928374
+*color9:      #9d0006
+*color10:     #79740e
+*color11:     #b57614
+*color12:     #076678
+*color13:     #8f3f71
+*color14:     #427b58
+*color15:     #3c3836
 UXTerm*faceName:    Space Mono:size=10
-UXTerm*background:  #fbf1c7
-UXTerm*foreground:  #3c3836
-UXTerm*color0:      #fbf1c7
-UXTerm*color1:      #cc241d
-UXTerm*color2:      #98971a
-UXTerm*color3:      #d79921
-UXTerm*color4:      #458588
-UXTerm*color5:      #b16286
-UXTerm*color6:      #689d6a
-UXTerm*color7:      #a89984
-UXTerm*color8:      #928374
-UXTerm*color9:      #9d0006
-UXTerm*color10:     #79740e
-UXTerm*color11:     #b57614
-UXTerm*color12:     #076678
-UXTerm*color13:     #8f3f71
-UXTerm*color14:     #427b58
-UXTerm*color15:     #3c3836
 UXTerm*loginShell:  true
 UXTerm*scrollBar:   false
-UXTerm*saveLines:   65535
+UXTerm*saveLines:   1024
 UXTerm*cursorBlink: false
 UXTerm*jumpScroll:  true
diff --git a/meta/.bashrc b/meta/.bashrc
index 18171d0..e92745e 100644
--- a/meta/.bashrc
+++ b/meta/.bashrc
@@ -96,12 +96,12 @@ alias la='ls -A'
 # You may want to put all your additions into a separate file like
 # ~/.bash_aliases, instead of adding them here directly.
 # See /usr/share/doc/bash-doc/examples in the bash-doc package.
-alias x='cd ~ && startx'
-alias scot='scrot ~/Pictures/Screenshots/%FT%T.png'
 alias gcc='gcc -O2 -lm'
 alias fpc='fpc -O1 -XS -gl'
+alias mpa='mpv --no-video'
 alias mount='udevil mount'
 alias umount='udevil umount'
+alias x='cd ~ && startx'
 TF_ALIAS=fuck alias fuck='eval $(thefuck $(fc -ln -1)); history -r'
 if [ -f ~/.bash_aliases ]; then
     . ~/.bash_aliases