moved my laptop config here & added tstab
This commit is contained in:
1 parent
aec5f723e3
commit
ccd4eb8607
5 files changed
+94
-42
No files matched your search
@@ -4,7 +4,15 @@ monitor=,preferred,auto,auto
|
|||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
# Execute your favorite apps at launch
|
# Execute your favorite apps at launch
|
||||||
# exec-once = waybar & hyprpaper & firefox
|
# exec-once = waybar & hyprpaper & firefox
|
||||||
exec-once = waybar & dunst & firefox & kitty
|
exec-once = waybar & dunst
|
||||||
|
exec-once = lxqt-policykit-agent
|
||||||
|
|
||||||
|
# Window rules
|
||||||
|
windowrulev2 = float,class:(lxqt-policykit-agent)
|
||||||
|
windowrulev2 = fullscreen,class:(Code)
|
||||||
|
windowrulev2 = fullscreen,class:(firefox)
|
||||||
|
windowrulev2 = fakefullscreen, class:^(code-url-handler)$
|
||||||
|
|
||||||
# Some default env vars.
|
# Some default env vars.
|
||||||
env = XCURSOR_SIZE,24
|
env = XCURSOR_SIZE,24
|
||||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||||
@@ -13,6 +21,7 @@ input {
|
|||||||
follow_mouse = 1
|
follow_mouse = 1
|
||||||
touchpad {
|
touchpad {
|
||||||
natural_scroll = yes
|
natural_scroll = yes
|
||||||
|
clickfinger_behavior = yes
|
||||||
}
|
}
|
||||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||||
}
|
}
|
||||||
@@ -143,5 +152,3 @@ bind = $mainMod, mouse_up, workspace, e-1
|
|||||||
bindm = $mainMod, mouse:272, movewindow
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
# Window Rules
|
|
||||||
windowrulev2=fakefullscreen, class:^(code-url-handler)$
|
|
||||||
@@ -2,9 +2,9 @@
|
|||||||
{
|
{
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"position": "top",
|
"position": "top",
|
||||||
"spacing": 4, // Gaps between modules (4px)
|
"spacing": 8, // Gaps between modules (4px)
|
||||||
|
"reload_style_on_change": true,
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"keyboard-state",
|
|
||||||
"hyprland/workspaces"
|
"hyprland/workspaces"
|
||||||
// "hyprland/submap"
|
// "hyprland/submap"
|
||||||
],
|
],
|
||||||
@@ -13,17 +13,28 @@
|
|||||||
// "power-profiles-daemon"
|
// "power-profiles-daemon"
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
|
"group/indicators"
|
||||||
// "mpd",
|
// "mpd",
|
||||||
// "idle_inhibitor",
|
// "idle_inhibitor",
|
||||||
// "pulseaudio",
|
|
||||||
"network",
|
|
||||||
"cpu",
|
|
||||||
"memory",
|
|
||||||
"temperature",
|
|
||||||
// "backlight",
|
// "backlight",
|
||||||
"battery"
|
|
||||||
// "tray"
|
// "tray"
|
||||||
],
|
],
|
||||||
|
"group/indicators": {
|
||||||
|
"orientation": "orthogonal",
|
||||||
|
"drawer": {
|
||||||
|
"transition-duration": 500,
|
||||||
|
"transition-left-to-right": true
|
||||||
|
},
|
||||||
|
"modules": [
|
||||||
|
"battery",
|
||||||
|
"network",
|
||||||
|
"cpu",
|
||||||
|
"memory",
|
||||||
|
"temperature",
|
||||||
|
"keyboard-state",
|
||||||
|
"pulseaudio"
|
||||||
|
]
|
||||||
|
},
|
||||||
"keyboard-state": {
|
"keyboard-state": {
|
||||||
"numlock": true,
|
"numlock": true,
|
||||||
"capslock": true,
|
"capslock": true,
|
||||||
@@ -125,7 +136,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
||||||
"format-wifi": "{essid} ({signalStrength}%) ",
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||||
"format-ethernet": "{ipaddr}/{cidr} ",
|
"format-ethernet": "{ipaddr}/{cidr} ",
|
||||||
"tooltip-format": "{ifname} via {gwaddr} ",
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||||
|
|||||||
+13
-14
@@ -1,17 +1,16 @@
|
|||||||
/* @import "macchiato.css";*/
|
@import "mocha.css";
|
||||||
|
|
||||||
/** {
|
|
||||||
color: @text;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
/*window#waybar {
|
|
||||||
background-color: shade(@base, 0.9);
|
|
||||||
border: 2px solid alpha(@crust, 0.3);
|
|
||||||
padding-left: 1em;
|
|
||||||
padding-right: 1em;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: "Arimo Nerd Font", "Font Awesome 6 Free";
|
color: @text;
|
||||||
|
font-family: "Arimo Nerd Font", "Font Awesome 6 Free";
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
font-size: 13px;
|
||||||
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background-color: shade(@base, 0.9);
|
||||||
|
border: 2px solid alpha(@crust, 0.3);
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
{ pkgs, config, ... }:
|
||||||
|
let
|
||||||
|
user = {
|
||||||
|
name = "ari";
|
||||||
|
fullName = "Ari Sosnovsky";
|
||||||
|
email = "ariel@sosnovsky.ca";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
imports =
|
||||||
|
[
|
||||||
|
/etc/nixos/cachix.nix
|
||||||
|
<nixos-hardware/framework/13-inch/7040-amd>
|
||||||
|
(import /home/ari/nixos-setup/main.nix {
|
||||||
|
enableFingerPrint = true;
|
||||||
|
hostName = "fwbook";
|
||||||
|
user = user;
|
||||||
|
})
|
||||||
|
/home/ari/nixos-setup/modules/optional/amd-packages.nix
|
||||||
|
/home/ari/nixos-setup/modules/optional/gnome.nix
|
||||||
|
(import /home/ari/nixos-setup/modules/optional/hyprland.nix {
|
||||||
|
user = user;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
hardware.framework.amd-7040.preventWakeOnAC = true;
|
||||||
|
services.fwupd.enable = true;
|
||||||
|
fileSystems."/mnt/Data" = {
|
||||||
|
device = "/dev/sda1";
|
||||||
|
fsType = "ext4";
|
||||||
|
options = [
|
||||||
|
"users"
|
||||||
|
"nofail"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -8,27 +8,28 @@
|
|||||||
xdg-desktop-portal-hyprland
|
xdg-desktop-portal-hyprland
|
||||||
dunst
|
dunst
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
lxqt.lxqt-policykit
|
||||||
];
|
];
|
||||||
services.mpd.enable = true;
|
services.mpd.enable = true;
|
||||||
services.pipewire.enable = true;
|
services.pipewire.enable = true;
|
||||||
services.pipewire.wireplumber.enable = true;
|
services.pipewire.wireplumber.enable = true;
|
||||||
security.polkit.enable = true;
|
# security.polkit.enable = true;
|
||||||
users.users.${user.name}.extraGroups = [
|
users.users.${user.name}.extraGroups = [
|
||||||
"input"
|
"input"
|
||||||
];
|
];
|
||||||
systemd = {
|
# systemd = {
|
||||||
user.services.polkit-gnome-authentication-agent-1 = {
|
# user.services.polkit-gnome-authentication-agent-1 = {
|
||||||
description = "polkit-gnome-authentication-agent-1";
|
# description = "polkit-gnome-authentication-agent-1";
|
||||||
wantedBy = [ "graphical-session.target" ];
|
# wantedBy = [ "graphical-session.target" ];
|
||||||
wants = [ "graphical-session.target" ];
|
# wants = [ "graphical-session.target" ];
|
||||||
after = [ "graphical-session.target" ];
|
# after = [ "graphical-session.target" ];
|
||||||
serviceConfig = {
|
# serviceConfig = {
|
||||||
Type = "simple";
|
# Type = "simple";
|
||||||
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
# ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
||||||
Restart = "on-failure";
|
# Restart = "on-failure";
|
||||||
RestartSec = 1;
|
# RestartSec = 1;
|
||||||
TimeoutStopSec = 10;
|
# TimeoutStopSec = 10;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user