cleanup sway

This commit is contained in:
Aly Raffauf 2024-07-18 20:43:45 -04:00
parent 47838ec141
commit 37214ffb4c
3 changed files with 0 additions and 74 deletions

View file

@ -1,59 +0,0 @@
name: "nix-drybuild"
on:
push:
paths-ignore:
- '*.md'
- '.github/**'
- '_img/**'
workflow_dispatch:
jobs:
fallarbor-drybuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Drybuild fallarbor
run: nix build --dry-run .#nixosConfigurations.fallarbor.config.system.build.toplevel
lavaridge-drybuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Drybuild lavaridge
run: nix build --dry-run .#nixosConfigurations.lavaridge.config.system.build.toplevel
mauville-drybuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Drybuild mauville
run: nix build --dry-run .#nixosConfigurations.mauville.config.system.build.toplevel
petalburg-drybuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Drybuild petalburg
run: nix build --dry-run .#nixosConfigurations.petalburg.config.system.build.toplevel
rustboro-drybuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Drybuild rustboro
run: nix build --dry-run .#nixosConfigurations.rustboro.config.system.build.toplevel

View file

@ -5,7 +5,6 @@ variables:
GIT_STRATEGY: clone
GIT_DEPTH: 1
stages:
- "Update"
- "Checks"

View file

@ -26,18 +26,7 @@
editor = lib.getExe config.ar.home.defaultApps.editor;
terminal = lib.getExe config.ar.home.defaultApps.terminal;
brightness = lib.getExe' pkgs.swayosd "swayosd-client";
brightness_up = "${brightness} --brightness=raise";
brightness_down = "${brightness} --brightness=lower";
volume = brightness;
volume_up = "${volume} --output-volume=raise";
volume_down = "${volume} --output-volume=lower";
volume_mute = "${volume} --output-volume=mute-toggle";
mic_mute = "${volume} --input-volume=mute-toggle";
media = lib.getExe pkgs.playerctl;
media_play = "${media} play-pause";
media_next = "${media} next";
media_prev = "${media} previous";
# Sway desktop utilities
bar = lib.getExe pkgs.waybar;
@ -66,9 +55,6 @@
screenshot_screen = "${screenshot} --capture output";
screenshot_region = "${screenshot} --capture region";
qt_platform_theme = "qt6ct";
gdk_scale = "1.5";
cycleSwayDisplayModes = pkgs.writeShellScriptBin "cycleSwayDisplayModes" ''
# TODO: remove petalburg hardcodes
current_mode=$(${lib.getExe' config.wayland.windowManager.sway.package "swaymsg"} -t get_outputs -p | grep "Current mode" | grep -Eo '[0-9]+x[0-9]+ @ [0-9.]+ Hz' | tr -d " " | grep 2880)