resize monitor on laptop

This commit is contained in:
Kopatz
2024-06-10 13:01:23 +02:00
parent c2ec994ce2
commit 1926a153da
2 changed files with 5 additions and 5 deletions

6
flake.lock generated
View File

@@ -840,11 +840,11 @@
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1717250350,
"narHash": "sha256-l7y55WbUrj4NVCzgo3GLmM1Z2HC2uLb8dLUt7FxfI5g=",
"lastModified": 1717980664,
"narHash": "sha256-L+IzjhovTTqOzqLXjrfGFsDPVuCLWZTah+rt7wRkGJ8=",
"owner": "jalil-salame",
"repo": "stylix",
"rev": "03a8c7744903f29f017fabeda833834bd873f956",
"rev": "03f335c8a2de70d46376cd72eb1874f5a8c18a69",
"type": "github"
},
"original": {

View File

@@ -23,7 +23,7 @@ in {
"Unknown-1,disable"
] else if osConfig.networking.hostName == "nix-laptop" then [
# laptop
"eDP-1,3840x2160@60,0x0,2"
"eDP-1,1920x1080@60,0x0,1"
#"DP-3,1920x1080@60,1920x0,1"
",preferred,auto,1,mirror,eDP-1"
] else [
@@ -163,7 +163,7 @@ in {
$mainMod, S, exec, cat ~/songs | shuf -n 1 | sed "s/^/b.p /g" | ${wl-copy}''
"$mainMod, R, exec, ${swww} img $(ls -d /synced/default/dinge/Bg/* | shuf -n 1)"
" , Print, exec, ${grim} -g \"$(${slurp} -d)\" - | ${wl-copy}"
"ALT, SPACE, exec, ${rofi} -show combi"
"$mainMod, SPACE, exec, ${rofi} -show combi"
" , XF86MonBrightnessUp, exec, ${brightnessctl} s +5%"
" , XF86MonBrightnessDown, exec, ${brightnessctl} s 5%-"
" , XF86AudioPlay, exec, ${playerctl} play-pause"