simple-awesome/default_config.lua

44 lines
1.1 KiB
Lua
Raw Normal View History

-- Default configuration file
-- Copy to TBD to override values. This file will be overridden on update.
local awful = require("awful")
local naughty = require("naughty")
local config = {}
2019-07-24 11:32:27 +02:00
-- General
config.modkey = "Mod4"
-- Terminal
config.terminal = "terminator"
-- Theme
-- Change to gears.filesystem.get_themes_dir() .. "default/theme.lua" to use default awesome theme
config.theme = awful.util.getdir("config") .. "/default_theme.lua"
-- Screenshot utility
config.screenshot_utility_command = "flameshot gui"
config.screenshot_utility_auto_start = true
config.screenshot_utility_auto_start_command = "flameshot"
-- Keyboard layout
config.kbSwitchCmd = "setxkbmap"
config.kbLayouts = { "fr", "us" }
-- Run menu
config.runMenu = "rofi -show run -config " .. awful.util.getdir("config") .. "/rofi/themes/paper-float.rasi"
config.windowSwitcher = "rofi -show window -config " .. awful.util.getdir("config") .. "/rofi/themes/paper-float.rasi"
-- Media control
config.volume_osd_timeout = 2
-- System resources widget
config.system_resources_widget_refresh_interval = 1.5 -- In seconds
-- Awesome tweaks
naughty.config.defaults.timeout = 15
return config