Use ASCII for workspace names

This commit is contained in:
Valentin Brandl 2022-12-18 11:56:09 +01:00
parent e73985fcae
commit 307446064c
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -1,16 +1,29 @@
{ lib, pkgs, ... }: { lib, pkgs, ... }:
let let
mod = "Mod4"; mod = "Mod4";
ws1 = "1: "; ws1 = "1: www";
ws2 = "2: "; ws2 = "2: >_";
ws3 = "3: "; ws3 = "3: code";
ws4 = "4: "; /* TODO: */
ws5 = "5: "; /* ws3 = "3: </>"; */
ws6 = "6: "; ws4 = "4: IM";
ws7 = "7: "; ws5 = "5: ./";
ws6 = "6: doc";
ws7 = "7: mail";
ws8 = "8"; ws8 = "8";
ws9 = "9"; ws9 = "9";
/* TODO: ASCII? */
ws10 = "10: "; ws10 = "10: ";
/* ws1 = "1: "; */
/* ws2 = "2: "; */
/* ws3 = "3: "; */
/* ws4 = "4: "; */
/* ws5 = "5: "; */
/* ws6 = "6: "; */
/* ws7 = "7: "; */
/* ws8 = "8"; */
/* ws9 = "9"; */
/* ws10 = "10: "; */
mode_system = "System: L : | S : | P : | R : | E : "; mode_system = "System: L : | S : | P : | R : | E : ";
in { in {
@ -87,10 +100,10 @@ in {
"${mod}+1" = "workspace ${ws1}"; "${mod}+1" = "workspace ${ws1}";
"${mod}+2" = "workspace ${ws2}"; "${mod}+2" = "workspace ${ws2}";
"${mod}+3" = "workspace ${ws3}"; "${mod}+3" = "workspace ${ws3}";
"${mod}+4" = "workspace ${ws4}"; "${mod}+4" = "workspace ${ws4}; layout tabbed";
"${mod}+5" = "workspace ${ws5}"; "${mod}+5" = "workspace ${ws5}";
"${mod}+6" = "workspace ${ws6}"; "${mod}+6" = "workspace ${ws6}";
"${mod}+7" = "workspace ${ws7}"; "${mod}+7" = "workspace ${ws7}; layout tabbed";
"${mod}+8" = "workspace ${ws8}"; "${mod}+8" = "workspace ${ws8}";
"${mod}+9" = "workspace ${ws9}"; "${mod}+9" = "workspace ${ws9}";
"${mod}+0" = "workspace ${ws10}"; "${mod}+0" = "workspace ${ws10}";