KUTBHT3LPAECGVN2NRJHGKBQP2WEPYO6BCG3RCH4YFHPL3MWVWXAC LMNZL55P3Z7IS2W7ZJTPGFEBSA5J2OHELRV7IWSCES5MNPSH6Q2QC ZH5LGJE4YAOHG5UP6P4X3NPIUROJWHEXR3PX56PATR5KNIMQL35QC COUSBBHL5XPZC5KWCYFFAE554D4VFFO55QOD726ODWIRZGWOUSUAC 4PEXC6EE4FNTPUYT64XDSOD6X5IVDY3Y2QDKYTSHEBOYS4JATQTQC INKINKWN6MRRH4CGUVTWI5TQ7VSCHA6ODXMLHVVFCHYPM27AYNNQC CL7RP3ZICLJT7YUI3O54IB2GZY7QMKK7ZC6GZPDXFYQKOOM64CHQC PS2VFJMZVN77RHZFVUVD2DA3MZNMXYPHT6XRHW2EUTZRGLAXF4YQC NJ5ENURMCBSNFQPNXXNUBMUXVJEBIGNH2T7EWGB63F3FV723BUWAC 7BNKOFCPOMGW4OEIPGZJF76J4CTD65TZ7CLJPKJOWOIJ65EDVWEQC VMKJ4UOWNB2QFRPYKWNOOVY6PU7QH6A6EFEKDLWRU3VIQIEHI7QAC 7UWOMG432IHX7BGGN7PPQUGSSUP6CCQNBXOO7TKNMKMK2R2WFOGAC CUMOCAAYICGBJMZEJE7QOTZNUALJ7X2QHYK6HFCC33DGSWAAKNSQC WWLIQ2NGWGL6JAQ2GS5K2SJEGKXR5I4L5HLSSJCDWLDLSA4FIO2AC WDE4LLYP24YKDAV6PW62DFNWV3WZWQUUPA7CZH6STDZFYU7ARERQC if [ "$player_status" = "Playing" ]; thenelif [ "$player_status" = "Paused" ]; thenelsefiecho "$(playerctl status): $(playerctl metadata title)"echo " $(playerctl metadata artist) - $(playerctl metadata title)"echo "$(playerctl metadata artist) - $(playerctl metadata title)"#!/bin/shplayer_status=$(playerctl status 2>/dev/null)
exec = pkgs.writeShellScript "mediaplayer" (builtins.readFile ./playerctl.sh);
exec = with pkgs; writeShellApplication {name = "waybar_media_play_pause_toggler";runtimeInputs = [ playerctl ];text = ''player_status=$(playerctl status 2>/dev/null)if [ "$player_status" = "Playing" ]; thenecho "$(playerctl metadata artist) - $(playerctl metadata title)"elif [ "$player_status" = "Paused" ]; thenecho " $(playerctl metadata artist) - $(playerctl metadata title)"elseecho "$(playerctl status): $(playerctl metadata title)"fi'';};
"${modkey}+t" = "exec ${cfg.terminal}";"${modkey}+q" = "kill";"${modkey}+space" = ''exec ${j4-dmenu-desktop}/bin/j4-dmenu-desktop'';"${modkey}+Shift+q" = "exec ${nwg-bar}/bin/nwg-bar";
"${cfg.modifier}+t" = "exec ${cfg.terminal}";"${cfg.modifier}+q" = "kill";"${cfg.modifier}+space" = ''exec ${j4-dmenu-desktop}/bin/j4-dmenu-desktop'';"${cfg.modifier}+Shift+q" = "${execNwgBar}";
XF86AudioPlay = "exec ${playerctl} play-pause";XF86AudioNext = "exec ${playerctl} next";XF86AudioPrev = "exec ${playerctl} previous";
XF86AudioPlay = "${execPlayerctl} play-pause";XF86AudioNext = "${execPlayerctl} next";XF86AudioPrev = "${execPlayerctl} previous";
"${modkey}+${cfg.left}" = "focus left";"${modkey}+${cfg.down}" = "focus down";"${modkey}+${cfg.up}" = "focus up";"${modkey}+${cfg.right}" = "focus right";
"${cfg.modifier}+${cfg.left}" = "focus left";"${cfg.modifier}+${cfg.down}" = "focus down";"${cfg.modifier}+${cfg.up}" = "focus up";"${cfg.modifier}+${cfg.right}" = "focus right";
"${modkey}+Shift+${cfg.left}" = "move left";"${modkey}+Shift+${cfg.down}" = "move down";"${modkey}+Shift+${cfg.up}" = "move up";"${modkey}+Shift+${cfg.right}" = "move right";
"${cfg.modifier}+Shift+${cfg.left}" = "move left";"${cfg.modifier}+Shift+${cfg.down}" = "move down";"${cfg.modifier}+Shift+${cfg.up}" = "move up";"${cfg.modifier}+Shift+${cfg.right}" = "move right";
"${modkey}+ctrl+s" = "layout stacking";"${modkey}+ctrl+w" = "layout tabbed";"${modkey}+ctrl+e" = "layout toggle split";
"${cfg.modifier}+ctrl+s" = "layout stacking";"${cfg.modifier}+ctrl+w" = "layout tabbed";"${cfg.modifier}+ctrl+e" = "layout toggle split";
"${modkey}+1" = "workspace number 1";"${modkey}+2" = "workspace number 2";"${modkey}+3" = "workspace number 3";"${modkey}+4" = "workspace number 4";"${modkey}+5" = "workspace number 5";"${modkey}+6" = "workspace number 6";"${modkey}+7" = "workspace number 7";"${modkey}+8" = "workspace number 8";"${modkey}+9" = "workspace number 9";"${modkey}+ctrl+${cfg.right}" = "workspace next";"${modkey}+ctrl+${cfg.left}" = "workspace prev";"${modkey}+ctrl+${cfg.down}" = "workspace back_and_forth";"${modkey}+ctrl+${cfg.up}" = "workspace back_and_forth";
"${cfg.modifier}+1" = "workspace number 1";"${cfg.modifier}+2" = "workspace number 2";"${cfg.modifier}+3" = "workspace number 3";"${cfg.modifier}+4" = "workspace number 4";"${cfg.modifier}+5" = "workspace number 5";"${cfg.modifier}+6" = "workspace number 6";"${cfg.modifier}+7" = "workspace number 7";"${cfg.modifier}+8" = "workspace number 8";"${cfg.modifier}+9" = "workspace number 9";"${cfg.modifier}+ctrl+${cfg.right}" = "workspace next";"${cfg.modifier}+ctrl+${cfg.left}" = "workspace prev";"${cfg.modifier}+ctrl+${cfg.down}" = "workspace back_and_forth";"${cfg.modifier}+ctrl+${cfg.up}" = "workspace back_and_forth";
"${modkey}+Shift+1" = "move container to workspace number 1";"${modkey}+Shift+2" = "move container to workspace number 2";"${modkey}+Shift+3" = "move container to workspace number 3";"${modkey}+Shift+4" = "move container to workspace number 4";"${modkey}+Shift+5" = "move container to workspace number 5";"${modkey}+Shift+6" = "move container to workspace number 6";"${modkey}+Shift+7" = "move container to workspace number 7";"${modkey}+Shift+8" = "move container to workspace number 8";"${modkey}+Shift+9" = "move container to workspace number 9";
"${cfg.modifier}+Shift+1" = "move container to workspace number 1";"${cfg.modifier}+Shift+2" = "move container to workspace number 2";"${cfg.modifier}+Shift+3" = "move container to workspace number 3";"${cfg.modifier}+Shift+4" = "move container to workspace number 4";"${cfg.modifier}+Shift+5" = "move container to workspace number 5";"${cfg.modifier}+Shift+6" = "move container to workspace number 6";"${cfg.modifier}+Shift+7" = "move container to workspace number 7";"${cfg.modifier}+Shift+8" = "move container to workspace number 8";"${cfg.modifier}+Shift+9" = "move container to workspace number 9";