diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-06-10 17:03:44 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-06-10 17:03:44 +0200 |
commit | 9c3ec522c45e75f2778dd3273063853c9ee371db (patch) | |
tree | bf65a56eabde18b8e65b3c121f2f0cc16ab25f35 | |
parent | f1a8f66e9083858005078b1cc427910b32c56a50 (diff) | |
download | niedzwiedzinski.cyou-9c3ec522c45e75f2778dd3273063853c9ee371db.tar.gz niedzwiedzinski.cyou-9c3ec522c45e75f2778dd3273063853c9ee371db.zip |
win
-rwxr-xr-x | deploy.sh | 2 | ||||
-rw-r--r-- | src/index.gmi | 2 | ||||
-rw-r--r-- | src/windows.gmi | 15 |
3 files changed, 18 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh index 34e12b9..c2fbdb3 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#!nix-shell -i sh -p rsync busybox nur.repos.pn.sfg nur.repos.sikmir.gmi2html +#!nix-shell -i sh -p rsync busybox nur.repos.pn.sfg nur.repos.sikmir.gmi2html -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/a0899b27730646c84d0e125fedfca4c5a2ecaab9.tar.gz ##!/bin/sh ## Required: rsync, sed, gmi2html diff --git a/src/index.gmi b/src/index.gmi index 4e41d0f..ead77f9 100644 --- a/src/index.gmi +++ b/src/index.gmi @@ -6,6 +6,8 @@ Hi! I'm Patryk (Patrick in polish) and I'm a student from Poznań, Poland. I'm a My main driver is ThinkPad x220 with NixOS installed. My config is based on Luke Smith's Larbs. I use suckless software (dwm, st, sent, ...). I don't use surf though - I'm a brave user 😉. Vim everywhere! +=> windows.gmi I don't use windows + => blog/suckless.gmi Why I use suckless tools => https://larbs.xyz => https://git.niedzwiedzinski.cyou/dots diff --git a/src/windows.gmi b/src/windows.gmi new file mode 100644 index 0000000..7999b50 --- /dev/null +++ b/src/windows.gmi @@ -0,0 +1,15 @@ +# MS Windows + +I find Windows hard to use, here's some examples + + +### Notifications + +Windows: +``` +powershell -Command "& {Add-Type -AssemblyName System.Windows.Forms; Add-Type -AssemblyName System.Drawing; $notify = New-Object System.Windows.Forms.NotifyIcon; $notify.Icon = [System.Drawing.SystemIcons]::Information; $notify.Visible = $true; $notify.ShowBalloonTip(0, 'Hello world', 'This is called from a batch script.', [System.Windows.Forms.ToolTipIcon]::None)}" +``` +Linux/BSD: +``` +notify-send "Hello world" "This is called from a script." +``` |