This repository was archived by the owner on Aug 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrc.lua
More file actions
44 lines (38 loc) · 1.26 KB
/
rc.lua
File metadata and controls
44 lines (38 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
-- Load luarocks if installed, otherwise do nothing
pcall(require, "luarocks.loader")
-- Autofocus and hotkeys_popup
require("awful.hotkeys_popup.keys")
require("awful.autofocus")
-- AwesomeWM modules
local gears = require("gears")
local beautiful = require("beautiful")
local dpi = require("beautiful.xresources").apply_dpi
-- Initialize theme
beautiful.init(gears.filesystem.get_configuration_dir() .. "ui/theme.lua")
-- Variables --
-- Screenshot directory
screenshot_path = os.getenv("HOME") .. "/Pictures/Screenshots/"
-- Terminal emulator
terminal = "alacritty"
-- Editor. This will be run directly
editor = "emacsclient -c"
-- Modkey. Can either be Mod4 (Super) or Mod1 (Alt)
modkey = "Mod4"
-- File manager, will be run directly
file_manager = terminal .. " -e ranger"
-- Music player, will be run directly
music_player = terminal .. " -e ncmpcpp"
-- Web browser
browser = "qutebrowser"
-- System monitor
monitor = terminal .. " -e btm"
-- Chat client
chat = "discord-canary --no-sandbox --ignore-gpu-blocklist --disable-features=UseOzonePlatform --enable-features=VaapiVideoDecoder --use-gl=desktop --enable-gpu-rasterization --enable-zero-copy"
-- PDF Viewer
pdf = "zathura"
-- Screen locker
locker = "slock"
-- User modules
require("utilities")
require("ui")
require("keymaps")