Packages
Gnome
Extensions
https://extensions.gnome.org
Sunshine
ReDroid
PCXS2
Wayland
https://arewewaylandyet.com/
Sway
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| {
programs.sway = {
enable = true;
};
services.greetd = {
enable = true;
settings = rec {
command = "${pkgs.sway}/bin/sway";
user = "user";
};
default_session = initial_session;
};
}
|
$mod + Num
- Switch Workspace
$mod + Shift + Num
- Move to workspace
https://i3wm.org/docs/refcard.html
Config
1
2
3
4
| # default config
/etc/sway/config
# user config
~/.config/sway/config
|
Terminal
Waybar
https://i3wm.org/
WayDroid
1
2
3
4
| waydroid prop set persist.waydroid.height 1036
waydroid prop set persist.waydroid.width 640
adb shell wm size 640x1036
waydroid session stop
|
Browser
Firefox
- Addons
- Tree Style Tab (TST)
- Vimium
https://github.com/MrOtherGuy/firefox-csshacks
Chrome
chrome://flags
- Preferred Ozone platform
- Auto
Fcitx
fcitx5-configtool
1
2
3
4
5
6
7
| i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-chinses-addons // 拼音 双拼 五笔
fcitx5-rime // alternative
];
};
|
IBus
Rime
Theme
catppuccin
https://github.com/catppuccin/catppuccin
Icons
icon path: <home-path>/share/icons
Cursors
https://www.gnome-look.org/browse?cat=107
Cloudflare
WARP
1
2
3
4
5
| sudo warp-svc
warp-cli register
warp-cli connect
warp-cli status
|
WiFi
- nmtui
- nmtui-connect
- nmcli
- nmcli dev wifi list
AppImage
1
2
3
| nix-env -iA nixos.appimage-run
appimage-run App.AppImage
|
KVM
Tips
suspend
1
2
| # suspend
sudo systemctl suspend
|
Gaming
1
2
3
4
5
| # game
hardware.opengl = {
enable = true;
driSupport32Bit = true;
}
|
List fonts
Sensors
1
2
3
| # sensors
nix-shell -p lm_sensors
sensors
|