Compare commits

..

No commits in common. "20dbcb197af7e354e5c6b6d2f8ddfe787da262a5" and "ff3becb28025c0cd56be8c30d27c4ac64483fa77" have entirely different histories.

3 changed files with 16 additions and 55 deletions

View File

@ -132,10 +132,6 @@
};
services.blueman.enable = true;
services.udev.extraRules = ''
ACTION=="add", KERNEL=="event[0-9]*", DEVPATH="/devices/platform/AMDI0010:02/i2c-2/i2c-ELAN2513:00/0018:04F3:2D9C.0001/input/input[0-9]*/event[0-9]*", SYMLINK+="touchscreen0"
'';
# Enable the OpenSSH daemon.
# services.openssh.enable = true;

View File

@ -66,11 +66,6 @@
})
vesktop
libreoffice-fresh
mate.caja
kdePackages.okular
mpv
gimp
freecad
];
home.sessionVariables = {

View File

@ -26,20 +26,20 @@
rotate_lisgd = pkgs.writeShellScriptBin "rotate_lisgd" ''
# PREV_ORIENTATION and ORIENTATION are given by rot8
LISGD_INPUT=/dev/input/event14
# open nwggrid by swiping up from the bottom edge
LISGD_ACTIONS=("1,DU,B,*,R,${pkgs.sway}/bin/swaymsg exec ${pkgs.nwg-launchers}/bin/nwggrid -client")
# close window by swiping down with 3 fingers
LISGD_ACTIONS+=("3,UD,*,L,R,${pkgs.sway}/bin/swaymsg kill")
LISGD_INPUT=/dev/input/by-path/platform-AMDI0010:02-event
# open nwggrid (Meta+D) by swiping up from the bottom edge
LISGD_ACTIONS=("1,DU,B,*,R,${pkgs.ydotool}/bin/ydotool key 125:1 32:1 32:0 125:0")
# close window (Meta+Shift+Q) by swiping down with 3 fingers
LISGD_ACTIONS+=("3,UD,*,L,R,${pkgs.ydotool}/bin/ydotool key 125:1 42:1 16:1 16:0 42:0 125:0")
# move window left by swiping left with 2 fingers
LISGD_ACTIONS+=("2,UD,*,*,R,${pkgs.sway}/bin/swaymsg move left")
# move window down by swiping down with 2 fingers
LISGD_ACTIONS+=("2,UD,*,*,R,${pkgs.sway}/bin/swaymsg move down")
# move window up by swiping up with 2 fingers
LISGD_ACTIONS+=("2,UD,*,*,R,${pkgs.sway}/bin/swaymsg move up")
# move window right by swiping right with 2 fingers
LISGD_ACTIONS+=("2,UD,*,*,R,${pkgs.sway}/bin/swaymsg move right")
# move window left (Meta+Shift+H) by swiping left with 2 fingers
LISGD_ACTIONS+=("2,UD,*,*,R,${pkgs.ydotool}/bin/ydotool key 125:1 42:1 35:1 35:0 42:0 125:0")
# move window down (Meta+Shift+J) by swiping down with 2 fingers
LISGD_ACTIONS+=("2,UD,*,*,R,${pkgs.ydotool}/bin/ydotool key 125:1 42:1 36:1 36:0 42:0 125:0")
# move window up (Meta+Shift+K) by swiping up with 2 fingers
LISGD_ACTIONS+=("2,UD,*,*,R,${pkgs.ydotool}/bin/ydotool key 125:1 42:1 37:1 37:0 42:0 125:0")
# move window right (Meta+Shift+L) by swiping right with 2 fingers
LISGD_ACTIONS+=("2,UD,*,*,R,${pkgs.ydotool}/bin/ydotool key 125:1 42:1 38:1 38:0 42:0 125:0")
LISGD_ACTION_OPTIONS=()
for str in "''${LISGD_ACTIONS[@]}"; do
@ -105,12 +105,6 @@ in {
DP-5 = {
bg = "'${bg1080vert}' fit";
};
DP-6 = {
bg = "'${bg1080}' fit";
};
DP-7 = {
bg = "'${bg1080vert}' fit";
};
};
input = {
@ -208,11 +202,11 @@ in {
workspaceOutputAssign = [
{
workspace = "main";
output = ["DP-4" "DP-6" "HDMI-A-1" "eDP-1"];
output = ["DP-4" "HDMI-A-1" "eDP-1"];
}
{
workspace = "term";
output = ["DP-5" "DP-7" "eDP-1"];
output = ["DP-5" "eDP-1"];
}
{
workspace = "msg";
@ -224,7 +218,7 @@ in {
}
{
workspace = "5";
output = ["DP-4" "DP-6" "HDMI-A-1" "eDP-1"];
output = ["DP-4" "HDMI-A-1" "eDP-1"];
}
];
@ -439,30 +433,6 @@ in {
"${pkgs.sway}/bin/swaymsg workspace 5, move workspace to DP-4"
];
};
dock_luhbots3 = {
outputs = [
{
criteria = "eDP-1";
position = "0,1080";
}
{
criteria = "Dell Inc. DELL U2422HE 53DCH83";
position = "0,0";
}
{
criteria = "Dell Inc. DELL U2412M 0FFXD46I4U5S";
transform = "90";
position = "1920,0";
}
];
exec = [
"${pkgs.sway}/bin/swaymsg workspace 1, move workspace to DP-6"
"${pkgs.sway}/bin/swaymsg workspace 2, move workspace to DP-7"
"${pkgs.sway}/bin/swaymsg workspace 3, move workspace to eDP-1"
"${pkgs.sway}/bin/swaymsg workspace 4, move workspace to eDP-1"
"${pkgs.sway}/bin/swaymsg workspace 5, move workspace to DP-6"
];
};
laptop_hannspree = {
outputs = [
{