Compare commits

...

15 Commits

17 changed files with 67 additions and 36 deletions

View File

@@ -71,16 +71,30 @@ reboot
| DM | ly | ly | | DM | ly | ly |
| WM/DE | Hyprland | AwesomeWM | | WM/DE | Hyprland | AwesomeWM |
| Compositor | Hyprland | Picom (Jonaburg) | | Compositor | Hyprland | Picom (Jonaburg) |
| Bar | AGS | Wibar | | Bar | tPanel | Wibar |
| Hotkeys | Hyprland | Awful | | Hotkeys | Hyprland | Awful |
| Launcher | AGS | Rofi | | Launcher | tPanel | Rofi |
| Notifications | AGS | Naughty | | Notifications | tPanel | Naughty |
| Terminal | Wezterm | Wezterm | | Terminal | Wezterm | Wezterm |
| Editor | Neovim | Neovim | | Editor | Neovim | Neovim |
## Showcase ## Showcase
### Desktop ### Desktop Hyprland
![Desktop](https://raw.githubusercontent.com/tuxdotrs/nix-config/refs/heads/main/assets/hyprland/desktop.png)
### tPanel
![tPanel](https://raw.githubusercontent.com/tuxdotrs/nix-config/refs/heads/main/assets/hyprland/tPanel.png)
### Workflow
![Workflow](https://raw.githubusercontent.com/tuxdotrs/nix-config/refs/heads/main/assets/hyprland/workflow.png)
## Showcase
### Desktop AwesomeWM
![2024-08-08_18-33](https://github.com/user-attachments/assets/1cdcc387-0f68-486c-a76c-a36ad2acb78d) ![2024-08-08_18-33](https://github.com/user-attachments/assets/1cdcc387-0f68-486c-a76c-a36ad2acb78d)

View File

Before

Width:  |  Height:  |  Size: 3.2 MiB

After

Width:  |  Height:  |  Size: 3.2 MiB

View File

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

View File

Before

Width:  |  Height:  |  Size: 439 KiB

After

Width:  |  Height:  |  Size: 439 KiB

View File

Before

Width:  |  Height:  |  Size: 487 KiB

After

Width:  |  Height:  |  Size: 487 KiB

View File

Before

Width:  |  Height:  |  Size: 559 KiB

After

Width:  |  Height:  |  Size: 559 KiB

View File

Before

Width:  |  Height:  |  Size: 574 KiB

After

Width:  |  Height:  |  Size: 574 KiB

View File

Before

Width:  |  Height:  |  Size: 645 KiB

After

Width:  |  Height:  |  Size: 645 KiB

BIN
assets/hyprland/desktop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
assets/hyprland/tPanel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 642 KiB

12
flake.lock generated
View File

@@ -1600,11 +1600,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1758191570, "lastModified": 1759575396,
"narHash": "sha256-5Icp/k7LFqoyo/UA0pQXREPnLvZhoaGBha4Kv8sv5X8=", "narHash": "sha256-wFybL+I7KyCsb8g9PvJVmLAiIgFocCbYcH0z4B4V/JM=",
"owner": "tuxdotrs", "owner": "tuxdotrs",
"repo": "tnvim", "repo": "tnvim",
"rev": "f3fc87a1412590563d50bbedd35ff4f0bc5a4b1f", "rev": "13801bd8608abc9903fadcc240b143007d51dc32",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1621,11 +1621,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1759056834, "lastModified": 1759787748,
"narHash": "sha256-NkYSy0VSD6FeTawzypnt+gkN2aLDTbz3X77QluDyUUg=", "narHash": "sha256-88M9+hiXY+C+C9xVLOWcRw1lbuv9bogltFQpYDnHDGo=",
"owner": "tuxdotrs", "owner": "tuxdotrs",
"repo": "tpanel", "repo": "tpanel",
"rev": "0708fc688e6103096bebdc402ec7b539bdb4ca85", "rev": "98203af3e4a034501f0f8dfa7218cfe8a0371e4f",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -244,6 +244,7 @@
}; };
libinput.touchpad.naturalScrolling = true; libinput.touchpad.naturalScrolling = true;
libinput.mouse.accelProfile = "flat";
# To use Auto-cpufreq we need to # To use Auto-cpufreq we need to
# disable TLP because it's enabled by nixos-hardware # disable TLP because it's enabled by nixos-hardware
@@ -291,25 +292,30 @@
asusdConfig.text = '' asusdConfig.text = ''
( (
charge_control_end_threshold: 80, charge_control_end_threshold: 80,
panel_od: false,
mini_led_mode: false,
disable_nvidia_powerd_on_battery: true, disable_nvidia_powerd_on_battery: true,
ac_command: "", ac_command: "",
bat_command: "", bat_command: "",
platform_policy_on_battery: Quiet,
platform_policy_on_ac: Quiet, platform_profile_linked_epp: true,
ppt_pl1_spl: None, platform_profile_on_battery: Quiet,
ppt_pl2_sppt: None, platform_profile_on_ac: Performance,
ppt_fppt: None,
ppt_apu_sppt: None, change_platform_profile_on_battery: true,
ppt_platform_sppt: None, change_platform_profile_on_ac: true,
nv_dynamic_boost: None,
nv_temp_target: None, profile_quiet_epp: Power,
profile_balanced_epp: BalancePower,
profile_custom_epp: Performance,
profile_performance_epp: Performance,
ac_profile_tunings: {},
dc_profile_tunings: {},
armoury_settings: {},
) )
''; '';
profileConfig.text = '' profileConfig.text = ''
( (
active_profile: Balanced, active_profile: Quiet,
) )
''; '';
fanCurvesConfig.text = '' fanCurvesConfig.text = ''
@@ -320,13 +326,13 @@
fan: CPU, fan: CPU,
pwm: (2, 22, 45, 68, 91, 153, 153, 153), pwm: (2, 22, 45, 68, 91, 153, 153, 153),
temp: (55, 62, 66, 70, 74, 78, 78, 78), temp: (55, 62, 66, 70, 74, 78, 78, 78),
enabled: true, enabled: false,
), ),
( (
fan: GPU, fan: GPU,
pwm: (2, 25, 48, 71, 94, 165, 165, 165) pwm: (2, 25, 48, 71, 94, 165, 165, 165),
temp: (55, 62, 66, 70, 74, 78, 78, 78), temp: (55, 62, 66, 70, 74, 78, 78, 78),
enabled: true, enabled: false,
), ),
], ],
performance: [ performance: [
@@ -334,19 +340,19 @@
fan: CPU, fan: CPU,
pwm: (35, 68, 79, 91, 114, 175, 175, 175), pwm: (35, 68, 79, 91, 114, 175, 175, 175),
temp: (58, 62, 66, 70, 74, 78, 78, 78), temp: (58, 62, 66, 70, 74, 78, 78, 78),
enabled: true, enabled: false,
), ),
( (
fan: GPU, fan: GPU,
pwm: (35, 71, 84, 94, 119, 188, 188, 188), pwm: (35, 71, 84, 94, 119, 188, 188, 188),
temp: (58, 62, 66, 70, 74, 78, 78, 78), temp: (58, 62, 66, 70, 74, 78, 78, 78),
enabled: true, enabled: false,
), ),
], ],
quiet: [ quiet: [
( (
fan: CPU, fan: CPU,
pwm: (2, 12, 25, 35, 48, 61, 84, 90), pwm: (2, 12, 22, 35, 45, 58, 79, 79),
temp: (55, 62, 66, 70, 74, 78, 82, 82), temp: (55, 62, 66, 70, 74, 78, 82, 82),
enabled: true, enabled: true,
), ),

View File

@@ -65,6 +65,7 @@
}; };
libinput.touchpad.naturalScrolling = true; libinput.touchpad.naturalScrolling = true;
libinput.mouse.accelProfile = "flat";
blueman.enable = true; blueman.enable = true;

View File

@@ -33,7 +33,7 @@
editor = "wezterm -e nvim"; editor = "wezterm -e nvim";
browser = "brave"; browser = "brave";
spotify = "wezterm start --class wezterm-floating -e spotify_player"; spotify = "wezterm start --class wezterm-floating -e spotify_player";
filemanager = "thunar"; filemanager = "wezterm start --class wezterm-floating -e superfile";
in { in {
#-- Output #-- Output
# See https://wiki.hyprland.org/Configuring/Monitors # See https://wiki.hyprland.org/Configuring/Monitors
@@ -41,15 +41,19 @@
#-- Input: Keyboard, Mouse, Touchpad #-- Input: Keyboard, Mouse, Touchpad
input = { input = {
sensitivity = 0; sensitivity = -0.7;
scroll_method = "2 fg"; scroll_method = "2 fg";
natural_scroll = true;
touchpad = { touchpad = {
natural_scroll = true; natural_scroll = true;
clickfinger_behavior = false; clickfinger_behavior = false;
}; };
}; };
device = {
name = "asue1209:00-04f3:319f-touchpad";
sensitivity = 0;
};
#-- General #-- General
# See https://wiki.hyprland.org/Configuring/Variables # See https://wiki.hyprland.org/Configuring/Variables
general = { general = {
@@ -189,6 +193,11 @@
}; };
}; };
bindm = [
"SUPER,mouse:273,resizewindow"
"SUPER,mouse:272,movewindow"
];
bind = [ bind = [
# apps # apps
"SUPER, Return, exec, ${terminal}" "SUPER, Return, exec, ${terminal}"
@@ -203,11 +212,12 @@
"SUPER_SHIFT, Return, exec, ${floating_terminal}" "SUPER_SHIFT, Return, exec, ${floating_terminal}"
"SUPER_SHIFT, S, exec, flameshot gui" "SUPER_SHIFT, S, exec, flameshot gui"
# ags # tpanel
"SUPER, A, exec, ags toggle launcher" "SUPER, A, exec, ags toggle launcher"
"SUPER, C, exec, ags toggle control-center"
"SUPER_SHIFT, R, exec, ags quit; ${pkgs.tpanel}/bin/tpanel"
"SUPER_SHIFT, B, exec, ags toggle bar" "SUPER_SHIFT, B, exec, ags toggle bar"
"SUPER_SHIFT, C, exec, ags toggle control-center"
"SUPER_SHIFT, W, exec, ags toggle wallpaper-manager"
"SUPER_SHIFT, R, exec, ags quit; ${pkgs.tpanel}/bin/tpanel"
# hyprland # hyprland
"SUPER, Q, killactive" "SUPER, Q, killactive"

View File

@@ -10,7 +10,7 @@
default_open_file_preview = true; default_open_file_preview = true;
show_image_preview = true; show_image_preview = true;
show_panel_footer_info = true; show_panel_footer_info = true;
default_directory = "."; default_directory = "~";
file_size_use_si = false; file_size_use_si = false;
default_sort_type = 0; default_sort_type = 0;
sort_order_reversed = false; sort_order_reversed = false;

View File

@@ -11,7 +11,7 @@ stdenv.mkDerivation {
owner = "datguypiko"; owner = "datguypiko";
repo = "Firefox-Mod-Blur"; repo = "Firefox-Mod-Blur";
rev = "refs/heads/master"; rev = "refs/heads/master";
sha256 = "sha256-zokmzwv+JcGhuX5GMySISE7ErrUz2NL+NYB/74JYi5g="; sha256 = "sha256-uaVko2aOPEixzNrmXNB3tA9MCHdU+/HVOSuJhaMNWcQ=";
}; };
installPhase = '' installPhase = ''