less bloat for vim, fixed awesome configuration
This commit is contained in:
parent
4f0b14dbf0
commit
c02e3dda18
|
@ -25,6 +25,7 @@ URxvt.iso14755: false
|
||||||
URxvt.iso14755_52: false
|
URxvt.iso14755_52: false
|
||||||
URxvt*termName: rxvt-unicode
|
URxvt*termName: rxvt-unicode
|
||||||
|
|
||||||
XTerm*faceName: Fira Code
|
XTerm*faceName: xft:Fira Code:size=10:style=Regular
|
||||||
XTerm*faceSize: 10
|
XTerm*faceSize: 10
|
||||||
|
XTerm.scaleHeight: 0.90
|
||||||
XTerm*termName: xterm-256color
|
XTerm*termName: xterm-256color
|
||||||
|
|
|
@ -7,7 +7,7 @@ local gears = require("gears")
|
||||||
local function factory(args)
|
local function factory(args)
|
||||||
local args = args or {}
|
local args = args or {}
|
||||||
local timeout = args.timeout or 120
|
local timeout = args.timeout or 120
|
||||||
local calluri = args.uri or "https://masa.dy.fi/~masa/testailu/mc_stats_dev/dev_json.php?type=server_status"
|
local calluri = args.uri or "https://masa.dy.fi/api/games/stats/minecraft/?type=server_status"
|
||||||
local minecraft = { widget = wibox.widget.textbox() }
|
local minecraft = { widget = wibox.widget.textbox() }
|
||||||
local settings = args.settings or function() end
|
local settings = args.settings or function() end
|
||||||
local hideempty = args.hideempty or false
|
local hideempty = args.hideempty or false
|
||||||
|
|
|
@ -472,16 +472,18 @@ for i = 1, 9 do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
{description = "toggle focused client on tag #" .. i, group = "tag"}),
|
{description = "toggle focused client on tag #" .. i, group = "tag"})
|
||||||
|
|
||||||
|
)
|
||||||
|
end
|
||||||
|
globalkeys = awful.util.table.join(globalkeys,
|
||||||
|
|
||||||
-- Pulseaudio
|
-- Pulseaudio
|
||||||
awful.key({ any }, "XF86AudioRaiseVolume",
|
awful.key({ any }, "XF86AudioRaiseVolume", function()
|
||||||
function()
|
|
||||||
awful.spawn(string.format("pactl set-sink-volume %s +1%%", volume.device))
|
awful.spawn(string.format("pactl set-sink-volume %s +1%%", volume.device))
|
||||||
volume.update()
|
volume.update()
|
||||||
end,
|
end,
|
||||||
{description = "Raise audio volume", group = "audio"}),
|
{description = "Raise audio volume", group = "audio"}), awful.key({ any }, "XF86AudioLowerVolume", function()
|
||||||
awful.key({ any }, "XF86AudioLowerVolume",
|
|
||||||
function()
|
|
||||||
awful.spawn(string.format("pactl set-sink-volume %s -1%%", volume.device))
|
awful.spawn(string.format("pactl set-sink-volume %s -1%%", volume.device))
|
||||||
volume.update()
|
volume.update()
|
||||||
end,
|
end,
|
||||||
|
@ -500,13 +502,14 @@ for i = 1, 9 do
|
||||||
{description = "unmute audio", group = "audio"}),
|
{description = "unmute audio", group = "audio"}),
|
||||||
awful.key({ modkey }, "Print",
|
awful.key({ modkey }, "Print",
|
||||||
function ()
|
function ()
|
||||||
|
naughty.notify({ preset = naughty.config.presets.info,
|
||||||
|
title = "Screenshot saved!",
|
||||||
|
text = "Nice"})
|
||||||
|
|
||||||
awful.spawn("escrotum \"$(xdg-user-dir PICTURES)/%Y-%m-%d_screenshot.png\"")
|
awful.spawn("escrotum \"$(xdg-user-dir PICTURES)/%Y-%m-%d_screenshot.png\"")
|
||||||
end,
|
end,
|
||||||
function ()
|
|
||||||
end,
|
|
||||||
{description = "Take screenshot", group = "audio"})
|
{description = "Take screenshot", group = "audio"})
|
||||||
)
|
)
|
||||||
end
|
|
||||||
|
|
||||||
clientbuttons = awful.util.table.join(
|
clientbuttons = awful.util.table.join(
|
||||||
awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
|
awful.button({ }, 1, function (c) client.focus = c; c:raise() end),
|
||||||
|
|
16
.vimrc
16
.vimrc
|
@ -4,21 +4,9 @@
|
||||||
" Start plugins
|
" Start plugins
|
||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
" Javascript
|
" Javascript
|
||||||
|
|
||||||
" Plug 'jelera/vim-javascript-syntax' " Replaced by yajs.vim
|
|
||||||
Plug 'pangloss/vim-javascript', {'for': 'javascript'}
|
|
||||||
Plug 'nathanaelkane/vim-indent-guides', {'for': 'javascript'}
|
|
||||||
Plug 'othree/yajs.vim', {'for': 'javascript'}
|
|
||||||
Plug 'gavocanov/vim-js-indent', {'for': 'javascript'}
|
|
||||||
Plug 'digitaltoad/vim-jade', {'for': 'javascript'}
|
|
||||||
Plug 'othree/es.next.syntax.vim', {'for': 'javascript'}
|
|
||||||
Plug 'othree/jsdoc-syntax.vim', {'for': 'javascript'}
|
|
||||||
Plug 'othree/html5.vim',
|
|
||||||
Plug 'heavenshell/vim-jsdoc', {'for': 'javascript'}
|
Plug 'heavenshell/vim-jsdoc', {'for': 'javascript'}
|
||||||
Plug 'othree/javascript-libraries-syntax.vim', {'for': 'javascript'}
|
"Plug 'moll/vim-node', {'for': 'javascript'}
|
||||||
Plug 'moll/vim-node', {'for': 'javascript'}
|
Plug 'sheerun/vim-polyglot'
|
||||||
"Plug 'ternjs/tern_for_vim', {'for': 'javascript'}
|
|
||||||
|
|
||||||
" C/C++
|
" C/C++
|
||||||
"Plug 'majutsushi/tagbar'
|
"Plug 'majutsushi/tagbar'
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# Android
|
# Android
|
||||||
export NDK_ROOT=${HOME}/Sovellukset/AndroidDev/android-ndk-r9d
|
export NDK_ROOT=${HOME}/Sovellukset/android/android-ndk-r9d
|
||||||
export ANT_ROOT=/usr/bin/
|
export ANT_ROOT=/usr/bin/
|
||||||
export ANDROID_SDK_ROOT=${HOME}/Sovellukset/AndroidDev/sdk
|
export ANDROID_SDK_ROOT=${HOME}/Sovellukset/android/sdk
|
||||||
export ANDROID_HOME=${HOME}/Sovellukset/AndroidDev/sdk
|
export ANDROID_HOME=${HOME}/Sovellukset/android/sdk
|
||||||
export PATH=$NDK_ROOT:$PATH
|
export PATH=$NDK_ROOT:$PATH
|
||||||
export PATH=$ANDROID_SDK_ROOT:$PATH
|
export PATH=$ANDROID_SDK_ROOT:$PATH
|
||||||
export PATH=$ANDROID_SDK_ROOT/tools:$PATH
|
export PATH=$ANDROID_SDK_ROOT/tools:$PATH
|
||||||
|
@ -21,6 +21,7 @@ export PATH=$NPM_PACKAGES/bin:$PATH
|
||||||
|
|
||||||
# Local
|
# Local
|
||||||
export PATH=/usr/local/bin:$PATH
|
export PATH=/usr/local/bin:$PATH
|
||||||
|
export PATH=${HOME}/.local/bin:$PATH
|
||||||
|
|
||||||
# Own scripts
|
# Own scripts
|
||||||
export LANXU_SCRIPTS_ROOT=${HOME}/Scripts
|
export LANXU_SCRIPTS_ROOT=${HOME}/Scripts
|
||||||
|
|
Loading…
Reference in New Issue
Block a user