Skip to content

Instantly share code, notes, and snippets.

View 4ndril's full-sized avatar

Andril 4ndril

View GitHub Profile
@taiwbi
taiwbi / gnome-transparent-sidebar.css
Last active July 20, 2024 19:17
Make Gnome applications sidebar semi-transparent, and add blur with Blur My Shell Extension if you want to
/* Mohammad Mahdi Tayebi
*
* To apply transparent sidebar. copy this file into ~/.config/gtk-4.0/gtk.css and if
* you use adw-gtk3 theme you can add it to ~/.config/gtk-3.0/gtk.css as well
*
* Use blur my shell extension to add blur effect behind the transparent part of windows
*/
/* Transparent Sidebar */
window {
@adibhanna
adibhanna / alacritty.yml
Last active May 2, 2024 13:32
Alacritty
font:
size: 18
offset:
y: 16
glyph_offset:
y: 9
normal:
family: "SFMono Nerd Font"
window:
padding:
@3ayazaya
3ayazaya / starship.toml
Last active July 12, 2024 09:57
My Starship terminal configuration file
#format = """
#[╭─user───❯](bold blue) $username
#[┣─system─❯](bold yellow) $hostname
#[┣─project❯](bold red) $directory$rust$git_branch$git_status$package$golang$terraform$docker_context$python$docker_context$nodejs
#[╰─cmd────❯](bold green)
#"""
[username]
style_user = "green bold"
style_root = "red bold"
format = "[$user]($style) "
@eh8
eh8 / README.md
Last active December 13, 2020 06:36
macOS Big Chungus

From r/unixporn

macOS Big Chungus


Find the official macOS wallpapers complied in a neat Google Photos album.

This setup relies on a few GNOME shell extensions, all of which are available from the AUR.

@raveenb
raveenb / ssh_into_android.md
Last active July 16, 2024 06:10
SSH into Android

Connecting to an Android device over SSH

Initial Setup

Install Android App Termux from APKPure or AppStore. If the app exists, just delete and re-install it to get the latest version, The APK can be downloaded from https://apkpure.com/termux/com.termux/ Install the APK using by running

adb install ~/Downloads/Termux_v0.73_apkpure.com.apk
{
"layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar at the bottom of your screen
"height": 60, // Waybar height
// "width": 1280, // Waybar width
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "battery", "clock", "tray"],
// Modules configuration
"sway/workspaces": {
@thongnguyenhuu
thongnguyenhuu / install-monaco-font.sh
Created April 19, 2015 04:13
Install `Monaco` font for ubuntu
#!/bin/bash
#script extraido de: http://paulocassiano.wordpress.com/2008/08/29/deixando-o-gedit-com-a-cara-do-textmate/
#tip for better "resolution" here: http://blog.siverti.com.br/2008/05/22/fonte-monaco-no-ubuntugedit/
cd /usr/share/fonts/truetype/
#TODO: put validation if folder already exists
sudo mkdir ttf-monaco
@rogerleite
rogerleite / install_monaco_font.sh
Last active April 27, 2024 05:27
Install Monaco font in Linux
#!/bin/bash
# Install Monaco font in Linux
# Version from nullvideo https://gist.github.com/rogerleite/99819#gistcomment-2799386
sudo mkdir -p /usr/share/fonts/truetype/ttf-monaco && \
sudo wget https://gist.github.com/rogerleite/b50866eb7f7b5950da01ae8927c5bd61/raw/862b6c9437f534d5899e4e68d60f9bf22f356312/mfont.ttf -O - > \
/usr/share/fonts/truetype/ttf-monaco/Monaco_Linux.ttf && \
sudo fc-cache