This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gsettings set org.pantheon.terminal.settings palette "#070736364242:#DCDC32322F2F:#858599990000:#B5B589890000:#26268B8BD2D2:#D3D336368282:#2A2AA1A19898:#EEEEE8E8D5D5:#00002B2B3636:#CBCB4B4B1616:#58586E6E7575:#65657B7B8383:#838394949696:#6C6C7171C4C4:#9393A1A1A1A1:#FDFDF6F6E3E3" | |
| gsettings set org.pantheon.terminal.settings foreground "#838394949696" | |
| gsettings set org.pantheon.terminal.settings background "#00002B2B3636" | |
| gsettings set org.pantheon.terminal.settings cursor-color "#838394949696" | |
| gsettings set org.pantheon.terminal.settings follow-last-tab "true" | |
| Thanks https://gist.github.com/davidgomes/5162998 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // GLSL shader autogenerated by cg2glsl.py. | |
| #if defined(VERTEX) | |
| #if __VERSION__ >= 130 | |
| #define COMPAT_VARYING out | |
| #define COMPAT_ATTRIBUTE in | |
| #define COMPAT_TEXTURE texture | |
| #else | |
| #define COMPAT_VARYING varying |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # only one tmux session | |
| [[ -z "$TMUX" ]] && (tmux attach || tmux new-session) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| dir1="$1" | |
| if [ -d "$dir1" ]; then | |
| tmp="/tmp/$$" | |
| find $dir1 -type f > $tmp | |
| echo "Temporary file: $tmp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # convert *.ogg files to *.mp3 files preserve tag | |
| # install vorbis-tools and lame with yum | |
| function showhelp | |
| { | |
| script=`basename $0` | |
| echo "" | |
| echo "use: $script [options]" | |
| echo "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function battery_status() | |
| { | |
| ACPI=`acpi` | |
| BATTERY="/sys/class/power_supply/BAT1" | |
| CAPACITY=`cat ${BATTERY}/capacity` | |
| STATUS=`cat ${BATTERY}/status` | |
| case "${STATUS:0:1}" in | |
| "C") STATUS="+" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # param | |
| # $1 = selected_uri | |
| # config | |
| # @cbind x = spawn @config_home/uzbl/add_host.sh '\@SELECTED_URI' | |
| DIR=`dirname $(realpath $UZBL_CONFIG)` | |
| FILE="$DIR/hosts.uzbl" | |
| URL="$1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| systemctl disable abrt-ccpp.service | |
| systemctl disable abrt-oops.service | |
| systemctl disable abrt-xorg.service | |
| systemctl disable abrtd.service | |
| systemctl disable accounts-daemon.service | |
| systemctl disable atd.service | |
| systemctl disable crond.service | |
| systemctl disable cups.service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PREFIX=. | |
| SRCDIR=$(PREFIX)/src | |
| INCDIR=$(PREFIX)/include | |
| BINDIR=$(PREFIX)/bin | |
| CC=gcc | |
| CPPFLAGS=-I$(INCDIR) | |
| CFLAGS=-c -Wall -Werror --std=c99 | |
| LDFLAGS= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| echo "[org/gnome/login-screen]" | |
| echo "disable-user-list=true" | |
| } > /etc/dconf/db/gdm.d/01-local-settings | |
| dconf update | |
| systemctl restart gdm |
NewerOlder