diff options
author | Adrian Kummerlaender | 2021-06-09 20:20:37 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2021-06-09 20:21:31 +0200 |
commit | cf9d12cc6e6b01dad6a16f56053fdb128dde7274 (patch) | |
tree | 8afe80dc16882afe5940c8e86a49506e6173181a /gui | |
parent | 4959da8a20bbd8d4f0f85e39d5a41d588e83b768 (diff) | |
download | nixos_home-cf9d12cc6e6b01dad6a16f56053fdb128dde7274.tar nixos_home-cf9d12cc6e6b01dad6a16f56053fdb128dde7274.tar.gz nixos_home-cf9d12cc6e6b01dad6a16f56053fdb128dde7274.tar.bz2 nixos_home-cf9d12cc6e6b01dad6a16f56053fdb128dde7274.tar.lz nixos_home-cf9d12cc6e6b01dad6a16f56053fdb128dde7274.tar.xz nixos_home-cf9d12cc6e6b01dad6a16f56053fdb128dde7274.tar.zst nixos_home-cf9d12cc6e6b01dad6a16f56053fdb128dde7274.zip |
Add basic hephaestus config
Diffstat (limited to 'gui')
-rw-r--r-- | gui/conf/xmonad.hs | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs index 44b074b..4090245 100644 --- a/gui/conf/xmonad.hs +++ b/gui/conf/xmonad.hs @@ -150,6 +150,8 @@ hostSpecificKeybindings host = case host of , ("M-c p" , spawn "flameshot gui") ] "obelix" -> [ ("M-i g" , showNotification "GPU" "`nvidia-smi --query-gpu=name,temperature.gpu,utilization.gpu,utilization.memory --format=csv,noheader | awk -F',' '{print $1 \" running at\" $2 \"°C due to\" $3 \" load and\" $4 \" memory usage\"}'`") ] + "hephaestus" -> [ ("M-i g" , showNotification "GPU" + "`nvidia-smi --query-gpu=name,temperature.gpu,utilization.gpu,utilization.memory --format=csv,noheader | awk -F',' '{print $1 \" running at\" $2 \"°C due to\" $3 \" load and\" $4 \" memory usage\"}'`") ] _ -> [ ] commonKeybindings host = @@ -357,25 +359,29 @@ hideScreenBorder host (S.RationalRect x0 y0 w h) = S.RationalRect (x0-(bw/sw)) ( sh = screenHeightOn host screenWidthOn host = case host of - "obelix" -> 1920 - "majestix" -> 1920 - "asterix" -> 1366 - "athena" -> 2560 + "hephaestus" -> 1920 + "majestix" -> 1920 + "obelix" -> 1280 + "asterix" -> 1366 + "athena" -> 2560 screenHeightOn host = case host of - "obelix" -> 1200 - "majestix" -> 1080 - "asterix" -> 768 - "athena" -> 1440 + "hephaestus" -> 1200 + "majestix" -> 1080 + "obelix" -> 1024 + "asterix" -> 768 + "athena" -> 1440 borderWidthOn host = case host of - "obelix" -> 3 - "majestix" -> 3 - "asterix" -> 3 - "athena" -> 6 + "hephaestus" -> 3 + "majestix" -> 3 + "obelix" -> 3 + "asterix" -> 3 + "athena" -> 6 decoHeightOn host = case host of - "obelix" -> 20 - "majestix" -> 20 - "asterix" -> 20 - "athena" -> 30 + "hephaestus" -> 20 + "majestix" -> 20 + "obelix" -> 20 + "asterix" -> 20 + "athena" -> 30 ------------------------------------------------------------------------------- -- helper for layout name dependent actions |