Arch
sudo pacman -S breeze breeze-gtk
Debian
# Amazon Kindle | |
pm uninstall --user 0 com.amazon.kindle | |
# Amazon Shopping | |
pm uninstall --user 0 in.amazon.mShop.android.shopping | |
# Android Auto | |
pm uninstall --user 0 com.google.android.projection.gearhead | |
# Assistant |
# Enable or Disable Triggers (elogind) | |
# Usage: enable [yes/no] | |
enable yes | |
# CPU Undervolting | |
# Usage: undervolt ${index} ${display_name} ${undervolt_value} | |
# Example: undervolt 2 'CPU Cache' -25.84 | |
undervolt 0 'CPU' -90 |
# .bashrc | |
# If not running interactively, don't do anything | |
[[ $- != *i* ]] && return | |
eval "$(starship init bash)" | |
# Awesome Alias | |
## System commands | |
alias _='sudo' | |
alias ls='ls --color=auto' |
## Path section | |
# Set $PATH if ~/.local/bin exist | |
if [ -d "$HOME/.local/bin" ]; then | |
export PATH=$HOME/.local/bin:$PATH | |
fi | |
eval "$(starship init zsh)" | |
function set_win_title(){ | |
echo -ne "\033]0; $USER@$HOST:${PWD/$HOME/~} \007" | |
} |
[username] | |
format = " [╭─$user]($style) on " | |
style_user = "bold bright-green" | |
style_root = "bold green" | |
show_always = true | |
[hostname] | |
format = "[$hostname]($style) in " | |
style = "bold purple" | |
trim_at = "-" |
Section "Device" | |
Identifier "iGPU" | |
Driver "intel" | |
Option "AccelMethod" "sna" | |
Option "TearFree" "True" | |
Option "Tiling" "True" | |
Option "SwapbuffersWait" "True" | |
Option "DRI" "3" | |
EndSection |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
def hexagon(width, height, half=0): | |
i = 0 | |
top = 1 | |
bottom = 1 | |
if half == 1: | |
top = 0 |