Laptop specific configs, fingerprint scanner

This commit is contained in:
2025-02-02 16:56:07 +01:00
parent 9da67d058d
commit 1ce7875398
11 changed files with 88 additions and 71 deletions

View File

@ -39,6 +39,7 @@ in
"network"
"systray"
"clock"
"battery"
"notifications"
];
};

View File

@ -7,8 +7,7 @@ in
{
wayland.windowManager.hyprland.settings = {
monitor = [
"DP-1, 3440x1440@175, 0x0, 1"
"DP-3, 3840x2160@60, 3440x0, 1.5, transform, 1"
", 1920x1080@60.05, 0x0, 1"
];
# Autostart
@ -107,11 +106,16 @@ in
kb_layout = common.keymaps.layout;
kb_options = common.keymaps.options;
follow_mouse = 1;
sensitivity = 0; # -1.0 - 1.0, 0 means no modification.
touchpad.natural_scroll = false;
sensitivity = 0.4; # -1.0 - 1.0, 0 means no modification.
touchpad.natural_scroll = true;
};
gestures.workspace_swipe = false;
gestures = {
workspace_swipe = true;
workspace_swipe_distance = 150;
workspace_swipe_min_speed_to_force = 0;
workspace_swipe_cancel_ratio = 0.5;
};
device = {
name = "logitech-g502-hero-gaming-mouse";

View File

@ -15,19 +15,19 @@
"custom/notification",
"tray",
"custom/lock",
"custom/power"
"custom/power",
],
"hyprland/workspaces": {
"disable-scroll": false,
"sort-by-name": true,
"format": " {id} "
"format": " {id} ",
},
"hyprland/window": {
"format": "{initialTitle}"
"format": "{initialTitle}",
},
"tray": {
"icon-size": 21,
"spacing": 10
"spacing": 10,
},
// TODO better music module
"custom/music": {
@ -37,7 +37,7 @@
"tooltip": false,
"exec": "playerctl metadata --format='{{ title }}'",
"on-click": "playerctl play-pause",
"max-length": 50
"max-length": 50,
},
"clock": {
"timezone": "Europe/Oslo",
@ -51,39 +51,39 @@
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
}
"today": "<span color='#ff6699'><b><u>{}</u></b></span>",
},
},
},
"backlight": {
"device": "intel_backlight",
"format": "{icon}",
"format-icons": ["", "", "", "", "", "", "", "", ""]
"format-icons": ["", "", "", "", "", "", "", "", ""],
},
"wireplumber": {
// "scroll-step": 1, // %, can be a float
"format": "{icon} {volume}%",
"format-muted": " ",
"format-icons": {
"default": ["", " ", " "]
"default": ["", " ", " "],
},
"on-click": "pavucontrol"
"on-click": "pavucontrol",
},
"hyprland/language": {
"format-en": "EN",
"format-no": "NO",
"keyboard-name": "logitech-logitech-g710-keyboard",
"on-click": "hyprctl switchxkblayout logitech-logitech-g710-keyboard next"
"on-click": "hyprctl switchxkblayout logitech-logitech-g710-keyboard next",
},
"custom/lock": {
"tooltip": false,
"on-click": "sh -c '(sleep 0.5s; hyprlock)'",
"format": ""
"format": "",
},
"custom/power": {
"tooltip": false,
"on-click": "wlogout &",
"format": " "
"format": " ",
},
"custom/notification": {
"tooltip": false,
@ -96,13 +96,13 @@
"inhibited-notification": "<span foreground='#f38ba8'><sup></sup></span>",
"inhibited-none": "",
"dnd-inhibited-notification": "<span foreground='#f38ba8'><sup></sup></span>",
"dnd-inhibited-none": ""
"dnd-inhibited-none": "",
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
}
"escape": true,
},
}