mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2025-10-09 16:21:54 +05:30
Compare commits
2 Commits
333e87796e
...
6b592db797
Author | SHA1 | Date | |
---|---|---|---|
6b592db797
|
|||
7ce463a1b9
|
@@ -71,10 +71,10 @@ reboot
|
||||
| DM | ly | ly |
|
||||
| WM/DE | Hyprland | AwesomeWM |
|
||||
| Compositor | Hyprland | Picom (Jonaburg) |
|
||||
| Bar | Astal | Wibar |
|
||||
| Bar | AGS | Wibar |
|
||||
| Hotkeys | Hyprland | Awful |
|
||||
| Launcher | Astal | Rofi |
|
||||
| Notifications | Astal | Naughty |
|
||||
| Launcher | AGS | Rofi |
|
||||
| Notifications | AGS | Naughty |
|
||||
| Terminal | Wezterm | Wezterm |
|
||||
| Editor | Neovim | Neovim |
|
||||
|
||||
|
40
flake.lock
generated
40
flake.lock
generated
@@ -9,11 +9,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1744557573,
|
||||
"narHash": "sha256-XAyj0iDuI51BytJ1PwN53uLpzTDdznPDQFG4RwihlTQ=",
|
||||
"lastModified": 1758577685,
|
||||
"narHash": "sha256-iHT0kvsQJG+Z89quGi7rNCXEg2e3DBGfuuCMu/UwiIo=",
|
||||
"owner": "aylur",
|
||||
"repo": "ags",
|
||||
"rev": "3ed9737bdbc8fc7a7c7ceef2165c9109f336bff6",
|
||||
"rev": "aa7a8a2dd6e54aaeb4e13a73ed3bc2283995090b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -64,32 +64,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1742571008,
|
||||
"narHash": "sha256-5WgfJAeBpxiKbTR/gJvxrGYfqQRge5aUDcGKmU1YZ1Q=",
|
||||
"lastModified": 1756474652,
|
||||
"narHash": "sha256-iiBU6itpEqE0spXeNJ3uJTfioSyKYjt5bNepykpDXTE=",
|
||||
"owner": "aylur",
|
||||
"repo": "astal",
|
||||
"rev": "dc0e5d37abe9424c53dcbd2506a4886ffee6296e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "aylur",
|
||||
"repo": "astal",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"astal_2": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"tpanel",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1748416910,
|
||||
"narHash": "sha256-FEQcs58HL8Fe4i7XlqVEUwthjxwvRvgX15gTTfW17sU=",
|
||||
"owner": "aylur",
|
||||
"repo": "astal",
|
||||
"rev": "c1bd89a47c81c66ab5fc6872db5a916c0433fb89",
|
||||
"rev": "20bd8318e4136fbd3d4eb2d64dbabc3acbc915dd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -1637,17 +1616,16 @@
|
||||
"tpanel": {
|
||||
"inputs": {
|
||||
"ags": "ags",
|
||||
"astal": "astal_2",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1754642875,
|
||||
"narHash": "sha256-BdLzQs/SAgHOjTWYkT7slWJA/cHyRkkbJMsao8MjKGY=",
|
||||
"lastModified": 1758716276,
|
||||
"narHash": "sha256-Mjgz99PtgDqCkNC+ey2TRKuik0Nj/Npak4mWo7ovYH4=",
|
||||
"owner": "tuxdotrs",
|
||||
"repo": "tpanel",
|
||||
"rev": "6437cad6202b9398babc1dab8b74bc6217d35b7f",
|
||||
"rev": "ae3bc364be2d2782a5bae54aa834a8c88846ed57",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@@ -4,7 +4,7 @@
|
||||
./hyprpaper.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [astal];
|
||||
home.packages = with pkgs; [ags];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
@@ -192,7 +192,7 @@
|
||||
bind = [
|
||||
# apps
|
||||
"SUPER, Return, exec, ${terminal}"
|
||||
"SUPER, A, exec, astal -t app-launcher"
|
||||
"SUPER, A, exec, ags toggle launcher"
|
||||
"SUPER, F, exec, ${filemanager}"
|
||||
"SUPER, E, exec, ${editor}"
|
||||
"SUPER, B, exec, ${browser}"
|
||||
@@ -204,9 +204,9 @@
|
||||
"SUPER_SHIFT, Return, exec, ${floating_terminal}"
|
||||
"SUPER_SHIFT, S, exec, flameshot gui"
|
||||
|
||||
# astal
|
||||
"SUPER_SHIFT, R, exec, astal -q; ${pkgs.tpanel}/bin/tpanel"
|
||||
"SUPER_SHIFT, B, exec, astal toggle-bar"
|
||||
# ags
|
||||
"SUPER_SHIFT, R, exec, ags quit; ${pkgs.tpanel}/bin/tpanel"
|
||||
"SUPER_SHIFT, B, exec, ags toggle bar"
|
||||
|
||||
# hyprland
|
||||
"SUPER, Q, killactive"
|
||||
|
@@ -9,19 +9,19 @@
|
||||
(pkgs.writeShellScriptBin "mirror-display" ''
|
||||
hyprctl keyword monitor "eDP-1,2560x1440@90,0x0,1" \
|
||||
&& hyprctl keyword monitor "HDMI-A-1,preferred,0x0,1,mirror,eDP-1" \
|
||||
&& astal -q \
|
||||
&& ags quit \
|
||||
&& ${pkgs.tpanel}/bin/tpanel &
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "extend-display" ''
|
||||
hyprctl keyword monitor "eDP-1,2560x1440@90,0x0,1" \
|
||||
&& hyprctl keyword monitor "HDMI-A-1,preferred,0x-1440,1" \
|
||||
&& astal -q \
|
||||
&& ags quit \
|
||||
&& ${pkgs.tpanel}/bin/tpanel &
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "dock-display" ''
|
||||
hyprctl keyword monitor "eDP-1,disable" \
|
||||
&& hyprctl keyword monitor "HDMI-A-1,preferred,0x0,1" \
|
||||
&& astal -q \
|
||||
&& ags quit \
|
||||
&& ${pkgs.tpanel}/bin/tpanel &
|
||||
'')
|
||||
];
|
||||
|
@@ -7,7 +7,7 @@
|
||||
tawm = inputs.tawm.packages.${prev.system}.default;
|
||||
tnvim = inputs.tnvim.packages.${prev.system}.default;
|
||||
tpanel = inputs.tpanel.packages.${prev.system}.default;
|
||||
astal = inputs.tpanel.packages.${prev.system}.astal.default;
|
||||
ags = inputs.tpanel.packages.${prev.system}.ags.default;
|
||||
tfolio = inputs.tfolio.packages.${prev.system}.default;
|
||||
trok = inputs.trok.packages.${prev.system}.default;
|
||||
cyber-tux = inputs.cyber-tux.packages.${prev.system}.default;
|
||||
|
Reference in New Issue
Block a user