test_skrypty_dex #4

Merged
GarandPLG merged 2 commits from test_skrypty_dex into main 2025-04-20 14:47:44 +00:00
10 changed files with 181 additions and 94 deletions

View File

@@ -74,6 +74,7 @@ in
windowrulev2 = float, class:^(swayimg|vlc|Viewnior|pavucontrol)$
windowrulev2 = float, class:^(nwg-look|qt5ct|mpv)$
windowrulev2 = float, class:^(zoom)$
windowrulev2 = float, class:^(galculator)$
windowrulev2 = stayfocused, title:^()$,class:^(steam)$
windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$
windowrulev2 = opacity 1 0.7, class:^(librewolf)$
@@ -85,6 +86,15 @@ in
windowrulev2 = opacity 0.9 0.7, class:^(chrome-ppepjbbmpdbanediafpgploonglppmlk-Default)$
windowrulev2 = opacity 0.9 0.7, class:^(tutanota-desktop)$
windowrulev2 = opacity 0.9 0.7, class:^(discord)$
windowrulev2 = opacity 0.9 0.7, class:^(ONLYOFFICE)$
windowrulev2 = opacity 0.9 0.7, class:^(net.lutris.Lutris)$
windowrulev2 = opacity 0.9 0.7, class:^(chrome-nibpilkookahlimkjopijpmhgllidlok-Default)$
windowrulev2 = opacity 0.9 0.7, class:^(Anki)$
windowrulev2 = opacity 0.9 0.7, class:^(galculator)$
windowrulev2 = opacity 0.9 0.7, class:^(chrome-mcpclnpikkcgnjfknenfalelmlaccfcj-Default)$
windowrulev2 = opacity 0.9 0.7, class:^(chrome-dbipeoijaciefjfbfdkpfncmlbfinpge-Default)$
windowrulev2 = opacity 0.9 0.7, class:^(Bitwarden)$
windowrulev2 = opacity 0.9 0.7, class:^(chrome-akpamiohjfcnimfljfndmaldlcfphjmp-Default)$
gestures {
workspace_swipe = true
workspace_swipe_fingers = 3
@@ -132,31 +142,18 @@ in
pseudotile = true
preserve_split = true
}
bind = ${modifier},Return,exec,${terminal}
bind = ${modifier}SHIFT,Return,exec,rofi-launcher
bind = ${modifier}SHIFT,W,exec,web-search
bind = ${modifier},V,exec,codium
bind = ${modifier}ALT,W,exec,wallsetter
bind = ${modifier}SHIFT,N,exec,swaync-client -rs
bind = ${modifier},W,exec,${browser}
bind = ${modifier},E,exec,emopicker9000
bind = ${modifier},S,exec,screenshootin
bind = ${modifier}SHIFT,S,exec,slack
bind = ${modifier},D,exec,discord
bind = ${modifier},O,exec,obs
bind = ${modifier},C,exec,hyprpicker -a
bind = ${modifier},G,exec,gimp
bind = ${modifier}SHIFT,G,exec,godot4
bind = ${modifier},T,exec,thunar
bind = ${modifier}SHIFT,T,exec,tutanota-desktop
bind = ${modifier},M,exec,plexamp
bind = ${modifier}SHIFT,M,exec,chrome-bbdeiblfgdokhlblpgeaokenkfknecgl-Default
bind = ${modifier},Q,killactive,
bind = ${modifier},Escape,exit,
bind = ${modifier},P,pseudo,
bind = ${modifier}SHIFT,I,togglesplit,
bind = ${modifier},F,fullscreen,
bind = ${modifier}SHIFT,F,togglefloating,
bind = ${modifier}SHIFT,C,exit,
bind = ALT,Tab,cyclenext
bind = ALT,Tab,bringactivetotop
bind = ${modifier},left,movefocus,l
bind = ${modifier},right,movefocus,r
bind = ${modifier},up,movefocus,u
bind = ${modifier},down,movefocus,d
bind = ${modifier}SHIFT,left,movewindow,l
bind = ${modifier}SHIFT,right,movewindow,r
bind = ${modifier}SHIFT,up,movewindow,u
@@ -165,14 +162,6 @@ in
bind = ${modifier}SHIFT,l,movewindow,r
bind = ${modifier}SHIFT,k,movewindow,u
bind = ${modifier}SHIFT,j,movewindow,d
bind = ${modifier},left,movefocus,l
bind = ${modifier},right,movefocus,r
bind = ${modifier},up,movefocus,u
bind = ${modifier},down,movefocus,d
bind = ${modifier},h,movefocus,l
bind = ${modifier},l,movefocus,r
bind = ${modifier},k,movefocus,u
bind = ${modifier},j,movefocus,d
bind = ${modifier},1,workspace,1
bind = ${modifier},2,workspace,2
bind = ${modifier},3,workspace,3
@@ -183,8 +172,6 @@ in
bind = ${modifier},8,workspace,8
bind = ${modifier},9,workspace,9
bind = ${modifier},0,workspace,10
bind = ${modifier}SHIFT,SPACE,movetoworkspace,special
bind = ${modifier},SPACE,togglespecialworkspace
bind = ${modifier}SHIFT,1,movetoworkspace,1
bind = ${modifier}SHIFT,2,movetoworkspace,2
bind = ${modifier}SHIFT,3,movetoworkspace,3
@@ -201,8 +188,41 @@ in
bind = ${modifier},mouse_up,workspace, e-1
bindm = ${modifier},mouse:272,movewindow
bindm = ${modifier},mouse:273,resizewindow
bind = ALT,Tab,cyclenext
bind = ALT,Tab,bringactivetotop
bind = ${modifier}SHIFT,SPACE,movetoworkspace,special
bind = ${modifier},SPACE,togglespecialworkspace
bind = ${modifier},Return,exec,${terminal}
bind = ${modifier}SHIFT,Return,exec,rofi-launcher
bind = ${modifier}ALT,W,exec,wallsetter
bind = ${modifier}SHIFT,S,exec,screenshootin
bind = ${modifier},E,exec,emopicker9000
bind = ${modifier}SHIFT,P,exec,hyprpicker -a
bind = ${modifier}SHIFT,W,exec,web-search
bind = ${modifier}SHIFT,K,exec,galculator
bind = ${modifier},B,exec,btop
bind = ${modifier}SHIFT,B,exec,blueman-manager
bind = ${modifier},T,exec,thunar
bind = ${modifier},W,exec,${browser}
bind = ${modifier},S,exec,slack
bind = ${modifier},D,exec,discord
bind = ${modifier},C,exec,chromium
bind = ${modifier}SHIFT,C,exec,dex-claude
bind = ${modifier}SHIFT,G,exec,dex-chatgpt
bind = ${modifier}SHIFT,M,exec,dex-messenger
bind = ${modifier}SHIFT,T,exec,tutanota-desktop
bind = ${modifier},I,exec,dex-instagram
bind = ${modifier},R,exec,dex-portainer
bind = ${modifier},U,exec,dex-mastodon
bind = ${modifier},Y,exec,dex-dailydev
bind = ${modifier},V,exec,codium
bind = ${modifier},O,exec,onlyoffice-desktopeditors
bind = ${modifier}SHIFT,O,exec,obs
bind = ${modifier},G,exec,gimp3
bind = ${modifier},N,exec,dex-nextcloud
bind = ${modifier}SHIFT,N,exec,nextcloud
bind = ${modifier},L,exec,lutris
bind = ${modifier},A,exec,anki
bind = ${modifier},M,exec,plexamp
bind = ${modifier},Z,exec,dex-beszel
bind = ,XF86AudioRaiseVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bind = ,XF86AudioLowerVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
binde = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle

View File

@@ -309,7 +309,7 @@ in {
swaynotificationcenter
imv
mpv
gimp
gimp3
pavucontrol
tree
greetd.tuigreet

View File

@@ -11,5 +11,6 @@
ungoogled-chromium
docker-client
anki-bin
onlyoffice-bin
];
}

View File

@@ -25,7 +25,7 @@
ms-azuretools.vscode-docker
ms-python.debugpy
ms-python.flake8
# ms-python.python
ms-python.python
ms-python.vscode-pylance
njpwerner.autodocstring
octref.vetur
@@ -40,14 +40,10 @@
vue.volar
wholroyd.jinja
yoavbls.pretty-ts-errors
tamasfe.even-better-toml
ms-ceintl.vscode-language-pack-pl
]
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "python";
publisher = "ms-python";
version = "2025.3.2025030601";
hash = "sha256-xK9esQjcdDz8pNgGjB3HUKpwySSykNTXo3ubDW0nBR8=";
}
{
name = "goto-alias";
publisher = "antfu";
@@ -79,10 +75,10 @@
hash = "sha256-Aj87mxOGer24O24/4/bGQqgLpgoBvfwOCKQyJ8NLplU=";
}
{
name = "python-environment-manager";
publisher = "donjayamanne";
version = "1.2.7";
hash = "sha256-w3csu6rJm/Z6invC/TR7tx6Aq5DD77VM62nem8/QMlg=";
name = "vscode-python-envs";
publisher = "ms-python";
version = "0.3.11081010";
hash = "sha256-Vs9Rkz/DAhNcC9e8fI8mlD8TljsFdU8+z7ztNkZozz0=";
}
{
name = "one-dark-pro-monokai-darker";
@@ -99,8 +95,8 @@
{
name = "bootstrap-intellisense";
publisher = "hossaini";
version = "2.0.2";
hash = "sha256-io6mPkF19EYo1tVTnd87EWX1mH9zAz0Zzks6v5XN3UE=";
version = "3.0.2";
hash = "sha256-stZfbh42HncdRzFZ9ShumZ9Tuery9RF9c8rk3TD3P2g=";
}
{
name = "tab-indent-space-align";
@@ -126,11 +122,17 @@
version = "0.6.1";
hash = "sha256-SbfsD28gaVHAmJskUuc1Q8kA47jrVa3OO5Ur7ULk3jI=";
}
{
name = "better-syntax";
publisher = "jeff-hykin";
version = "2.1.0";
hash = "sha256-gvEItVs0IKn7N7vfnm5N/B79xeMxO8xkPwWLNPOs9zY=";
}
{
name = "vsc-python-indent";
publisher = "kevinrose";
version = "1.19.0";
hash = "sha256-gX0L416RXIQ9S4kFguEJJ7u4GSo7WbpifXmL/mWCU08=";
version = "1.21.0";
hash = "sha256-SvJhVG8sofzV0PebZG4IIORX3AcfmErDQ00tRF9fk/4=";
}
{
name = "json-to-ts";
@@ -144,23 +146,11 @@
version = "0.2.6";
hash = "sha256-VPEp4gtXH787iK0RxjfciIZO1cjkYacjNELzjzcs/FI=";
}
{
name = "vscode-language-pack-pl";
publisher = "ms-ceintl";
version = "1.97.2025020509";
hash = "sha256-D2x745VgarYs6vRo6Eiyx7Zy4FHmFfF01xddbWlLmjM=";
}
{
name = "mdc";
publisher = "nuxt";
version = "0.2.0";
hash = "sha256-M/29ZDg1sva9msGgRe6xqpCYDpW6X/BqKxmiJhzeVXQ=";
}
{
name = "nuxt-vscode-extentions";
publisher = "nuxtr";
version = "0.0.7";
hash = "sha256-LMShrm9fQHr0M8yXHSziq4NZWfK+n1azc5bjiM972O0=";
version = "0.3.1";
hash = "sha256-YJ+7gzDjA8kzxBwGLpEmfx0erJdgAntWc2OrK2zp9DM=";
}
{
name = "nuxtr-vscode";
@@ -171,8 +161,8 @@
{
name = "bun-vscode";
publisher = "oven";
version = "0.0.26";
hash = "sha256-klMkKAorWJj2o015FWbQQfpmYe4JM0UOM+WVh+YPtI4=";
version = "0.0.28";
hash = "sha256-WlGqqKbfrV0gqCCdVo/UFF+Gnxhq0TNJ4LuHwFaFYXA=";
}
{
name = "csv-to-table";
@@ -231,8 +221,8 @@
{
name = "explorer";
publisher = "vitest";
version = "1.12.1";
hash = "sha256-WG2/MWxU/XhSOjXuBoyszpD/HFb8mfrt525povSEES4=";
version = "1.17.0";
hash = "sha256-7OePMFsWIyrPkAW/+SRiOoowluLMEszEjWmBsW0LPpc=";
}
{
name = "prettify-json";
@@ -240,6 +230,12 @@
version = "0.0.3";
hash = "sha256-lvds+lFDzt1s6RikhrnAKJipRHU+Dk85ZO49d1sA8uo=";
}
{
name = "uv-toolkit";
publisher = "the0807";
version = "0.0.2";
hash = "sha256-OXHUwynWm4RqJYjcv5qXt5DyjFDxtNjZFNpnd22gUgg=";
}
];
})
];

View File

@@ -4,5 +4,6 @@
protonup
wineWowPackages.waylandFull # wine64
lutris
space-cadet-pinball
];
}

View File

@@ -12,6 +12,6 @@
vlc
kdePackages.kdenlive
obs-studio
libreoffice
# libreoffice
];
}

View File

@@ -12,5 +12,6 @@
lazydocker
# lazygit
docker-slim
dex
];
}

View File

@@ -3,7 +3,9 @@
username,
host,
...
}: {
}: let
dexApps = import ../../../scripts/dex-apps.nix {inherit pkgs;};
in {
# Home Manager Settings
home = {
username = "${username}";
@@ -47,6 +49,16 @@
inherit pkgs;
inherit host;
})
dexApps.dex-messenger
dexApps.dex-instagram
dexApps.dex-chatgpt
dexApps.dex-portainer
dexApps.dex-claude
dexApps.dex-beszel
dexApps.dex-mastodon
dexApps.dex-nextcloud
dexApps.dex-dailydev
];
};
}

46
scripts/dex-apps.nix Normal file
View File

@@ -0,0 +1,46 @@
{pkgs}: {
dex-messenger = pkgs.writeShellScriptBin "dex-messenger" ''
#!/usr/bin/env bash
dex ~/.local/share/applications/chrome-bbdeiblfgdokhlblpgeaokenkfknecgl-Default.desktop
'';
dex-instagram = pkgs.writeShellScriptBin "dex-instagram" ''
#!/usr/bin/env bash
dex ~/.local/share/applications/chrome-akpamiohjfcnimfljfndmaldlcfphjmp-Default.desktop
'';
dex-chatgpt = pkgs.writeShellScriptBin "dex-chatgpt" ''
#!/usr/bin/env bash
dex ~/.local/share/applications/chrome-cadlkienfkclaiaibeoongdcgmdikeeg-Default.desktop
'';
dex-portainer = pkgs.writeShellScriptBin "dex-portainer" ''
#!/usr/bin/env bash
dex ~/.local/share/applications/chrome-dbipeoijaciefjfbfdkpfncmlbfinpge-Default.desktop
'';
dex-claude = pkgs.writeShellScriptBin "dex-claude" ''
#!/usr/bin/env bash
dex ~/.local/share/applications/chrome-fmpnliohjhemenmnlpbfagaolkdacoja-Default.desktop
'';
dex-beszel = pkgs.writeShellScriptBin "dex-beszel" ''
#!/usr/bin/env bash
dex ~/.local/share/applications/chrome-gppdefkeejighoejcenjnohhijfbcbkj-Default.desktop
'';
dex-mastodon = pkgs.writeShellScriptBin "dex-mastodon" ''
#!/usr/bin/env bash
dex ~/.local/share/applications/chrome-mcpclnpikkcgnjfknenfalelmlaccfcj-Default.desktop
'';
dex-nextcloud = pkgs.writeShellScriptBin "dex-nextcloud" ''
#!/usr/bin/env bash
dex ~/.local/share/applications/chrome-nibpilkookahlimkjopijpmhgllidlok-Default.desktop
'';
dex-dailydev = pkgs.writeShellScriptBin "dex-dailydev" ''
#!/usr/bin/env bash
dex ~/.local/share/applications/chrome-ppepjbbmpdbanediafpgploonglppmlk-Default.desktop
'';
}

View File

@@ -18,31 +18,13 @@ in
--timeout=90 \
--timeout-indicator=right \
" = Windows/Super/CAPS LOCK" "Klawisz modyfikatora, używany do skrótów klawiszowych" "Nie wykonuje niczego samodzielnie." \
" + ENTER" "Otwórz terminal" "${terminal}" \
" + SHIFT + ENTER" "Uruchom launcher aplikacji" "rofi" \
" + V" "Uruchom Visual Studio Codium" "codium" \
" + ALT + W" "Zmień tapetę" "wallsetter" \
" + Q" "Zamknij aktywne okno" "killactive" \
" + SHIFT + W" "Szukaj w internecie" "web-search" \
" + SHIFT + N" "Przeładuj stylizację SwayNC" "swaync-client -rs" \
" + W" "Uruchom przeglądarkę internetową" "${browser}" \
" + E" "Uruchom selektor emotikon" "emopicker9000" \
" + S" "Zrób zrzut ekranu" "screenshootin" \
" + SHIFT + S" "Uruchom Slack" "slack" \
" + D" "Uruchom Discord" "discord" \
" + O" "Uruchom OBS" "obs" \
" + G" "Uruchom GIMP" "gimp" \
" + SHIFT + G" "Uruchom Godot4" "godot4" \
" + C" "Uruchom selektor kolorów" "hyprpicker -a" \
" + T" "Otwórz nowe okno menedżera plików" "thunar" \
" + SHIFT + T" "Uruchom Tutanota" "tutanota-desktop" \
" + M" "Uruchom Plexamp" "Plexamp" \
" + SHIFT + M" "Uruchom Messengera" "chrome-bbdeiblfgdokhlblpgeaokenkfknecgl-Default" \
" + Esc" "Wyjdź z Hyprland" "exit" \
" + P" "Pseudo kafelkowanie" "pseudo" \
" + SHIFT + I" "Przełącz kierunek podziału" "togglesplit" \
" + F" "Przełącz tryb pełnoekranowy" "fullscreen" \
" + SHIFT + F" "Przełącz tryb pływający" "fullscreen" \
" + SHIFT + C" "Wyjdź z Hyprland" "exit" \
" + SHIFT + F" "Przełącz tryb pływający" "togglefloating" \
"ALT + TAB" "Zmień fokus na następne okno i przenieś je na wierzch" "cyclenext & bringactivetotop" \
" + Lewo" "Przenieś fokus na okno po lewej" "movefocus,l" \
" + Prawo" "Przenieś fokus na okno po prawej" "movefocus,r" \
" + Góra" "Przenieś fokus na okno u góry" "movefocus,u" \
@@ -51,10 +33,6 @@ in
" + SHIFT + Prawo" "Przenieś aktywne okno w prawo" "movewindow,r" \
" + SHIFT + Góra" "Przenieś aktywne okno do góry" "movewindow,u" \
" + SHIFT + Dół" "Przenieś aktywne okno do dołu" "movewindow,d" \
" + H" "Przenieś fokus na okno po lewej" "movefocus,l" \
" + L" "Przenieś fokus na okno po prawej" "movefocus,r" \
" + K" "Przenieś fokus na okno u góry" "movefocus,u" \
" + J" "Przenieś fokus na okno u dołu" "movefocus,d" \
" + SHIFT + H" "Przenieś aktywne okno w lewo" "movewindow,l" \
" + SHIFT + L" "Przenieś aktywne okno w prawo" "movewindow,r" \
" + SHIFT + K" "Przenieś aktywne okno do góry" "movewindow,u" \
@@ -69,7 +47,39 @@ in
" + Kliknięcie myszą w górę" "Przenieś się do poprzedniej przestrzeni roboczej" "workspace,e-1" \
" + Lewy przycisk myszy" "Przenieś/Przeciągnij okno" "movewindow" \
" + Prawy przycisk myszy" "Zmień rozmiar okna" "resizewindow" \
"ALT + TAB" "Zmień fokus na następne okno i przenieś je na wierzch" "cyclenext & bringactivetotop" \
" + ENTER" "Otwórz terminal" "${terminal}" \
" + SHIFT + ENTER" "Uruchom launcher aplikacji" "rofi-launcher" \
" + ALT + W" "Zmień tapetę" "wallsetter" \
" + SHIFT + S" "Zrób zrzut ekranu" "screenshootin" \
" + E" "Uruchom selektor emotikon" "emopicker9000" \
" + SHIFT + P" "Uruchom selektor kolorów" "hyprpicker -a" \
" + SHIFT + W" "Szukaj w internecie" "web-search" \
" + SHIFT + K" "Uruchom kalkulator" "galculator" \
" + B" "Uruchom monitorowanie zasobów" "btop" \
" + SHIFT + B" "Uruchom manager Bluethooth" "blueman-manager" \
" + T" "Otwórz nowe okno menedżera plików" "thunar" \
" + W" "Uruchom przeglądarkę internetową" "${browser}" \
" + S" "Uruchom Slack" "slack" \
" + D" "Uruchom Discord" "discord" \
" + C" "Uruchom Chromium" "chromium" \
" + SHIFT + C" "Uruchom Claude" "dex-claude" \
" + SHIFT + G" "Uruchom ChatGPT" "dex-chatgpt" \
" + SHIFT + M" "Uruchom Messengera" "dex-messenger" \
" + SHIFT + T" "Uruchom Tutanota" "tutanota-desktop" \
" + I" "Uruchom Instagram" "dex-instagram" \
" + R" "Uruchom Portainer" "dex-portainer" \
" + U" "Uruchom Mastodon" "dex-mastodon" \
" + Y" "Uruchom Daily.dev" "dex-dailydev" \
" + V" "Uruchom Visual Studio Codium" "codium" \
" + O" "Uruchom ONLYOFFICE" "onlyoffice-desktopeditors" \
" + SHIFT + O" "Uruchom OBS" "obs" \
" + G" "Uruchom GIMP" "gimp3" \
" + N" "Uruchom klienta nextcloud" "dex-nextcloud" \
" + SHIFT + N" "Uruchom synchronizację nextcloud" "nextcloud" \
" + L" "Uruchom Lutris" "lutris" \
" + A" "Uruchom Anki" "anki" \
" + M" "Uruchom Plexamp" "plexamp" \
" + Z" "Uruchom Beszel (monitorowanie serwerów)" "dex-beszel" \
"+" "Zwiększ głośność" "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+" \
"-" "Zmniejsz głośność" "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" \
"x" "Włącz/wyłącz wyciszenie" "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" \