config/dconf/user
config/dconf/user
This is a binary file and will not be displayed.
+20
config/ibus-anthy/engines.xml
+20
config/ibus-anthy/engines.xml
···
1
+
<?xml version="1.0" encoding="utf-8"?><engines>
2
+
<engine>
3
+
<name>anthy</name>
4
+
<language>ja</language>
5
+
<license>GPL</license>
6
+
<author>Peng Huang <shawn.p.huang@gmail.com></author>
7
+
<icon>ibus-anthy</icon>
8
+
<layout>default</layout>
9
+
<layout_variant></layout_variant>
10
+
<layout_option></layout_option>
11
+
<longname translatable="no">Anthy</longname>
12
+
<description>Anthy Input Method</description>
13
+
<rank>99</rank>
14
+
<!-- <hotkeys>Control+space,Zenkaku_Hankaku</hotkeys> -->
15
+
<symbol>あ</symbol>
16
+
<icon_prop_key>InputMode</icon_prop_key>
17
+
<version>1.5.17</version>
18
+
<textdomain>ibus-anthy</textdomain>
19
+
</engine>
20
+
</engines>
+13
-8
config/niri/config.kdl
+13
-8
config/niri/config.kdl
···
87
87
}
88
88
}
89
89
90
-
90
+
spawn-at-startup "pipewire"
91
+
spawn-at-startup "wireplumber"
92
+
spawn-at-startup "pipewire-pulse"
93
+
spawn-at-startup "mpd"
91
94
spawn-at-startup "waybar"
92
95
spawn-at-startup "mako"
93
96
spawn-at-startup "xwayland-satellite"
97
+
spawn-at-startup "ibus start --type wayland"
98
+
94
99
spawn-sh-at-startup "swaybg -m fill -i $(find ~/Pictures/Wallpapers/ -type f | shuf -n1)"
95
100
96
101
hotkey-overlay {
···
161
166
Mod+Shift+Up { move-window-up; }
162
167
Mod+Shift+Right { move-column-right; }
163
168
164
-
Mod+U { focus-workspace-down; }
165
-
Mod+I { focus-workspace-up; }
166
-
Mod+Shift+U { move-column-to-workspace-down; }
167
-
Mod+Shift+I { move-column-to-workspace-up; }
169
+
Mod+I { focus-workspace-down; }
170
+
Mod+U { focus-workspace-up; }
171
+
Mod+Shift+I { move-column-to-workspace-down; }
172
+
Mod+Shift+U { move-column-to-workspace-up; }
168
173
169
174
Mod+1 { focus-workspace 1; }
170
175
Mod+2 { focus-workspace 2; }
···
203
208
Mod+Period { expel-window-from-column; }
204
209
Mod+W { toggle-column-tabbed-display; }
205
210
206
-
Mod+P { screenshot; }
207
-
Mod+Ctrl+Print { screenshot-screen; }
208
-
Mod+Alt+Print { screenshot-window; }
211
+
Mod+P { screenshot-screen write-to-disk=false show-pointer=false; }
212
+
Mod+Alt+P { screenshot; }
213
+
// Mod+Alt+P { screenshot-window write-to-disk=false show-pointer=false; }
209
214
210
215
Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
211
216
+18
-14
config/waybar/config.jsonc
+18
-14
config/waybar/config.jsonc
···
1
+
[
1
2
{
3
+
"include": ["modules.jsonc"],
2
4
"layer": "top",
3
-
"modules-left": ["niri/workspaces"],
4
-
"modules-center": ["niri/window"],
5
-
"modules-right": ["network", "battery", "clock"],
6
-
"network": {
7
-
"interface": "wlan0",
8
-
"format": "{essid}",
9
-
"format-disconnected": "disconnected"
10
-
},
11
-
"battery": {
12
-
"format": "{capacity}% {icon}",
13
-
"format-icons": ["", "", "", "", ""]
14
-
},
15
-
"clock": {
16
-
"format-alt": "{:%a, %d. %b %H:%M}"
5
+
"name": "mini-bar",
6
+
"modules-left": ["custom/aux#custom-aux", "niri/workspaces"],
7
+
"modules-center": ["clock"],
8
+
"modules-right": ["battery"],
9
+
"niri/workspaces": {
10
+
"current-only": true
17
11
}
12
+
},
13
+
{
14
+
"include": ["modules.jsonc"],
15
+
"layer": "top",
16
+
"name": "auxilary-bar",
17
+
"start_hidden": true,
18
+
"modules-left": ["custom/aux#custom-aux", "niri/workspaces"],
19
+
"modules-center": ["mpd"],
20
+
"modules-right": ["tray", "wireplumber", "network", "battery", "clock", "custom/power#custom-power"],
18
21
}
22
+
]
+40
config/waybar/modules.jsonc
+40
config/waybar/modules.jsonc
···
1
+
{
2
+
"custom/aux#custom-aux": {
3
+
"format": "",
4
+
"on-click": "killall -SIGUSR1 waybar"
5
+
},
6
+
"mpd": {
7
+
"format": "{artist} - {album} - {title}",
8
+
"format-stopped": ""
9
+
},
10
+
"wireplumber": {
11
+
"format": "{volume}% {icon}",
12
+
"format-muted": "",
13
+
"format-icons": ["", "", ""]
14
+
},
15
+
"network": {
16
+
"interface": "wlan0",
17
+
"format": "{essid}",
18
+
"format-disconnected": "disconnected"
19
+
},
20
+
"battery": {
21
+
"format": "{capacity}% {icon}",
22
+
"format-icons": ["", "", "", "", ""]
23
+
},
24
+
"clock": {
25
+
"format-alt": "{:%a, %d. %b %H:%M}"
26
+
},
27
+
"custom/power#custom-power": {
28
+
"format": "",
29
+
"tooltip": false,
30
+
"menu": "on-click",
31
+
"menu-file": "~/.config/waybar/power_menu.xml",
32
+
"menu-actions": {
33
+
"lock": "swaylock",
34
+
"suspend": "loginctl suspend",
35
+
"logout": "niri msg action quit",
36
+
"poweroff": "loginctl poweroff",
37
+
"reboot": "loginctl reboot"
38
+
}
39
+
}
40
+
}
+53
-4
config/waybar/style.css
+53
-4
config/waybar/style.css
···
1
1
@import "flexoki-light.css";
2
2
3
+
3
4
* {
4
5
border: none;
5
6
border-radius: 0;
···
14
15
color: @tx;
15
16
}
16
17
17
-
tooltip {
18
+
tooltip,
19
+
menu {
18
20
background: @bg-2;
19
-
border: 1px solid @ui-2;
21
+
border: 3px solid @ui-2;
22
+
color: @tx;
23
+
}
24
+
25
+
tooltip label,
26
+
menuitem {
27
+
color: @tx;
28
+
}
29
+
30
+
menuitem:hover {
31
+
background-color: @gr-2;
32
+
}
33
+
34
+
separatormenuitem {
35
+
padding: 10px 0;
20
36
}
21
37
22
-
tooltip label {
38
+
39
+
#window,
40
+
#mpd,
41
+
#tray{
42
+
padding: 5px 10px;
43
+
background: @ui;
44
+
border-bottom: 3px solid @ui-3;
23
45
color: @tx;
24
46
}
25
47
48
+
#custom-aux,
49
+
#wireplumber,
26
50
#network,
27
51
#battery,
28
52
#clock,
53
+
#custom-power,
29
54
#workspaces button {
30
55
padding: 5px 10px;
31
56
background: @gr-2;
···
33
58
color: @tx;
34
59
}
35
60
61
+
#custom-aux {
62
+
background-color: @cy-2;
63
+
border-bottom-color: @cy;
64
+
color: @tx;
65
+
66
+
padding-right: 16px; /* Accounts for the nerd font icon being wider than usual. */
67
+
margin-right: 4px;
68
+
}
69
+
70
+
#custom-aux:hover {
71
+
background-color: @bl-2;
72
+
border-bottom-color: @bl;
73
+
}
74
+
75
+
#window,
76
+
#tray,
77
+
#wireplumber,
36
78
#network,
37
79
#battery,
38
-
#clock {
80
+
#clock,
81
+
#custom-power {
39
82
margin-left: 4px;
83
+
}
84
+
85
+
window#waybar.empty #window,
86
+
#mpd.stopped {
87
+
background-color: transparent;
88
+
border-color: transparent;
40
89
}
41
90
42
91
#workspaces button {
+36
-3
install.sh
+36
-3
install.sh
···
10
10
doas \
11
11
flatpak \
12
12
vim \
13
-
openssh
13
+
openssh \
14
+
udisks2 \
15
+
gvfs \
16
+
gvfs-archive \
17
+
gvfs-fuse \
18
+
gvfs-afc \
19
+
fuse-openrc
20
+
21
+
# For me to mount iOS devices.
22
+
apk add ifuse --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
23
+
24
+
rc-update add fuse
14
25
15
26
echo 'permit :wheel' > /etc/doas.d/doas.conf
16
27
···
18
29
apk add -y \
19
30
niri \
20
31
font-dejavu \
32
+
font-noto-all \
33
+
font-noto-cjk \
21
34
nerd-fonts-all \
22
35
alacritty \
23
36
nautilus \
24
37
fuzzel \
25
38
mako \
26
-
grim \
27
39
swayidle \
28
40
swaylockd \
29
41
swaybg \
···
35
47
gnome-keyring \
36
48
capitaine-cursors
37
49
50
+
apk add -y \
51
+
pipewire \
52
+
wireplumber \
53
+
pipewire-pulse \
54
+
mpd
55
+
56
+
apk add -y \
57
+
ibus \
58
+
anthy \
59
+
ibus-anthy
60
+
38
61
apk add xwayland-satellite --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/
39
62
40
63
# Create manager
···
52
75
net.ankiweb.Anki \
53
76
dev.vencord.Vesktop \
54
77
org.gnome.Fractal \
55
-
md.obsidian.Obsidian
78
+
md.obsidian.Obsidian \
79
+
io.github.htkhiem.Euphonica \
80
+
org.pulseaudio.pavucontrol \
81
+
de.schmidhuberj.tubefeeder \
82
+
org.kde.kid3
56
83
84
+
# Flatpak configuration
57
85
# Allow Fractal to access gnome-keyring
58
86
flatpak --user override --talk-name=org.freedesktop.secrets org.gnome.Fractal
87
+
# Allow Kid3 to access ~/Music/
88
+
flatpak --user override --filesystem=~/Music/ org.kde.kid3
59
89
60
90
# Icon theme (La Capitaine)
61
91
mkdir -p ~/.icons/
62
92
cd ~/.icons/
63
93
git clone --depth=1 https://github.com/keeferrourke/la-capitaine-icon-theme.git
64
94
cd -
95
+
96
+
gsettings set org.gnome.desktop.interface icon-theme 'la-capitaine-icon-theme'
97
+
gsettings set org.gnome.desktop.interface cursor-theme 'capitaine-cursors-dark'
65
98
66
99
# Wallpaper
67
100
mkdir -p ~/Pictures/Wallpapers/
+7
-5
scripts/rebuild.sh
+7
-5
scripts/rebuild.sh
···
3
3
rm -rf config
4
4
mkdir config
5
5
cp -r \
6
-
~/.config/alacritty \
7
-
~/.config/fuzzel \
8
-
~/.config/mako \
9
-
~/.config/niri \
10
-
~/.config/waybar \
6
+
~/.config/alacritty/ \
7
+
~/.config/dconf/ \
8
+
~/.config/fuzzel/ \
9
+
~/.config/ibus-anthy/ \
10
+
~/.config/mako/ \
11
+
~/.config/niri/ \
12
+
~/.config/waybar/ \
11
13
./config/
12
14
13
15
cp ~/.profile ./profile