Skip to content

Commit c3e7ad2

Browse files
committed
Fuck ton of updates
1 parent f07e590 commit c3e7ad2

20 files changed

+241
-83
lines changed

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,25 @@ This repository contains my NixOS system configurations. It is not meant to be f
66
## Installation:
77
Please note that unless you have an AMD GPU, a 165Hz monitor, the same username, and the same disk name as I do, you might need to do some hacking. As of now, I have not rewritten the installation instructions to take Flakes into account.
88

9+
## Neat features
10+
- Monitor brightness control on desktop with `ddcutil` laptop panels untested
11+
- Local LLM intergration with Ollama
12+
- Consistant QT and GTK themes
13+
- Customized and debloated Firefox
14+
- Adblocking hosts file
15+
- Screenlocking with display dimming to warn
16+
- Media control volume menu
17+
- IME input support
18+
919
## TODO:
1020
- Rewrite instructions
11-
- Finalize NeoVim configs
12-
- Look into VimWiki
21+
- Finalize Neovim configs
22+
- Look into Vimwiki
1323
- Write configs for laptop "server" for some kind of file server and sync
14-
- Add hosts file back, maybe with a Systemd job to update them
1524
- Look into disabling the 2nd display when in TTY
1625
- Later look into replacing login manager with Cosmic one if it becomes viable
1726
- Consider switching to Cosmic completely when it's fully out and has good Nix support
1827
- Organize code
1928
- Generally clean code
29+
- Fix bar sometimes displaying workspaces in wrong order
30+
- Add quick settings

configuration.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ in {
2626
./graphical/fonts.nix
2727
./graphical/virt-manager.nix
2828
./graphical/unconfigured.nix
29+
./graphical/emulators.nix
2930
./graphical/steam.nix
3031
./graphical/wpaperd.nix
3132
./graphical/satty.nix
@@ -42,6 +43,7 @@ in {
4243
./misc/shell-scripts/satty-shot.nix
4344
./misc/shell-scripts/sha256-from-url.nix
4445
./misc/shell-scripts/llm-actions.nix
46+
./misc/shell-scripts/brightness-ctrl.nix
4547
./misc/default-programs.nix
4648
./misc/kernel.nix
4749
./services/ollama.nix

flake.lock

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

graphical/ags/config/config.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@ import { NotificationPopups } from "./notificationPopups.js"
1616
const date = Variable("", {
1717
poll: [1000, () => {
1818
const now = new Date();
19-
return `${now.getHours()}:${now.getMinutes()}:${now.getSeconds()} ${now.toLocaleString('default', { month: 'short' })} ${now.getDate()}.`;
19+
const hours = (now.getHours() % 12) || 12; // Convert 0 to 12
20+
const period = now.getHours() >= 12 ? 'PM' : 'AM';
21+
const minutes = now.getMinutes().toString().padStart(2, '0');
22+
return `${hours}:${minutes} ${period}, ${now.toLocaleString('default', { month: 'short' })} ${now.getDate()} `;
2023
}],
2124
});
2225

26+
2327
function Workspaces(monitor) {
2428
const activeId = hyprland.active.workspace.bind("id")
2529
const workspaces = hyprland.bind("workspaces")
@@ -114,8 +118,8 @@ function Bar(monitor = 0) {
114118
name: `bar-${monitor}`, // name has to be unique
115119
class_name: "bar",
116120
monitor,
117-
anchor: ["bottom", "left", "right"],
118-
margins: [0, 10, 8, 10],
121+
anchor: ["top", "left", "right"],
122+
margins: [4, 8, 0, 8],
119123
exclusivity: "exclusive",
120124
child: Widget.CenterBox({
121125
start_widget: Left(monitor),
@@ -131,7 +135,7 @@ App.config({
131135
Bar(0),
132136
Bar(1),
133137
Shade,
134-
NotificationPopups(),
138+
NotificationPopups(1),
135139
],
136140
})
137141

graphical/ags/config/style.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ window.bar {
22
background-color: alpha(#1e1e2e, 0.9);
33
color: #cdd6f4;
44
font-family: "iosevka Nerd Font";
5-
border-radius: 8px;
6-
border: 2px solid #74c7ec;
5+
border-radius: 99px;
6+
border: 2px solid #f38ba8;
77
}
88

99
button {
1010
background-color: transparent;
1111
color: #cdd6f4;
12+
border-radius: 99px;
1213
}
1314

1415
button:active {
@@ -20,7 +21,7 @@ label {
2021
}
2122

2223
.workspaces button.focused {
23-
background-color: #74c7ec;
24+
background-color: #f38ba8;
2425
color: #1e1e2e;
2526
}
2627

@@ -47,7 +48,7 @@ highlight {
4748
color: #cdd6f4;
4849
font-family: "iosevka Nerd Font";
4950
border-radius: 8px;
50-
border: 2px solid #74c7ec;
51+
border: 2px solid #f38ba8;
5152
}
5253

5354
.player .img {
@@ -164,7 +165,7 @@ window.notification-popups box.notifications {
164165
color: #cdd6f4;
165166
font-family: "iosevka Nerd Font";
166167
border-radius: 8px;
167-
border: 2px solid #74c7ec;
168+
border: 2px solid #f38ba8;
168169
}
169170

170171
.notification.critical {

graphical/emulators.nix

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{pkgs, ...}: {
2+
environment.systemPackages = with pkgs; [
3+
duckstation
4+
pcsx2
5+
rpcs3
6+
ppsspp
7+
mupen64plus
8+
dolphin
9+
cemu
10+
sameboy
11+
mgba
12+
snes9x
13+
melonDS
14+
mednafen
15+
flycast
16+
ares
17+
xemu
18+
];
19+
}

graphical/firefox-uistate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"placements":{"widget-overflow-fixed-list":[],"unified-extensions-area":["_34daeb50-c2d2-4f14-886a-7160b24d66a4_-browser-action","_6b733b82-9261-47ee-a595-2dda294a4d08_-browser-action","_762f9885-5a13-4abd-9c77-433dcd38b8fd_-browser-action","_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-browser-action","_a2503cd4-4083-4c2f-bef2-37767a569867_-browser-action","_aecec67f-0d10-4fa7-b7c7-609a2db280cf_-browser-action"],"nav-bar":["back-button","forward-button","stop-reload-button","urlbar-container","save-to-pocket-button","search-container","downloads-button","ublock0_raymondhill_net-browser-action","unified-extensions-button"],"toolbar-menubar":["menubar-items"],"TabsToolbar":["tabbrowser-tabs","new-tab-button","alltabs-button"],"PersonalToolbar":["personal-bookmarks"]},"seen":["ublock0_raymondhill_net-browser-action","_34daeb50-c2d2-4f14-886a-7160b24d66a4_-browser-action","_6b733b82-9261-47ee-a595-2dda294a4d08_-browser-action","_762f9885-5a13-4abd-9c77-433dcd38b8fd_-browser-action","_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-browser-action","_a2503cd4-4083-4c2f-bef2-37767a569867_-browser-action","_aecec67f-0d10-4fa7-b7c7-609a2db280cf_-browser-action","developer-button"],"dirtyAreaCache":["unified-extensions-area","nav-bar","TabsToolbar","toolbar-menubar","PersonalToolbar"],"currentVersion":20,"newElementCount":4}
1+
{"placements":{"widget-overflow-fixed-list":[],"unified-extensions-area":["sponsorblocker_ajay_app-browser-action","_34daeb50-c2d2-4f14-886a-7160b24d66a4_-browser-action","_6b733b82-9261-47ee-a595-2dda294a4d08_-browser-action","_762f9885-5a13-4abd-9c77-433dcd38b8fd_-browser-action","_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-browser-action","_a2503cd4-4083-4c2f-bef2-37767a569867_-browser-action","_aecec67f-0d10-4fa7-b7c7-609a2db280cf_-browser-action","firefoxcolor_mozilla_com-browser-action","jid1-tsgsxbhncspbwq_jetpack-browser-action","_5cce4ab5-3d47-41b9-af5e-8203eea05245_-browser-action"],"nav-bar":["back-button","forward-button","stop-reload-button","urlbar-container","save-to-pocket-button","search-container","downloads-button","ublock0_raymondhill_net-browser-action","unified-extensions-button"],"toolbar-menubar":["menubar-items"],"TabsToolbar":["tabbrowser-tabs","new-tab-button","alltabs-button"],"PersonalToolbar":["personal-bookmarks"]},"seen":["ublock0_raymondhill_net-browser-action","_34daeb50-c2d2-4f14-886a-7160b24d66a4_-browser-action","_6b733b82-9261-47ee-a595-2dda294a4d08_-browser-action","_762f9885-5a13-4abd-9c77-433dcd38b8fd_-browser-action","_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-browser-action","_a2503cd4-4083-4c2f-bef2-37767a569867_-browser-action","_aecec67f-0d10-4fa7-b7c7-609a2db280cf_-browser-action","developer-button","firefoxcolor_mozilla_com-browser-action","jid1-tsgsxbhncspbwq_jetpack-browser-action","_5cce4ab5-3d47-41b9-af5e-8203eea05245_-browser-action","sponsorblocker_ajay_app-browser-action"],"dirtyAreaCache":["unified-extensions-area","nav-bar","TabsToolbar","toolbar-menubar","PersonalToolbar"],"currentVersion":20,"newElementCount":4}

graphical/fuzzel.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ in {
2222
background=1e1e2ee6
2323
text=cdd6f4ff
2424
selection-text=181825ff
25-
selection=74c7ecff
26-
border=74c7ecff
25+
selection=f38ba8ff
26+
border=f38ba8ff
2727
2828
[border]
2929
radius=8

0 commit comments

Comments
 (0)