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
pcm.!default { | |
type hw | |
card 1 # Change this to the correct card number from aplay -l | |
} | |
ctl.!default { | |
type hw | |
card 1 # Change this to the correct card number from aplay -l | |
} | |
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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<alias> | |
<family>sans-serif</family> | |
<prefer><family>Inter</family></prefer> | |
</alias> | |
<alias> | |
<family>monospace</family> | |
<prefer><family>Source Code Pro</family></prefer> |
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
#!/usr/bin/sh | |
# Xorg | |
sudo xbps-install xorg-minimal xinit xauth xsetroot\ | |
# Devel | |
base-devel libX11-devel libXft-devel libXinerama-devel\ | |
# Font / sound | |
adobe-source-code-pro font-vazir pulseaudio \ | |
# X | |
xclip xset setxkbmap xinput xprop xrandr \ |
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
name | ||
---|---|---|
Jane Doe | jane@example.com |
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
# This file is written by xdg-user-dirs-update | |
# If you want to change or add directories, just edit the line you're | |
# interested in. All local changes will be retained on the next run. | |
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped | |
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an | |
# absolute path. No other format is supported. | |
# | |
XDG_DESKTOP_DIR="$HOME/" | |
XDG_DOWNLOAD_DIR="$HOME/dl" | |
XDG_TEMPLATES_DIR="$HOME/" |
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
[Default Applications] | |
inode/directory=pcmanfm.desktop | |
application/pdf=org.pwmt.zathura.desktop | |
text/plain=nvim.desktop | |
application/xhtml+xml=firefox.desktop | |
x-scheme-handler/http=firefox.desktop | |
x-scheme-handler/https=firefox.desktop | |
text/html=firefox.desktop | |
image/jpeg=sxiv.desktop | |
image/jpg=sxiv.desktop |
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
-- Emacs cursor and word move | |
vim.keymap.set("i", "<C-f>", "<Right>", opts) -- move cursor right by one char | |
vim.keymap.set("i", "<C-b>", "<Left>", opts) -- move cursor left by one char | |
vim.keymap.set("i", "<M-f>", "<C-right>", opts)-- move cursor right by one word | |
vim.keymap.set("i", "<M-b>", "<C-left>", opts)-- move cursor left by one word | |
-- -- delete word | |
vim.keymap.set("i", "<C-d>", "<C-o>dw", opts) -- delete forward | |
vim.keymap.set("i", "<C-h>", "<C-o>db", opts) -- del backward | |
-- -- Move beginning and end of line | |
vim.keymap.set("i", "<C-a>", "<Home>", opts) -- move cursor to beginning of the line |
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
# Plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'christoomey/vim-tmux-navigator' | |
# Kye Bindings | |
unbind C-b | |
unbind C-/ | |
unbind '"' |
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
// Place your key bindings in this file to override the defaults | |
[ | |
// Terminal | |
{ | |
"key": "ctrl+shift+a", | |
"command": "workbench.action.terminal.focusNext", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+shift+b", |
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
from random import randrange | |
HAND = 10 | |
RANDOM_NUMBER = randrange(1, 100) | |
print("I am a number between 1 to 99. Try to guess me.") | |
while HAND > 0: | |
guess = int(input("Enter your guess: ")) | |
if guess == RANDOM_NUMBER: |
NewerOlder