7 Commits
Author SHA1 Message Date
github-actions[bot] 3a51d3c14a Merge pull request #41 from tomasriveral/desktop
Weekly sync: desktop → main
2026-09-09 17:34:49 +00:00
github-actions[bot] bc5f00cf1d Merge pull request #40 from tomasriveral/desktop
Weekly sync: desktop → main
2026-08-26 14:42:32 +00:00
github-actions[bot] 98bc46e67f Merge pull request #38 from tomasriveral/desktop
Weekly sync: desktop → main
2026-08-12 14:55:44 +00:00
github-actions[bot] 07c2293f77 Merge pull request #37 from tomasriveral/desktop
Weekly sync: desktop → main
2026-08-05 16:00:39 +00:00
github-actions[bot] 7f74878433 Merge pull request #36 from tomasriveral/desktop
Weekly sync: desktop → main
2026-07-29 15:48:25 +00:00
tomasr c235a0a724 Merge pull request #34 from tomasriveral/desktop 2026-07-22 19:55:56 +00:00
tomasr 3fc66623f2 Merge pull request #32 from tomasriveral/desktop
Weekly sync: desktop → main
2026-06-24 16:40:14 -05:00
6 changed files with 11 additions and 40 deletions

No files matched your search

+1
View File
@@ -430,6 +430,7 @@ The macros in the layout generate combinations involving `CTRL`, `ALT`, `SUPER`,
| Row 2, Col 2 | Change audio output (`CTRL + ALT + SHIFT + 0`) | | Row 2, Col 2 | Change audio output (`CTRL + ALT + SHIFT + 0`) |
| Row 2, Col 3 | Special characters (`CTRL + SUPER + 5`) | | Row 2, Col 3 | Special characters (`CTRL + SUPER + 5`) |
| Row 2, Col 4 | Color picker (`CTRL + ALT + 8`) | | Row 2, Col 4 | Color picker (`CTRL + ALT + 8`) |
| Row 3, Col 1 | Pomodoro timer (`CTRL + ALT + 0`) |
| Row 4, Col 1 | Launch Anki (`CTRL + ALT + 9`) | | Row 4, Col 1 | Launch Anki (`CTRL + ALT + 9`) |
The physical layout file contains additional transparent/unused positions, but the bindings above are the active shortcuts documented for the macropad. The physical layout file contains additional transparent/unused positions, but the bindings above are the active shortcuts documented for the macropad.
-6
View File
@@ -414,12 +414,6 @@
keyword = "icc epfl courseware"; keyword = "icc epfl courseware";
url = "https://courseware.epfl.ch/learner-dashboard/"; url = "https://courseware.epfl.ch/learner-dashboard/";
} }
{
name = "Detexify";
tags = ["draw" "Latex" "symbols"];
keyword = "draw latex symbols";
url = "https://detexify.kirelabs.org/";
}
]; ];
}; };
search = { search = {
-2
View File
@@ -11,7 +11,6 @@ _: {
}) })
syswatch syswatch
]; ];
services.fwupd.enable = true; # update device firmware
}; };
flake.nixosModules.hardwareUtils-desktop = {pkgs-unstable, ...}: { flake.nixosModules.hardwareUtils-desktop = {pkgs-unstable, ...}: {
environment.systemPackages = with pkgs-unstable; [ environment.systemPackages = with pkgs-unstable; [
@@ -21,6 +20,5 @@ _: {
}) })
syswatch syswatch
]; ];
services.fwupd.enable = true; # update device firmware
}; };
} }
@@ -9,7 +9,6 @@
self.packages.${pkgs.system}.custom-gitnotify # checks if git is set up self.packages.${pkgs.system}.custom-gitnotify # checks if git is set up
self.packages.${pkgs.system}.custom-checkKdrive # check if kdrive is set up with rclone self.packages.${pkgs.system}.custom-checkKdrive # check if kdrive is set up with rclone
zoom-us zoom-us
telegram-desktop
]; ];
}; };
perSystem = {pkgs, ...}: { perSystem = {pkgs, ...}: {
+9 -29
View File
@@ -1,17 +1,18 @@
{self, ...}: { _: {
flake.nixosModules.epfl = {pkgs, ...}: { flake.nixosModules.epfl = {pkgs, ...}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
openconnect openconnect
self.packages.${pkgs.system}.custom-mountEpflDrive
]; ];
}; };
flake.nixosModules.cs-119l = {pkgs, ...}: let flake.nixosModules.cs-119l = {pkgs, ...}:
user = "tomasr"; let
user = "YOUR_USERNAME";
home = "/home/${user}"; home = "/home/${user}";
src = "${home}/epfl/cs-119l-ICC/"; src = "${home}/epfl/cs-119l-ICC/";
dst = "${home}/kdrive/Travail/2 - Bachelor/BA1/Information, calcul, communication CS-119l/code/"; dst = "${home}/kdrive/Travaille/2 - Bachelor/Information, calcul, communication CS-119l/";
in { in
{
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
vscode-fhs vscode-fhs
]; ];
@@ -22,7 +23,8 @@
Type = "oneshot"; Type = "oneshot";
User = user; User = user;
ExecStart = "${pkgs.rsync}/bin/rsync -a '${src}' '${dst}'"; ExecStart =
"${pkgs.rsync}/bin/rsync -a '${src}' '${dst}'";
}; };
}; };
@@ -40,26 +42,4 @@
}; };
}; };
}; };
perSystem = {pkgs, ...}: {
packages.custom-mountEpflDrive = pkgs.writeShellApplication {
name = "custom-mountEpflDrive";
runtimeInputs = with pkgs; [
rclone
libnotify
];
text = ''
REMOTE_NAME="epfl"
MOUNT_POINT="$HOME/epfl/drive"
if rclone listremotes | rg "^''${REMOTE_NAME}:"; then
echo "Mounting ''${REMOTE_NAME}..."
rclone mount "''${REMOTE_NAME}:" "$MOUNT_POINT" --vfs-cache-mode writes --allow-non-empty &
else
notify-send "rclone mount failed" \
"Remote ''${REMOTE_NAME} not found.\nConfigure rclone and create the dir ~/epfl/drive/ or comment out the exec line in hyprland.lua."
echo "Remote ''${REMOTE_NAME} not found. Configure rclone or comment out the exec line in hyprland.lua."
fi
'';
};
};
} }
+1 -2
View File
@@ -322,7 +322,7 @@ hl.bind(mod .. " + CTRL + 3", hl.dsp.exec_cmd("pavucontrol"))
hl.bind("CTRL + SHIFT + ALT + 0", hl.dsp.exec_cmd("kitty --hold --class \"custom-changeAudioOutput\" --name \"Select audio output\" zsh -c \"custom-changeAudioOutput\"")) hl.bind("CTRL + SHIFT + ALT + 0", hl.dsp.exec_cmd("kitty --hold --class \"custom-changeAudioOutput\" --name \"Select audio output\" zsh -c \"custom-changeAudioOutput\""))
hl.bind(mod .. " + CTRL + 5", hl.dsp.exec_cmd("gnome-characters")) hl.bind(mod .. " + CTRL + 5", hl.dsp.exec_cmd("gnome-characters"))
hl.bind("CTRL + ALT + 8", hl.dsp.exec_cmd("hyprpicker | tee >(wl-copy) | cliphist store")) hl.bind("CTRL + ALT + 8", hl.dsp.exec_cmd("hyprpicker | tee >(wl-copy) | cliphist store"))
-- hl.bind("CTRL + ALT + 0", hl.dsp.exec_cmd("custom-tomato")) hl.bind("CTRL + ALT + 0", hl.dsp.exec_cmd("custom-tomato"))
hl.bind("CTRL + ALT + 2", hl.dsp.exec_cmd("custom-bottom")) hl.bind("CTRL + ALT + 2", hl.dsp.exec_cmd("custom-bottom"))
hl.bind("CTRL + ALT + 9", hl.dsp.exec_cmd("anki")) hl.bind("CTRL + ALT + 9", hl.dsp.exec_cmd("anki"))
@@ -940,7 +940,6 @@ hl.on("hyprland.start", function()
hl.exec_cmd("awww img WALLPAPER/PATH/PLACEHOLDER") hl.exec_cmd("awww img WALLPAPER/PATH/PLACEHOLDER")
hl.exec_cmd("awww-daemon") hl.exec_cmd("awww-daemon")
hl.exec_cmd("custom-checkKdrive && custom-mountkdrive") hl.exec_cmd("custom-checkKdrive && custom-mountkdrive")
hl.exec_cmd("custom-mountEpflDrive")
hl.exec_cmd("custom-gitnotify") hl.exec_cmd("custom-gitnotify")
hl.exec_cmd("sleep 4 & caelestia-shell") hl.exec_cmd("sleep 4 & caelestia-shell")
hl.exec_cmd("sleep 20 && ngcp pull --automatic") hl.exec_cmd("sleep 20 && ngcp pull --automatic")