mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-11 01:06:19 +02:00
sway: remove
This commit is contained in:
parent
f23177f96d
commit
1c2f5c95e6
2 changed files with 0 additions and 62 deletions
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./sway.nix
|
|
||||||
./river.nix
|
./river.nix
|
||||||
./breaktimer.nix
|
./breaktimer.nix
|
||||||
./waybar.nix
|
./waybar.nix
|
||||||
|
|
|
@ -1,61 +0,0 @@
|
||||||
{ config, pkgs, lib, ... }:
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
wayland.windowManager.sway = {
|
|
||||||
enable = true;
|
|
||||||
config = rec {
|
|
||||||
startup = [
|
|
||||||
{
|
|
||||||
command = "${pkgs.autotiling-rs}/bin/autotiling-rs";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
command = ''swaymsg -t subscribe -m "['workspace']" | jq --unbuffered -r 'select(.change == "focus") | .current.output' | xargs -L1 swaymsg input 1386:884:Wacom_Intuos_S_Pen map_to_output'';
|
|
||||||
}
|
|
||||||
];
|
|
||||||
modifier = "Mod4";
|
|
||||||
menu = lib.getExe pkgs.fuzzel;
|
|
||||||
terminal = "${pkgs.foot}/bin/footclient";
|
|
||||||
bars = [ ];
|
|
||||||
gaps = {
|
|
||||||
outer = 5;
|
|
||||||
inner = 12;
|
|
||||||
};
|
|
||||||
input = {
|
|
||||||
"*" = {
|
|
||||||
xkb_layout = "us";
|
|
||||||
xkb_variant = "dvorak-alt-intl";
|
|
||||||
};
|
|
||||||
"2:7:SynPS/2_Synaptics_TouchPad" = {
|
|
||||||
tap = "enabled";
|
|
||||||
drag = "enabled";
|
|
||||||
middle_emulation = "enabled";
|
|
||||||
accel_profile = "adaptive";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
keybindings =
|
|
||||||
lib.mkOptionDefault {
|
|
||||||
"Mod1+space" = "exec ${menu}";
|
|
||||||
"Mod4+a" = "exec ${pkgs.wofi-emoji}/bin/wofi-emoji";
|
|
||||||
"Print" = "exec ${pkgs.sway-contrib.grimshot}/bin/grimshot copy area";
|
|
||||||
"XF86Launch2" = "exec ${pkgs.sway-contrib.grimshot}/bin/grimshot save area - | ${lib.getExe pkgs.swappy} -f -";
|
|
||||||
"XF86MonBrightnessUp" = "exec ${pkgs.light}/bin/light -A 10";
|
|
||||||
"XF86MonBrightnessDown" = "exec ${pkgs.light}/bin/light -U 10";
|
|
||||||
"XF86AudioMute" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-mute @DEFAULT_SINK@ toggle";
|
|
||||||
"XF86AudioMicMute" = "exec ${pkgs.pulseaudio}/bin/pactl set-source-mute @DEFAULT_SOURCE@ toggle";
|
|
||||||
"XF86AudioRaiseVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ +5%";
|
|
||||||
"XF86AudioLowerVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ -5%";
|
|
||||||
"Shift+XF86AudioRaiseVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-source-volume @DEFAULT_SOURCE@ +5%";
|
|
||||||
"Shift+XF86AudioLowerVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-source-volume @DEFAULT_SOURCE@ -5%";
|
|
||||||
|
|
||||||
"XF86Favorites" = "exec ${pkgs.systemd}/bin/loginctl lock-session";
|
|
||||||
"XF86PowerOff" = "exec ${pkgs.wlogout}/bin/wlogout";
|
|
||||||
|
|
||||||
"XF86Messenger" = "exec ${pkgs.swaynotificationcenter}/bin/swaync-client --toggle-panel";
|
|
||||||
"Cancel" = "exec ${pkgs.swaynotificationcenter}/bin/swaync-client --hide-latest";
|
|
||||||
"Shift+Cancel" = "exec ${pkgs.swaynotificationcenter}/bin/swaync-client --cloes-all";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue