1
0
Fork 0

Update 2018-12-02

This commit is contained in:
Nguyễn Gia Phong 2018-12-02 11:19:45 +07:00
parent ee7dd8ccc9
commit 694b8f443d
6 changed files with 17 additions and 7 deletions

View File

@ -417,15 +417,15 @@ globalkeys = awful.util.table.join(
awful.key({modkey}, "c", cmus,
{description = "open cmus music player", group = "launcher"}),
awful.key({modkey}, "XF86AudioPlay", cmus_pause,
awful.key({}, "XF86AudioPlay", cmus_pause,
{description = "cmus: play/pause", group = "multimedia"}),
awful.key({modkey}, "XF86AudioPrev", cmus_prev,
awful.key({}, "XF86AudioPrev", cmus_prev,
{description = "cmus: previous track", group = "multimedia"}),
awful.key({modkey}, "XF86AudioNext", cmus_next,
awful.key({}, "XF86AudioNext", cmus_next,
{description = "cmus: next track", group = "multimedia"}),
awful.key({}, "Print", function() awful.spawn(scrot) end,
awful.key({}, "Print", nil, function() awful.spawn(scrot_select) end,
{description = "capture a screenshot", group = "multimedia"}),
awful.key({"Shift"}, "Print", nil, function() awful.spawn(scrot_select) end,
awful.key({"Shift"}, "Print", function() awful.spawn(scrot) end,
{description = "shoot a window or rectangle selected with a mouse",
group = "multimedia"}),
awful.key({}, "XF86AudioRaiseVolume", volume_setter"5%+",

View File

@ -20,17 +20,21 @@ local theme = {}
theme.wd = "~/.config/awesome/themes/gruvbox/"
theme.font = "Latin Modern Mono Caps 12"
theme.hotkeys_font = "Latin Modern Mono Bold 12"
theme.hotkeys_description_font = theme.font
theme.bg_normal = "#fbf1c7"
theme.bg_focus = "#ebdbb2"
theme.bg_urgent = theme.bg_normal
theme.bg_minimize = theme.bg_focus
theme.bg_systray = theme.bg_normal
theme.hotkeys_bg = theme.bg_normal
theme.fg_normal = "#3c3836"
theme.fg_focus = theme.fg_normal
theme.fg_urgent = "#8f3f71"
theme.fg_minimize = theme.fg_normal
theme.hotkeys_fg = theme.fg_normal
theme.useless_gap = 0
theme.border_width = 1
@ -38,6 +42,10 @@ theme.border_normal = theme.bg_focus
theme.border_focus = "#b16286"
theme.border_marked = "#cc241d"
theme.hotkeys_border_color = theme.border_focus
theme.hotkeys_border_width = theme.border_width
theme.hotkeys_modifiers_fg = theme.fg_urgent
-- There are other variable sets
-- overriding the default one when
-- defined, the sets are:

1
debian/.bashrc vendored
View File

@ -104,6 +104,7 @@ alias mpvx='mpv --wid=$WINDOWID --vo=xv'
alias mount='udevil mount'
alias umount='udevil umount'
alias flare='DBUS_FATAL_WARNINGS=0 flare'
alias x='cd $HOME && startx && cd -'
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile

2
debian/.xinitrc vendored
View File

@ -1,5 +1,4 @@
#!/bin/sh
cd $HOME
xrdb -merge ~/.Xresources
setxkbmap -option caps:ctrl_modifier
xrandr --output DP-1 --mode 1600x900 --primary --right-of eDP-1
@ -11,4 +10,3 @@ nm-applet &
keynav &
diodon &
exec awesome
cd -

View File

@ -48,6 +48,7 @@
(savehist-mode 1)
(setq-default inhibit-splash-screen t)
(setq-default initial-buffer-choice "/usr/share/dict/words")
(setq-default fill-column 79)
(add-hook 'prog-mode-hook 'ruler-mode)
(setq-default indent-tabs-mode nil)

View File

@ -21,6 +21,7 @@ let g:jedi#popup_on_dot = 0
let g:jedi#popup_select_first = 0
let g:jedi#show_call_signatures = 2
let g:jedi#smart_auto_mappings = 0
let g:vimtex_indent_enabled = 0
command W w
map Q gq
@ -28,4 +29,5 @@ call plug#begin('~/.vim/plugged')
Plug 'https://github.com/morhetz/gruvbox.git'
Plug 'https://github.com/tpope/vim-abolish.git'
Plug 'https://github.com/lervag/vimtex.git', {'for': 'tex'}
Plug 'https://github.com/kovisoft/slimv', {'for': 'lisp'}
call plug#end()