Skip to content

Instantly share code, notes, and snippets.

View mczuchnowski's full-sized avatar
💭
I have no idea what I'm doing

Maciej Czuchnowski mczuchnowski

💭
I have no idea what I'm doing
View GitHub Profile
sudo apt install policykit-desktop-privileges policykit-1-gnome
exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
OR:
sudo apt-get install lxpolkit
sudo mkdir -p /etc/X11/xorg.conf.d && sudo tee <<'EOF' /etc/X11/xorg.conf.d/90-touchpad.conf 1> /dev/null
Section "InputClass"
Identifier "touchpad"
MatchIsTouchpad "on"
Driver "libinput"
Option "Tapping" "on"
EndSection
EOF
# bash/zsh git prompt support
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Distributed under the GNU General Public License, version 2.0.
#
# This script allows you to see repository status in your prompt.
#
# To enable:
#
# 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh).
@mczuchnowski
mczuchnowski / keybase.md
Created April 18, 2018 10:27
keybase.md

Keybase proof

I hereby claim:

  • I am mczuchnowski on github.
  • I am mczuchnowski (https://keybase.io/mczuchnowski) on keybase.
  • I have a public key ASBPvcCVCtL14IwHm-W5BJSPPJqNzOT74pJlQi3HyCfvzQo

To claim this, I am signing this object:

@mczuchnowski
mczuchnowski / i3status.conf
Last active May 8, 2018 20:30
Simplified i3 status bar
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
@mczuchnowski
mczuchnowski / .bashrc
Last active May 10, 2020 17:30
Supercool bash prompt with rvm and git integration
# This allows us to use __git_ps1
# Get it from https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh
source ~/git-prompt.sh
# Reset
Color_Off="\[\033[0m\]" # Text Reset
Green="\[\033[0;32m\]" # Green
IBlue="\[\033[0;94m\]" # Blue
IRed="\[\033[0;91m\]" # Red
Yellow="\[\033[0;33m\]" # Yellow