I hereby claim:
- I am pooladkhay on github.
- I am poulad (https://keybase.io/poulad) on keybase.
- I have a public key ASAI-uXORUhrk9iwuFwmXZABoaLh_6D447e0JgBsi-mYzgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"bufio" | |
"fmt" | |
"os" | |
) | |
func main() { |
Install pptp client
$ sudo pacman -S pptpclient
Add new vpn connection:
$ pptpsetup --create my_tunnel --server vpn.example.com --username alice --password foo --encrypt
Route All Traffic by /etc/ppp/ip-up.d
:
Create a file called 01-routes.sh
under /etc/ppp/ip-up.d
Append this lines to the newly created file:
Source: https://wiki.archlinux.org/title/Visual_Studio_Code#Blurry_text_under_Wayland
Due to Electron issues Visual Studio Code defaults to run under XWayland which may cause blurry text if you're using HiDPI screens.
In order to fix this issue you need to force Electron to run under Wayland by adding --enable-features=UseOzonePlatform --ozone-platform=wayland
, for example you'll be launching VSCode like
$ code --enable-features=UseOzonePlatform --ozone-platform=wayland
This fix can be made permanent by creating a .desktop
file or by directly editing /usr/share/applications/visual-studio-code.desktop
# https://github.com/haikarainen/light | |
# | |
# Bindings for keyboard backlight | |
bindsym XF86KbdBrightnessUp exec light -As "sysfs/leds/smc::kbd_backlight" 10 | |
bindsym XF86KbdBrightnessDown exec light -Us "sysfs/leds/smc::kbd_backlight" 10 |