aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorAdrian Kummerlaender2022-02-01 23:40:17 +0100
committerAdrian Kummerlaender2022-02-01 23:40:17 +0100
commit44434920a92a2e47a26e075e6ac9fea01c24bd70 (patch)
tree69a3e9e73ea9929d04935ae640cb27192c14ec29 /gui
parent716eb7c399631df86f8993db6c5ea27a90f6298b (diff)
downloadnixos_home-44434920a92a2e47a26e075e6ac9fea01c24bd70.tar
nixos_home-44434920a92a2e47a26e075e6ac9fea01c24bd70.tar.gz
nixos_home-44434920a92a2e47a26e075e6ac9fea01c24bd70.tar.bz2
nixos_home-44434920a92a2e47a26e075e6ac9fea01c24bd70.tar.lz
nixos_home-44434920a92a2e47a26e075e6ac9fea01c24bd70.tar.xz
nixos_home-44434920a92a2e47a26e075e6ac9fea01c24bd70.tar.zst
nixos_home-44434920a92a2e47a26e075e6ac9fea01c24bd70.zip
Update athena config
Diffstat (limited to 'gui')
-rw-r--r--gui/conf/xmonad.hs8
-rw-r--r--gui/touchegg.nix38
-rw-r--r--gui/twmn.nix9
3 files changed, 7 insertions, 48 deletions
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs
index e85b121..c676882 100644
--- a/gui/conf/xmonad.hs
+++ b/gui/conf/xmonad.hs
@@ -368,25 +368,25 @@ screenWidthOn host = case host of
"majestix" -> 1920
"obelix" -> 1280
"asterix" -> 1366
- "athena" -> 2560
+ "athena" -> 1920
screenHeightOn host = case host of
"hephaestus" -> 1200
"majestix" -> 1080
"obelix" -> 1024
"asterix" -> 768
- "athena" -> 1440
+ "athena" -> 1080
borderWidthOn host = case host of
"hephaestus" -> 3
"majestix" -> 3
"obelix" -> 3
"asterix" -> 3
- "athena" -> 6
+ "athena" -> 3
decoHeightOn host = case host of
"hephaestus" -> 20
"majestix" -> 20
"obelix" -> 20
"asterix" -> 20
- "athena" -> 30
+ "athena" -> 20
-------------------------------------------------------------------------------
-- helper for layout name dependent actions
diff --git a/gui/touchegg.nix b/gui/touchegg.nix
deleted file mode 100644
index 8e5cb6b..0000000
--- a/gui/touchegg.nix
+++ /dev/null
@@ -1,38 +0,0 @@
-{ pkgs, ... }:
-
-{
- home.file.".config/touchegg/touchegg.conf".text = let
- uictrl = pkgs.lib.callPackageWith pkgs ./pkgs/uictrl.nix { };
- in ''
- <touchégg>
- <application name="All">
- <gesture type="DRAG" fingers="3" direction="LEFT">
- <action type="RUN_COMMAND">${uictrl}/bin/uictrl next</action>
- </gesture>
- <gesture type="DRAG" fingers="3" direction="RIGHT">
- <action type="RUN_COMMAND">${uictrl}/bin/uictrl prev</action>
- </gesture>
- <gesture type="TAP" fingers="2">
- <action type="MOUSE_CLICK">BUTTON=3</action>
- </gesture>
- </application>
- </touchégg>
- '';
-
- systemd.user.services.touchegg = {
- Unit = {
- Description = "Touchégg multitouch gestures";
- After = [ "graphical-session-pre.target" ];
- PartOf = [ "graphical-session.target" ];
- };
-
- Install = {
- WantedBy = [ "graphical-session.target" ];
- };
-
- Service = {
- ExecStart = "${pkgs.touchegg}/bin/touchegg";
- Restart = "on-failure";
- };
- };
-}
diff --git a/gui/twmn.nix b/gui/twmn.nix
index 1420457..c3c35cb 100644
--- a/gui/twmn.nix
+++ b/gui/twmn.nix
@@ -1,9 +1,6 @@
{ config, pkgs, ... }:
-let
- hidpi = config.custom.hidpi;
-
-in {
+{
home.packages = with pkgs; [
twmn
libnotify
@@ -31,8 +28,8 @@ in {
[gui]
background_color=#909737
font=Iosevka
- font_size=${if hidpi then "24" else "14"}
- height=${if hidpi then "32" else "20"}
+ font_size=14
+ height=20
foreground_color=#111111
always_on_top=true
position=bottom_right