blob: 9fb287433bc47f4edc17087cf7437980bd37d92a (
plain) (
blame)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
devilspie2
find-cursor
xed-editor
sxhkd # hotkeys
peek # simple video recorder
birdtray # thunderbird on the tray
pdfpc # PDF multi-monitor presenting
glava # video visualiser
#== X11 tools ==#
xev # print events in terminal
xhost # manage host/user names, allowed xserver access
xclip # access X11 clipboard from command-line
clipnotify # notify on text selection events
xdotool # simulate keyboard & mouse activity
xmodmap # modify keymaps
setxkbmap # configure keymaps
xcape # configure modifier keys
xfontsel # browse and preview fonts
xprop # display and set window and font properties
xwininfo # print information about a window
wmctrl # manage windows
#== Terminal emulators ==#
terminator
xterm
#== Configuration ==#
feh
arandr
pavucontrol
piper
#== Files and filesystems ==#
gparted
qdirstat
timeshift
];
services.ratbagd.enable = true;
systemd.user.services = {
devilspie2 = {
description = "devilspie2 runner";
wantedBy = [ "graphical-session.target" ];
wants = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];
serviceConfig = {
ExecStart = "${pkgs.devilspie2}/bin/devilspie2";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
};
};
services.xserver = {
# xkbmap
xkb.layout = "us,bg-custom";
xkb.variant = ",phonetic-nonstandard";
xkb.options = "grp:rwin_toggle,grp:alt_shift_toggle,lv3:switch,caps:escape";
xkb.extraLayouts.bg-custom = {
description = "Non-standard variant of the traditional Bulgarian phonetic keyboard, which replaces some characters with their English counterparts";
languages = [ "bg" ];
symbolsFile = ../../packages/bg-custom;
};
};
}
|