Update 2019-04-16
This commit is contained in:
parent
b06aecea34
commit
860945d30c
7 changed files with 17 additions and 14 deletions
|
@ -51,11 +51,12 @@ local terminal = "x-terminal-emulator"
|
|||
local editor = "gvim"
|
||||
-- And some additional applications
|
||||
local root_terminal = "x-terminal-emulator -e su -"
|
||||
local pulsemixer = "x-terminal-emulator -e pulsemixer"
|
||||
local ranger = "x-terminal-emulator -e ranger"
|
||||
local python3 = "x-terminal-emulator -e python3"
|
||||
local perl6 = "x-terminal-emulator -e perl6"
|
||||
local guile = "x-terminal-emulator -e guile"
|
||||
local emacs = "x-terminal-emulator -e emacs -nw"
|
||||
local octave = "x-terminal-emulator -e octave"
|
||||
local slock_suspend = "slock systemctl --ignore-inhibitors suspend"
|
||||
|
||||
-- Audacious media player
|
||||
|
@ -210,8 +211,8 @@ myvolume:buttons(awful.util.table.join(
|
|||
awful.button({}, 1, volume_setter"-5"),
|
||||
awful.button({}, 2, volume_mute),
|
||||
awful.button({}, 3, volume_setter"+5"),
|
||||
awful.button({}, 4, volume_setter"+5"),
|
||||
awful.button({}, 5, volume_setter"-5")
|
||||
awful.button({}, 4, volume_setter"+1"),
|
||||
awful.button({}, 5, volume_setter"-1")
|
||||
))
|
||||
|
||||
-- Create a widget for music player
|
||||
|
@ -442,7 +443,7 @@ local globalkeys = awful.util.table.join(
|
|||
{description = "open a root terminal", group = "launcher"}),
|
||||
awful.key({modkey}, "v", spawner(editor),
|
||||
{description = "open GVim", group = "launcher"}),
|
||||
awful.key({modkey}, "e", spawner(emacs),
|
||||
awful.key({modkey}, "e", spawner"emacs",
|
||||
{description = "open Emacs", group = "launcher"}),
|
||||
awful.key({modkey}, "b", spawner"luakit",
|
||||
{description = "open Luakit", group = "launcher"}),
|
||||
|
@ -454,7 +455,7 @@ 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"moodledesktop",
|
||||
awful.key({modkey, "Shift"}, "m", spawner"moodledesktop",
|
||||
{description = "open Moodle Desktop", group = "launcher"}),
|
||||
awful.key({modkey}, "r", spawner(ranger),
|
||||
{description = "open ranger file manager", group = "launcher"}),
|
||||
|
@ -466,6 +467,8 @@ local globalkeys = awful.util.table.join(
|
|||
{description = "open Perl 6", 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}, "z", spawner"zathura",
|
||||
{description = "open zathura document viewer", group = "launcher"}),
|
||||
awful.key({modkey}, "d", spawner"diodon",
|
||||
|
@ -474,6 +477,8 @@ 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),
|
||||
{description = "open PulseAudio mixer", group = "multimedia"}),
|
||||
awful.key({modkey}, "a", spawner(audacious_jump_box),
|
||||
{description = "Audacious: jump-to-song", group = "multimedia"}),
|
||||
awful.key({modkey, "Shift"}, "a", spawner(audacious_main_window),
|
||||
|
@ -491,10 +496,10 @@ local globalkeys = awful.util.table.join(
|
|||
awful.key({}, "XF86AudioNext", spawner(audacious_forward),
|
||||
{description = "Audacious: next track", group = "multimedia"}),
|
||||
awful.key({}, "Print", nil, spawner(scrot_select),
|
||||
{description = "capture a screenshot", group = "multimedia"}),
|
||||
awful.key({"Shift"}, "Print", spawner(scrot),
|
||||
{description = "shoot a window or rectangle selected with a mouse",
|
||||
group = "multimedia"}),
|
||||
awful.key({"Shift"}, "Print", spawner(scrot),
|
||||
{description = "capture a screenshot", group = "multimedia"}),
|
||||
awful.key({}, "XF86AudioRaiseVolume", volume_setter"+5",
|
||||
{description = "raise 5% volume", group = "multimedia"}),
|
||||
awful.key({}, "XF86AudioLowerVolume", volume_setter"-5",
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 678 KiB After Width: | Height: | Size: 524 KiB |
2
debian/.xinitrc
vendored
2
debian/.xinitrc
vendored
|
@ -1,9 +1,7 @@
|
|||
#!/bin/sh
|
||||
xrdb -merge ~/.Xresources
|
||||
setxkbmap -option caps:ctrl_modifier
|
||||
xrandr --output DP-1 --mode 1600x900 --primary --right-of eDP-1
|
||||
xsetroot -solid '#282828'
|
||||
xfishtank -df 42 &
|
||||
redshift-gtk -l 21.028333:105.854167 &
|
||||
mate-power-manager &
|
||||
ibus-daemon -drx
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
'(ansi-color-names-vector
|
||||
["#2e3436" "#a40000" "#4e9a06" "#c4a000" "#204a87" "#5c3566" "#729fcf" "#eeeeec"])
|
||||
'(column-number-mode t)
|
||||
'(custom-enabled-themes (quote (tango wheatgrass)))
|
||||
'(custom-enabled-themes (quote (tango)))
|
||||
'(erc-nick "cnx")
|
||||
'(package-selected-packages
|
||||
(quote
|
||||
|
@ -62,6 +62,3 @@
|
|||
(add-hook 'pdf-tools-enabled-hook 'auto-revert-mode)
|
||||
|
||||
(when window-system (set-frame-size (selected-frame) 80 25))
|
||||
(if (display-graphic-p)
|
||||
(enable-theme 'tango)
|
||||
(enable-theme 'wheatgrass))
|
||||
|
|
|
@ -69,7 +69,7 @@ end } })
|
|||
local settings = require "settings"
|
||||
settings.window.home_page = "luakit://newtab"
|
||||
settings.window.close_with_last_tab = true
|
||||
settings.window.search_engines["debian"] = "https://packages.debian.org/search?keywords=%s"
|
||||
--settings.window.search_engines["debian"] = "https://packages.debian.org/search?keywords=%s"
|
||||
settings.window.search_engines["youtube"] = "https://www.youtube.com/results?search_query=%s"
|
||||
settings.window.search_engines["neoitem"] = "https://items.jellyneo.net/search/?name=%s"
|
||||
settings.window.default_search_engine = "duckduckgo"
|
||||
|
|
|
@ -25,11 +25,13 @@ 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:polyglot_disabled = ['latex']
|
||||
map Q gq
|
||||
command Q q
|
||||
command W w
|
||||
|
||||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'https://github.com/sheerun/vim-polyglot.git'
|
||||
Plug 'https://github.com/morhetz/gruvbox.git'
|
||||
Plug 'https://github.com/tpope/vim-abolish.git'
|
||||
Plug 'https://github.com/drmikehenry/vim-fontsize.git'
|
||||
|
|
|
@ -22,6 +22,7 @@ set incremental-search false
|
|||
set highlight-color \#b16286
|
||||
set highlight-active-color \#689d6a
|
||||
set recolor true
|
||||
set recolor-keephue true
|
||||
set recolor-lightcolor \#1d2021
|
||||
set recolor-darkcolor \#ebdbb2
|
||||
set render-loading-bg \#282828
|
||||
|
|
Loading…
Reference in a new issue