Skip to content

Instantly share code, notes, and snippets.

View mertcancam's full-sized avatar

Mustafa Mertcan Çam mertcancam

  • Wolfram
  • Kuşadası
View GitHub Profile
#!/bin/bash
# Define autostart directory and file
AUTOSTART_DIR="$HOME/.config/autostart"
AUTOSTART_FILE="$AUTOSTART_DIR/guake.desktop"
# Ensure the directory exists
mkdir -p "$AUTOSTART_DIR"
# Create the autostart file
[general]
compat-delete='delete-sequence'
default-shell='/usr/bin/tmux'
display-n=0
display-tab-names=0
gtk-use-system-default-theme=true
hide-tabs-if-one-tab=false
history-size=1000
max-tab-name-length=100
mouse-display=true
@mertcancam
mertcancam / ps1.txt
Last active December 3, 2021 12:43
Custom PS1
export PS1="\[\033[38;5;12m\]\u\[$(tput sgr0)\]\[\033[38;5;7m\]@\[$(tput sgr0)\]\[\033[38;5;3m\]\h\[$(tput sgr0)\][\[$(tput sgr0)\]\[\033[38;5;2m\]\W\[$(tput sgr0)\]]\[$(tput sgr0)\]\[\033[38;5;6m\]\\$\[$(tput sgr0)\] \[$(tput sgr0)\]"
@mertcancam
mertcancam / .tmux.conf
Last active February 5, 2025 10:43
My Tmux Config
set -g default-terminal "xterm-256color"
# Send prefix
set-option -g prefix C-a
unbind-key C-a
bind-key C-a send-prefix
# Use Alt-arrow keys to switch panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R