Compare commits

...

2 Commits

Author SHA1 Message Date
stupidcomputer efd46a51ba increment flake.lock 2024-08-02 05:58:51 -05:00
stupidcomputer 0a145e9ac8 add another setting to disp 2024-08-02 05:58:31 -05:00
2 changed files with 39 additions and 22 deletions

View File

@ -143,22 +143,39 @@ case "$(hostname)" in
esac esac
;; ;;
"copernicus") "copernicus")
xinput set-prop 'INSTANT USB GAMING MOUSE ' 'libinput Accel Speed' -1 case "$1" in
xrandr --output HDMI-0 --primary --mode 1920x1080 --rate 180 --pos 1920x0 --rotate normal \ "tv")
--output DP-0 --mode 1920x1080 --pos 0x0 --rate 180 --rotate normal \ xrandr --output HDMI-0 --off \
--output DP-1 --off \ --output DP-0 --off \
--output DP-2 --off \ --output DP-1 --off \
--output DP-3 --off \ --output DP-2 --off \
--output DP-4 --off \ --output DP-3 --off \
--output DP-5 --off \ --output DP-4 --off \
--output DP-1-1 --off \ --output DP-5 --off \
--output HDMI-1-1 --off \ --output DP-1-1 --off \
--output DP-1-2 --off \ --output HDMI-1-1 --off \
--output HDMI-1-2 --mode 1920x1080 --pos 3840x0 --rotate normal --output DP-1-2 --off \
bspc monitor DP-0 -d 1 3 5 7 --output HDMI-1-2 --primary --mode 1920x1080 --pos 0x0 --rotate normal
bspc monitor HDMI-0 -d 2 4 6 8 bspc monitor HDMI-1-2 -d 1 2 3 4 5 6 7 8 9
bspc monitor HDMI-1-2 -d 9 ;;
;; *)
xinput set-prop 'INSTANT USB GAMING MOUSE ' 'libinput Accel Speed' -1
xrandr --output HDMI-0 --primary --mode 1920x1080 --rate 180 --pos 1920x0 --rotate normal \
--output DP-0 --mode 1920x1080 --pos 0x0 --rate 180 --rotate normal \
--output DP-1 --off \
--output DP-2 --off \
--output DP-3 --off \
--output DP-4 --off \
--output DP-5 --off \
--output DP-1-1 --off \
--output HDMI-1-1 --off \
--output DP-1-2 --off \
--output HDMI-1-2 --mode 1920x1080 --pos 3840x0 --rotate normal
bspc monitor DP-0 -d 1 3 5 7
bspc monitor HDMI-0 -d 2 4 6 8
bspc monitor HDMI-1-2 -d 9
;;
esac
esac esac
# initial post-wm setup # initial post-wm setup

View File

@ -41,11 +41,11 @@
}, },
"locked": { "locked": {
"dir": "pkgs/firefox-addons", "dir": "pkgs/firefox-addons",
"lastModified": 1721793798, "lastModified": 1722571415,
"narHash": "sha256-HfdWMR5qC2GOeBMv+UxzVgzlJ6+f5vI9YSW/tTIvB/c=", "narHash": "sha256-ncnnr/wolRtH2d6fC00ACGA5QQHh4sG+wZSlssPB0eA=",
"owner": "rycee", "owner": "rycee",
"repo": "nur-expressions", "repo": "nur-expressions",
"rev": "2687da27b1f740e281305fc95b76c076e7ca31b2", "rev": "f262cf023d907df83a5487a0f981a319d44e1993",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -199,11 +199,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1721686456, "lastModified": 1722372011,
"narHash": "sha256-nw/BnNzATDPfzpJVTnY8mcSKKsz6BJMEFRkJ332QSN0=", "narHash": "sha256-B2xRiC3NEJy/82ugtareBkRqEkPGpMyjaLxaR8LBxNs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "575f3027caa1e291d24f1e9fb0e3a19c2f26d96b", "rev": "cf05eeada35e122770c5c14add958790fcfcbef5",
"type": "github" "type": "github"
}, },
"original": { "original": {