1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 11:12:31 +00:00

set default rc.lua settings for terminal and editor; https://github.com/awesomeWM/awesome/issues/1810

This commit is contained in:
Luke Bonham 2017-06-07 11:57:22 +02:00
parent 07b3947464
commit df5c1670ae

View file

@ -7,7 +7,7 @@
--]] --]]
-- {{{ Required libraries -- {{{ Required libraries
local awesome, client, screen, tag = awesome, client, screen, tag local awesome, client, mouse, screen, tag = awesome, client, mouse, screen, tag
local ipairs, string, os, table, tostring, tonumber, type = ipairs, string, os, table, tostring, tonumber, type local ipairs, string, os, table, tostring, tonumber, type = ipairs, string, os, table, tostring, tonumber, type
local gears = require("gears") local gears = require("gears")
@ -55,15 +55,15 @@ local function run_once(cmd_arr)
end end
end end
run_once({ "urxvtd", "unclutter -root" }) run_once({ "unclutter -root" }) -- entries must be comma-separated
-- }}} -- }}}
-- {{{ Variable definitions -- {{{ Variable definitions
local chosen_theme = "multicolor" local chosen_theme = "multicolor"
local modkey = "Mod4" local modkey = "Mod4"
local altkey = "Mod1" local altkey = "Mod1"
local terminal = "urxvtc" or "xterm" local terminal = "xterm"
local editor = os.getenv("EDITOR") or "nano" or "vi" local editor = os.getenv("EDITOR") or "nano"
local gui_editor = "gvim" local gui_editor = "gvim"
local browser = "firefox" local browser = "firefox"