10 Commits
Author SHA1 Message Date
eneller d47b939108 move nade bind 2022-09-24 12:48:31 +02:00
eneller d591593b26 add basic configs 2022-09-18 16:40:37 +02:00
eneller 591e08fcdf Add files via upload 2022-07-30 23:04:50 +02:00
eneller ced1c355f4 Update autoexec.cfg 2021-12-10 20:21:06 +01:00
eneller 374f16dd87 Update autoexec.cfg 2021-12-10 20:11:13 +01:00
eneller bf137554fb Delete autoexec.cfg 2021-11-29 12:47:08 +01:00
eneller cbb8647b6f Update autoexec.cfg 2021-11-29 12:46:55 +01:00
eneller 1a891acf46 add folder path windows 2021-11-29 12:43:44 +01:00
eneller baee6b7d8d add csgo autoexec.cfg 2021-11-28 22:01:20 +01:00
eneller acd3dba475 initial commit 2021-11-26 19:56:05 +01:00
42 changed files with 303 additions and 1841 deletions

No files matched your search

-52
View File
@@ -1,52 +0,0 @@
[colors.bright]
black = "#545454"
blue = "#94bff3"
cyan = "#93e0e3"
green = "#8ae234"
magenta = "#b294bb"
red = "#fc5454"
white = "#ffffff"
yellow = "#fce94f"
[colors.normal]
black = "#3f3f3f"
blue = "#94bff3"
cyan = "#06989a"
green = "#4e9a06"
magenta = "#85678f"
red = "#cc0000"
white = "#dcdccc"
yellow = "#c4a000"
[colors.primary]
background = "#222222"
foreground = "#F9F9F9"
[font]
size = 11.0
[font.bold]
style = "Bold"
family = "FiraCode Nerd Font Mono"
[font.bold_italic]
style = "Bold Italic"
family = "FiraCode Nerd Font Mono"
[font.italic]
style = "Italic"
family = "FiraCode Nerd Font Mono"
[font.normal]
style = "Regular"
family = "FiraCode Nerd Font Mono"
[[keyboard.bindings]]
action = "ToggleFullscreen"
key = "F11"
[scrolling]
history = 50000
[window]
opacity = 1
-174
View File
@@ -1,174 +0,0 @@
// vim: filetype=c
// get dumps via -dump-config and -dump-theme
configuration {
modes: "combi";
font: "mono 12";
/* location: 0;*/
/* yoffset: 0;*/
/* xoffset: 0;*/
fixed-num-lines: true;
show-icons: true;
terminal: "alacritty";
/* ssh-client: "ssh";*/
/* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/
/* run-command: "{cmd}";*/
/* run-list-command: "";*/
/* run-shell-command: "{terminal} -e {cmd}";*/
/* window-command: "wmctrl -i -R {window}";*/
/* window-match-fields: "all";*/
/* icon-theme: ;*/
/* drun-match-fields: "name,generic,exec,categories,keywords";*/
/* drun-categories: ;*/
/* drun-show-actions: false;*/
/* drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";*/
/* drun-url-launcher: "xdg-open";*/
/* disable-history: false;*/
/* ignored-prefixes: "";*/
/* sort: false;*/
/* sorting-method: "normal";*/
/* case-sensitive: false;*/
/* cycle: true;*/
/* sidebar-mode: false;*/
/* hover-select: false;*/
/* eh: 1;*/
/* auto-select: false;*/
/* parse-hosts: false;*/
/* parse-known-hosts: true;*/
combi-modes: "drun,window,ssh";
/* matching: "normal";*/
/* tokenize: true;*/
/* m: "-5";*/
/* filter: ;*/
/* dpi: -1;*/
/* threads: 0;*/
/* scroll-method: 0;*/
/* window-format: "{w} {c} {t}";*/
/* click-to-exit: true;*/
/* max-history-size: 25;*/
combi-hide-mode-prefix: true;
/* combi-display-format: "{mode} {text}";*/
/* matching-negate-char: '-' /* unsupported */;*/
/* cache-dir: ;*/
/* window-thumbnail: false;*/
/* drun-use-desktop-cache: false;*/
/* drun-reload-desktop-cache: false;*/
/* normalize-match: false;*/
/* steal-focus: false;*/
/* application-fallback-icon: ;*/
/* refilter-timeout-limit: 8192;*/
/* xserver-i300-workaround: false;*/
pid: "/run/user/1000/rofi.pid";
/* display-window: ;*/
/* display-windowcd: ;*/
/* display-run: ;*/
/* display-ssh: ;*/
/* display-drun: ;*/
/* display-combi: ;*/
/* display-keys: ;*/
/* display-filebrowser: ;*/
/* kb-primary-paste: "Control+V,Shift+Insert";*/
/* kb-secondary-paste: "Control+v,Insert";*/
/* kb-clear-line: "Control+w";*/
/* kb-move-front: "Control+a";*/
/* kb-move-end: "Control+e";*/
/* kb-move-word-back: "Alt+b,Control+Left";*/
/* kb-move-word-forward: "Alt+f,Control+Right";*/
/* kb-move-char-back: "Left,Control+b";*/
/* kb-move-char-forward: "Right,Control+f";*/
/* kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/
/* kb-remove-word-forward: "Control+Alt+d";*/
/* kb-remove-char-forward: "Delete,Control+d";*/
/* kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";*/
/* kb-remove-to-eol: "Control+k";*/
/* kb-remove-to-sol: "Control+u";*/
/* kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/
/* kb-accept-custom: "Control+Return";*/
/* kb-accept-custom-alt: "Control+Shift+Return";*/
/* kb-accept-alt: "Shift+Return";*/
/* kb-delete-entry: "Shift+Delete";*/
/* kb-mode-next: "Shift+Right,Control+Tab";*/
/* kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/
/* kb-mode-complete: "Control+l";*/
/* kb-row-left: "Control+Page_Up";*/
/* kb-row-right: "Control+Page_Down";*/
/* kb-row-up: "Up,Control+p";*/
/* kb-row-down: "Down,Control+n";*/
/* kb-row-tab: "";*/
/* kb-element-next: "Tab";*/
/* kb-element-prev: "ISO_Left_Tab";*/
/* kb-page-prev: "Page_Up";*/
/* kb-page-next: "Page_Down";*/
/* kb-row-first: "Home,KP_Home";*/
/* kb-row-last: "End,KP_End";*/
/* kb-row-select: "Control+space";*/
/* kb-screenshot: "Alt+S";*/
/* kb-ellipsize: "Alt+period";*/
/* kb-toggle-case-sensitivity: "grave,dead_grave";*/
/* kb-toggle-sort: "Alt+grave";*/
/* kb-cancel: "Escape,Control+g,Control+bracketleft";*/
/* kb-custom-1: "Alt+1";*/
/* kb-custom-2: "Alt+2";*/
/* kb-custom-3: "Alt+3";*/
/* kb-custom-4: "Alt+4";*/
/* kb-custom-5: "Alt+5";*/
/* kb-custom-6: "Alt+6";*/
/* kb-custom-7: "Alt+7";*/
/* kb-custom-8: "Alt+8";*/
/* kb-custom-9: "Alt+9";*/
/* kb-custom-10: "Alt+0";*/
/* kb-custom-11: "Alt+exclam";*/
/* kb-custom-12: "Alt+at";*/
/* kb-custom-13: "Alt+numbersign";*/
/* kb-custom-14: "Alt+dollar";*/
/* kb-custom-15: "Alt+percent";*/
/* kb-custom-16: "Alt+dead_circumflex";*/
/* kb-custom-17: "Alt+ampersand";*/
/* kb-custom-18: "Alt+asterisk";*/
/* kb-custom-19: "Alt+parenleft";*/
/* ml-row-left: "ScrollLeft";*/
/* ml-row-right: "ScrollRight";*/
/* ml-row-up: "ScrollUp";*/
/* ml-row-down: "ScrollDown";*/
/* me-select-entry: "MousePrimary";*/
/* me-accept-entry: "MouseDPrimary";*/
/* me-accept-custom: "Control+MouseDPrimary";*/
kb-custom-1: "";
kb-custom-2: "";
kb-custom-3: "";
kb-custom-4: "";
kb-custom-5: "";
kb-custom-6: "";
kb-custom-7: "";
kb-custom-8: "";
kb-custom-9: "";
kb-custom-10: "";
kb-custom-11: "";
kb-custom-12: "";
kb-custom-13: "";
kb-custom-14: "";
kb-custom-15: "";
kb-custom-16: "";
kb-custom-17: "";
kb-custom-18: "";
kb-custom-19: "";
kb-select-1: "Alt+1";
kb-select-2: "Alt+2";
kb-select-3: "Alt+3";
kb-select-4: "Alt+4";
kb-select-5: "Alt+5";
kb-select-6: "Alt+6";
kb-select-7: "Alt+7";
kb-select-8: "Alt+8";
kb-select-9: "Alt+9";
kb-select-10:"Alt+0";
timeout {
action: "kb-cancel";
delay: 0;
}
filebrowser {
directories-first: true;
sorting-method: "name";
}
}
//@theme "theme" // read theme in ./theme.rasi
@theme "/usr/share/rofi/themes/Monokai.rasi"
-80
View File
@@ -1,80 +0,0 @@
alias diff='diff -u --color'
alias tree='eza --tree'
alias ls='eza --group-directories-first' # make output more readable and show directories first
alias ll='ls --long --header --git'
alias li='ls --git-ignore'
alias la='ls --all'
alias less='less --use-color'
alias cp="cp -i" # Confirm before overwriting something
alias df='df -h' # Human-readable sizes
alias vi='nvim' # Show sizes in MB
alias r='R'
alias xar="xarchiver"
alias g="git"
alias py="python"
alias act="source .venv/bin/activate"
alias copy="wl-copy"
alias paste="wl-paste"
alias todo="rg -A 1 -B 1 '(TODO|FIXME|NOTE)'"
# Add an "alert" alias for long running commands. Use like so: 'sleep 10; alert'
alias notify='notify-send --urgency=normal -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
#Add a "dotfiles" alias for .dotfile git repo
alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
#alias 'dotfiles-update'='dotfiles commit -a && dotfiles push'
sleep() {
if [ "$1" = "-m" ]; then
if [ -n "$2" ]; then
sleep "$(( $2 * 60 ))"
else
echo "Please provide a duration in minutes after the -m flag."
fi
else
/usr/bin/sleep "$@"
fi
}
colors() {
local fgc bgc vals seq0
printf "Color escapes are %s\n" '\e[${value};...;${value}m'
printf "Values 30..37 are \e[33mforeground colors\e[m\n"
printf "Values 40..47 are \e[43mbackground colors\e[m\n"
printf "Value 1 gives a \e[1mbold-faced look\e[m\n\n"
# foreground colors
for fgc in {30..37}; do
# background colors
for bgc in {40..47}; do
fgc=${fgc#37} # white
bgc=${bgc#40} # black
vals="${fgc:+$fgc;}${bgc}"
vals=${vals%%;}
seq0="${vals:+\e[${vals}m}"
printf " %-9s" "${seq0:-(default)}"
printf " ${seq0}TEXT\e[m"
printf " \e[${vals:+${vals+$vals;}}1mBOLD\e[m"
done
echo; echo
done
}
wttr() #alternatively use schachmat/wego
{
for city in "$@"; do
curl "wttr.in/$city";
done
}
pwd() # print path of files
{
echo "$PWD/$1"
}
-51
View File
@@ -1,51 +0,0 @@
# Sway CheatSheet #
Super = Windows Key
# common operations
Super Return *term* (`kitty`)
Super q *quit* (kill focused window)
Super Shift q *quit* (kill focused window)
Super d *launcher*
Super Shift d *dmenu*
Super x *show archlinux-logout* (lock/suspend/logout/reboot/shutdown)
Super Shift r *reload config files* (`reload`)
Super Escape *kill application*
# screenshot
PrintSrc *full screenshot*
Shift PrintSrc *screenshot active*
Ctrl PrintSrc *screenshot selection*
# application shortcuts
Ctrl Alt F *firefox*
Ctrl Alt U *pavucontrol*
Ctrl Alt P *pamac-manager*
Super Shift Return *file manager* (`thunar`)
Super F1 *browser* (`firefox`)
# container layout
Super Shift Space *toggle tiling/floating mode*
Super left mouse button *move window*
Super right mouse button *resize window*
# workspaces
Super 1 .. 0 *switch to workspace 1 .. 10*
Super Shift 1 .. 0 *move container to workspace 1 .. 10*
# notes
- *Sway* is documented through man pages - man sway.
- *Waybar* is documented through man pages - man waybar.
- User configuration files are in `~/.config/`.
- Sway configuration files are in `~/.config/sway/config.d/`.
- Similarly, Waybar configuration is in `~/.config/waybar`.
# user githubs
- https://gitlab.com/garuda-linux/themes-and-settings/settings/garuda-sway-settings
- https://gitlab.com/risca-dot-files/sway/-/tree/master/.config/sway
- https://github.com/weasnerb/sway-dots
# share your own files on github
- so we can all learn
- and you have a backup
-9
View File
@@ -1,9 +0,0 @@
# Config for sway
#
# Read `man 5 sway` for a complete reference.
# user config directory
include $HOME/.config/sway/config.d/*
# only enable this if every app you use is compatible with wayland
# xwayland disable
@@ -1,42 +0,0 @@
# sway does not set DISPLAY/WAYLAND_DISPLAY in the systemd user environment
# See FS#63021
# Adapted from xorg's 50-systemd-user.sh, which achieves a similar goal.
# default greeting background
output "*" bg /usr/share/backgrounds/arcolinux/arco-wallpaper.jpg fill
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
# Auth with polkit-gnome:
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
# Desktop notifications
exec mako -c ~/.config/sway/mako/config
# Wlsunset - night colors - install this application
# exec ~/.config/sway/scripts/light.sh
# Welcome
exec dex -a -s /etc/xdg/autostart/:~/.config/autostart/
# nm-applet
exec nm-applet --indicator
exec blueman-tray
# Clipman wl-paste
# exec clipman restore
# exec wl-paste -t text --watch clipman store
# Gnome Keyring
exec gnome-keyring-daemon --daemonize --start --components=gpg,pkcs11,secrets,ssh
# for Touchpad gestures - laptop
# exec libinput-gestures-setup start
# Xdg Desktop Portal
# exec /usr/libexec/xdg-desktop-portal
# nwg-drawer
exec_always nwg-drawer -r
-6
View File
@@ -1,6 +0,0 @@
# Clamshell Mode
set $laptop <eDP-1>
bindswitch --reload --locked lid:on output $laptop disable
bindswitch --reload --locked lid:off output $laptop enable
exec_always ~/.config/sway/scripts/clamshell.sh
-233
View File
@@ -1,233 +0,0 @@
# vim: filetype=i3config
# Logo key. Use Mod1 for Alt.
set $mod Mod4
bindsym $mod+F12 reload
bindsym $mod+Escape exec swaylock -c 000000 & sleep 5 && systemctl suspend
bindsym $mod+Shift+Escape exec systemctl poweroff
focus_follows_mouse no
# Variables to set
set $terminal alacritty
set $browser firefox
set $files thunar
set $editor code
### Idle configuration
#with lock
#exec swayidle -w\
# timeout 1200 'swaylock -f -C ~/.config/sway/swaylock/config'\
# timeout 1200 'swaymsg "output * dpms off"' \
# resume 'swaymsg "output * dpms on"' \
# before-sleep 'swaylock -C ~/.config/sway/swaylock/config'
# without lock
#exec swayidle -w\
# timeout 1200 'swaymsg "output * dpms off"' \
# resume 'swaymsg "output * dpms on"'
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
### Key bindings
## Function keys
bindsym $mod+F1 exec $browser
bindsym $mod+F2 exec $editor
bindsym $mod+F3 exec inkscape
bindsym $mod+F4 exec gimp
bindsym $mod+F5 exec meld
bindsym $mod+F6 exec vlc
bindsym $mod+F7 exec virtualbox
bindsym $mod+F8 exec $files
bindsym $mod+F9 exec lollypop
bindsym $mod+F10 exec spotify
bindsym $mod+F11 exec rofi -show drun
bindsym $mod+Return exec "rofi -show"
bindsym $mod+Shift+Space exec $terminal
# archlinux tweak tool
bindsym Ctrl+Alt+e archlinux-tweak-tool
# archlinux-logout
bindsym $mod+x exec archlinux-logout
bindsym $mod+Shift+x exec archlinux-logout
## Lock Screen
bindsym Ctrl+Alt+l exec ~/.config/sway/scripts/lockman.sh
bindsym $mod+q kill
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.
floating_modifier $mod normal
# conky
bindsym $mod+c exec conky-toggle
bindsym $mod+Ctrl+c exec killall conky
bindsym Ctrl+Alt+Next exec conky-rotate -n
bindsym Ctrl+Alt+Prior exec conky-rotate -p
#bindsym $mod+Escape exec ~/.config/sway/scripts/wkill.sh
# CONTROL + ALT
bindsym $mod+e exec thunar
bindsym $mod+w exec firefox
bindsym Ctrl+Alt+p exec pamac-manager
bindsym Ctrl+Alt+u exec pavucontrol
#
# Moving around:
#
# Move your focus around
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# Move the focused window with the same, but add Shift
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
#
# Workspaces:
#
# Qwerty
# Switch to workspace
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+2 move container to workspace number 2
bindsym $mod+Shift+3 move container to workspace number 3
bindsym $mod+Shift+4 move container to workspace number 4
bindsym $mod+Shift+5 move container to workspace number 5
bindsym $mod+Shift+6 move container to workspace number 6
bindsym $mod+Shift+7 move container to workspace number 7
bindsym $mod+Shift+8 move container to workspace number 8
bindsym $mod+Shift+9 move container to workspace number 9
bindsym $mod+Shift+0 move container to workspace number 10
# Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default.
bindsym $mod+Prior container prev
bindsym $mod+Shift+Prior move container to workspace prev
bindsym $mod+Next workspace next
bindsym $mod+Shift+Next move container to workspace next
bindsym $mod+Tab workspace back_and_forth
# moving workspaces between screens:
bindsym $mod+Left move workspace to output left
bindsym $mod+Up move workspace to output up
bindsym $mod+Right move workspace to output right
bindsym $mod+Down move workspace to output down
#
# Layout stuff:
#
# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
bindsym $mod+b splith
bindsym $mod+v splitv
# Switch the current container between different layout styles
bindsym $mod+t layout toggle tabbed splith
# Make the current focus fullscreen
bindsym $mod+f fullscreen
# Toggle the current focus between tiling and floating mode
bindsym $mod+d floating toggle
# Swap focus between the tiling area and the floating area
#bindsym $mod+space focus mode_toggle
# Move focus to the parent container
bindsym $mod+a focus parent
#
# Scratchpad:
#
# Sway has a "scratchpad", which is a bag of holding for windows.
# You can send windows there and get them back later.
# Move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show
#
# Resizing containers:
#
mode "resize" {
# left will shrink the containers width
# right will grow the containers width
# up will shrink the containers height
# down will grow the containers height
bindsym Left resize shrink width 10px
bindsym Down resize grow height 10px
bindsym Up resize shrink height 10px
bindsym Right resize grow width 10px
# Return to default mode
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
}
bindsym $mod+r mode "resize"
# Resize floating windows with mouse scroll:
bindsym --whole-window --border $mod+button4 resize shrink height 5 px or 5 ppt
bindsym --whole-window --border $mod+button5 resize grow height 5 px or 5 ppt
bindsym --whole-window --border $mod+shift+button4 resize shrink width 5 px or 5 ppt
bindsym --whole-window --border $mod+shift+button5 resize grow width 5 px or 5 ppt
#
# Volume
#
bindsym XF86AudioRaiseVolume exec pamixer -ui 2 && pamixer --get-volume > $SWAYSOCK.wob
bindsym XF86AudioLowerVolume exec pamixer -ud 2 && pamixer --get-volume > $SWAYSOCK.wob
bindsym XF86AudioMute exec pamixer --toggle-mute && ( pamixer --get-mute && echo 0 > $SWAYSOCK.wob ) || pamixer --get-volume > $SWAYSOCK.wob
#
# Player
#
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
bindsym XF86AudioStop exec playerctl stop
#
# Backlight
# install light if needed
# bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
# bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
#
# Screenshots
#
bindsym print exec grimshot --notify save output
bindsym Shift+print exec grimshot --notify save active
bindsym Ctrl+print exec grimshot --notify save area
bindsym Ctrl+$mod+print exec flameshot gui
-27
View File
@@ -1,27 +0,0 @@
### Input configuration
#
# Example configuration:
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Put your touchpad's ID to replace "Touchpad-ID" (keep the quotation marks)
input type:touchpad {
dwt enabled
tap enabled
natural_scroll enabled
}
# Read `man 5 sway-input` for more information about this section.
#
# Change or switch the next setting
input type:keyboard {
xkb_layout eu
xkb_numlock enabled
repeat_delay 200
repeat_rate 35
}
input "5824:10203:MoErgo_Glove80_Left_Keyboard" {
xkb_layout eu
}
-20
View File
@@ -1,20 +0,0 @@
### Output configuration
set $output-1 DP_1
set $output-2 DP_2
set $output-3 DP_3
output $output-1 resolution 2560x1440 pos 0 0
output $output-2 resolution 2560x1440 pos 2560 0
output $output-3 resolution 2560x1440 pos 5120 0
workspace 1 output $output-1
workspace 2 output $output-2
workspace 3 output $output-3
#
# Example configuration:
#
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
#
# Wacom Tablet - Example
# input "1386:884:Wacom_Intuos_S_Pad" map_to_output HDMI-A-1
# input "1386:884:Wacom_Intuos_S_Pen" map_to_output HDMI-A-1
-30
View File
@@ -1,30 +0,0 @@
# set floating (nontiling)for apps needing it:
#for_window [class="Yad" instance="yad"] floating enable
#for_window [app_id="yad"] floating enable
#for_window [app_id="blueman-manager"] floating enable, resize set width 40 ppt height 30 ppt
# set floating (nontiling) for special apps:
#for_window [class="Xsane" instance="xsane"] floating enable
#for_window [app_id="pavucontrol" ] floating enable, resize set width 40 ppt height 30 ppt
#for_window [class="qt5ct" instance="qt5ct"] floating enable, resize set width 60 ppt height 50 ppt
#for_window [class="Bluetooth-sendto" instance="bluetooth-sendto"] floating enable
#for_window [app_id="pamac-manager"] floating enable, resize set width 80 ppt height 70 ppt
#for_window [class="Lxappearance"] floating enable, resize set width 60 ppt height 50 ppt
# set floating for window roles
for_window [window_role="pop-up"] floating enable
for_window [window_role="bubble"] floating enable
for_window [window_role="task_dialog"] floating enable
for_window [window_role="Preferences"] floating enable
for_window [window_type="dialog"] floating enable
for_window [window_type="menu"] floating enable
for_window [window_role="About"] floating enable
for_window [title="File Operation Progress"] floating enable, border pixel 1, sticky enable, resize set width 40 ppt height 30 ppt
for_window [title="Picture in picture"] floating enable, sticky enable
for_window [title="nmtui"] floating enable, resize set width 50 ppt height 70 ppt
for_window [title="htop"] floating enable, resize set width 50 ppt height 70 ppt
for_window [app_id="xsensors"] floating enable
for_window [title="Save File"] floating enable
# Inhibit idle
for_window [app_id="Chromium"] inhibit_idle fullscreen
-26
View File
@@ -1,26 +0,0 @@
# vim: filetype=i3config
# Scratchpad binds
exec_always bitwarden-desktop
for_window [app_id="Bitwarden"] {
floating enable
sticky enable
resize set width 1200 height 900
move position center
move scratchpad
}
bindsym $mod+p [app_id="Bitwarden"] scratchpad show
exec_always alacritty --class="dropdown_tmux" -e 'tmux'
for_window [app_id="dropdown_tmux"] {
floating enable
sticky enable
resize set width 1200 height 900
move position center
move scratchpad
}
bindsym $mod+Space [app_id="dropdown_tmux"] scratchpad show
# General dropdown window traits. The order can matter.
# sticky allows windows to stay visible even when switching workspaces
#for_window [instance="dropdown_tmux"] border pixel 3
-27
View File
@@ -1,27 +0,0 @@
# Apply gtk theming
# exec_always ~/.config/sway/scripts/import-gsettings
# exec_always ~/.config/sway/scripts/ricing
exec_always ~/.config/sway/scripts/gtkthemes
# Hide titlebar on windows:
default_border pixel 2
# Default Font
font pango:Noto Sans Regular 10
# Thin borders:
smart_borders off
# Title format for windows
for_window [shell="xdg_shell"] title_format "%title (%app_id)"
for_window [shell="x_wayland"] title_format "%class - %title"
## Window decoration
# class border backgr. text indicator child_border
client.focused #88c0d0 #434c5e #eceff4 #8fbcbb #88c0d0
client.focused_inactive #88c0d0 #2e3440 #d8dee9 #4c566a #4c566a
client.unfocused #88c0d0 #2e3440 #d8dee9 #4c566a #4c566a
client.urgent #ebcb8b #ebcb8b #2e3440 #8fbcbb #ebcb8b
exec $HOME/.config/sway/scripts/statusbar
-1
View File
@@ -1 +0,0 @@
https://curiouscoding.nl/linux/environment-variables/
-47
View File
@@ -1,47 +0,0 @@
# Clean Up Home Directory
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
export TS3_CONFIG_DIR="$XDG_CONFIG_HOME/ts3client"
export GRADLE_USER_HOME="$XDG_DATA_HOME/gradle"
export CARGO_HOME="$XDG_DATA_HOME/cargo"
export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME/jupyter"
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java"
export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export WGETRC="$XDG_CONFIG_HOME/wgetrc"
alias vscodium='vscodium --extensions-dir "$XDG_DATA_HOME/vscode"'
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
export CARGO_HOME="$XDG_DATA_HOME/cargo"
alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
alias yarn='yarn --use-yarnrc "$XDG_CONFIG_HOME/yarn/config"'
alias code='code --extensions-dir "$XDG_DATA_HOME/vscode"'
alias dict='dict -c "$XDG_CONFIG_HOME"/dict/dictrc '
# THEME
export QT_QPA_PLATFORMTHEME="qt5ct"
export QT_AUTO_SCREEN_SCALE_FACTOR=0
# global theme colors
export BLACK="#272822"
export WHITE="#FFFFFF"
export RED="#F92672"
export BLUE="#66D9EF"
export GREEN="#A6E22E"
export ORANGE="#FD971F"
export YELLOW="#E6DB74"
export PURPLE="#AE81FF"
export FONT="Noto"
export FONTSIZE="12"
# default applications
export EDITOR=/usr/bin/nvim
export BROWSER=/usr/bin/firefox
export TERMINAL=/usr/bin/alacritty
export EXPLORER=/usr/bin/thunar
export MAILCLIENT=/usr/bin/thunderbird
# set BAT as man pager
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
export MANROFFOPT="-c"
-15
View File
@@ -1,15 +0,0 @@
anchor=bottom-right
font=monospace 10
background-color=#3b4252
text-color=#eceff4
width=350
margin=0,20,20
padding=10
border-size=2
border-color=#4c566a
border-radius=5
default-timeout=10000
group-by=summary
[grouped]
format=<b>%s</b>\n%b
-7
View File
@@ -1,7 +0,0 @@
#!/usr/bin/bash
# change output
if cat /proc/acpi/button/lid/LID/state | grep -q open; then
swaymsg output <eDP-1> enable
else
swaymsg output <eDP-1> disable
fi
-31
View File
@@ -1,31 +0,0 @@
#!/usr/bin/env bash
## Copyright (C) 2020-2022 Aditya Shakya <adi1090x@gmail.com>
## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3
## Set GTK Themes, Icons, Cursor and Fonts
# you can set your icons, themes and cursor via
# dconf editor
# cursor is also in wayfire.ini
# /org/gnome/desktop/interface
# or run these commands
# https://github.com/WayfireWM/wayfire/wiki/Tips-&-Tricks#gtk-theme-not-working
# usage: import-gsettings
config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini"
if [ ! -f "$config" ]; then exit 1; fi
gnome_schema="org.gnome.desktop.interface"
gtk_theme="$(grep 'gtk-theme-name' "$config" | sed 's/.*\s*=\s*//')"
icon_theme="$(grep 'gtk-icon-theme-name' "$config" | sed 's/.*\s*=\s*//')"
cursor_theme="$(grep 'gtk-cursor-theme-name' "$config" | sed 's/.*\s*=\s*//')"
font_name="$(grep 'gtk-font-name' "$config" | sed 's/.*\s*=\s*//')"
gsettings set "$gnome_schema" gtk-theme "$gtk_theme"
gsettings set "$gnome_schema" icon-theme "$icon_theme"
gsettings set "$gnome_schema" cursor-theme "$cursor_theme"
gsettings set "$gnome_schema" font-name "$font_name"
-15
View File
@@ -1,15 +0,0 @@
#!/bin/sh
# usage: import-gsettings
config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini"
if [ ! -f "$config" ]; then exit 1; fi
gnome_schema="org.gnome.desktop.interface"
gtk_theme="$(grep 'gtk-theme-name' "$config" | cut -d'=' -f2)"
icon_theme="$(grep 'gtk-icon-theme-name' "$config" | cut -d'=' -f2)"
cursor_theme="$(grep 'gtk-cursor-theme-name' "$config" | cut -d'=' -f2)"
font_name="$(grep 'gtk-font-name' "$config" | cut -d'=' -f2)"
gsettings set "$gnome_schema" gtk-theme "$gtk_theme"
gsettings set "$gnome_schema" icon-theme "$icon_theme"
gsettings set "$gnome_schema" cursor-theme "$cursor_theme"
gsettings set "$gnome_schema" font-name "$font_name"
-6
View File
@@ -1,6 +0,0 @@
#!/bin/sh
# install wlsunset
CONTENT=$(curl -s https://freegeoip.app/json/)
longitude=$(echo $CONTENT | jq .longitude)
latitude=$(echo $CONTENT | jq .latitude)
wlsunset -l $latitude -L $longitude
-9
View File
@@ -1,9 +0,0 @@
#!/bin/sh
# Times the screen off and puts it to background
swayidle \
timeout 5 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' &
# Locks the screen immediately
swaylock -C ~/.config/sway/swaylock/config
# Kills last background task so idle timer doesn't keep running
kill %%
-8
View File
@@ -1,8 +0,0 @@
#!/bin/sh
gsettings set org.gnome.desktop.interface gtk-theme Arc-Dark
gsettings set org.gnome.desktop.interface icon-theme a-candy-beauty-icon-theme
gsettings set org.gnome.desktop.interface cursor-theme Bibata-Modern-Ice
gsettings set org.gnome.desktop.interface font-name "Noto Sans 11"
gsettings set org.gnome.desktop.interface document-font-name "Noto Sans 11"
gsettings set org.gnome.desktop.interface font-hinting slight
-19
View File
@@ -1,19 +0,0 @@
#!/usr/bin/env bash
## Copyright (C) 2020-2022 Aditya Shakya <adi1090x@gmail.com>
## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3
## launch waybar with alt config
# Terminate already running bar instances
killall -q waybar
# Wait until the processes have been shut down
while pgrep -x waybar >/dev/null; do sleep 1; done
CONFIG="$HOME/.config/sway/waybar/config.ini"
STYLE="$HOME/.config/sway/waybar/style.css"
if [[ ! `pidof waybar` ]]; then
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
fi
-4
View File
@@ -1,4 +0,0 @@
#!/bin/sh
FOCUSED_APP_ID=$(swaymsg -t get_tree | jq '.. | select(.type?) | select(.focused==true).pid')
kill -9 $FOCUSED_APP_ID
-25
View File
@@ -1,25 +0,0 @@
# indicator
# no-unlock-indicator
# daemonize
indicator-caps-lock
# datestr=%A
image=$HOME/.config/sway/swaylock/swaylock.jpg
scaling=fill
font=Noto Sans
font-size=20
# Ring
indicator-radius=360
# line-uses-ring
line-color=#3b4252
text-color=#d8dee9
inside-color=#2e344098
inside-ver-color=#5e81ac
line-ver-color=#5e81ac
ring-ver-color=#5e81ac98
ring-color=#4c566a
key-hl-color=#5e81ac
separator-color=#4c566a
layout-text-color=#eceff4
line-wrong-color=#d08770
Binary file not shown.

Before

Width:  |  Height:  |  Size: 419 KiB

-144
View File
@@ -1,144 +0,0 @@
// https://github.com/Alexays/Waybar/wiki
{
"layer": "bottom", // Waybar at top layer
"position": "top", // Waybar position (top|bottom|left|right)
"height": 24,
//"width": 1350, // Waybar width
// Choose the order of the modules idle_inhibitor
"modules-left": ["custom/launcher","sway/workspaces", "sway/mode", "sway/window"],
"modules-right": ["backlight", "cpu", "memory", "battery", "pulseaudio", "idle_inhibitor", "clock","tray", "custom/keybindings", "custom/archlinuxlogout"],
// Modules configuration
"sway/workspaces": {
"disable-scroll": false,
//"all-outputs": true,
"format": "{icon}",
"format-icons": {
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"10": "10",
}
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"sway/window": {
"format": "{}"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
"icon-size": 14,
"spacing": 5
},
"clock": {
"tooltip-format": "{:%A %B %d %Y | %H:%M}",
"format": " {:%a %d %b %H:%M}",
"format-alt": " {:%d/%m/%Y %H:%M:%S}",
//"timezones": [ "$TZ" ],
//"max-length": 200
"interval": 1
},
"cpu": {
"format": "cpu: {usage: >3}%",
"on-click": "alacritty -e btop"
},
"memory": {
"format": "mem: {: >3}%",
"on-click": "alacritty -e btop"
},
"temperature": {
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C ",
"format": "{temperatureC}°C "
},
"backlight": {
// "device": "acpi_video1",
"format": "{icon} {percent: >3}%",
"format-icons": ["", ""],
"on-scroll-down": "brightnessctl -c backlight set 5%-",
"on-scroll-up": "brightnessctl -c backlight set +5%"
},
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity: >3}%",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
//"format-icons": ["", "", "", "", "", "", "", "", "", ""]
},
"network": {
// "interface": "wlp2s0", // (Optional) To force the use of this interface
"format": "⚠ Disabled",
"format-wifi": " {essid}",
"format-ethernet": " {ifname}: {ipaddr}/{cidr}",
"format-disconnected": "⚠ Disconnected",
"on-click": "alacritty -e nmtui"
},
"pulseaudio": {
"scroll-step": 5,
"format": "{icon} {volume: >3}%",
"format-bluetooth": "{icon} {volume: >3}%",
"format-muted":"󰖁 muted",
"format-icons": {
"headphones": "󰕾",
"handsfree": "󰕾",
"headset": "󰕾",
"phone": "",
"portable": "",
"car": "",
"default": ["󰕾", "󰕾"]
},
"on-click": "pavucontrol"
},
"custom/pacman": {
"format": " {}",
"interval": 7200, // every two hours
"exec": "i=$(checkupdates); echo \"$i\" |wc -l; echo \"$i\" |column -t |tr '\n' '\r'", // # of updates and tooltip details
"exec-if": "exit 0", // always run; consider advanced run conditions
"on-click": "alacritty -e sudo pacman -Syu", // update system
"signal": 8
},
"custom/power": {
"format":" ⏻ ",
"on-click": "nwg-bar",
"tooltip": false,
},
"custom/archlinuxlogout": {
"format":" ⏻ ",
"on-click": "archlinux-logout",
"tooltip": false,
},
"custom/keyboard-layout": {
"exec": "swaymsg -t get_inputs | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4",
// Interval set only as a fallback, as the value is updated by signal
"interval": 30,
"format": " {}", // Icon: keyboard
// Signal sent by Sway key binding (~/.config/sway/key-bindings)
"signal": 1, // SIGHUP
"tooltip": false,
"on-click": "~/.config/waybar/scripts/keyhint",
},
"custom/launcher": {
"format":" ",
"on-click": "exec nwg-drawer -c 7 -is 70 -spacing 23",
"tooltip": false,
},
}
@@ -1,3 +0,0 @@
#!/bin/bash
i="$(checkupdates)"
printf "%b%b" "$i" "${i:+\n}" |wc -l; echo "$i" |column -t #|tr '\n' '\r'
-2
View File
@@ -1,2 +0,0 @@
#!/bin/sh
kitty -e micro ~/.config/sway/cheatsheet.md
-195
View File
@@ -1,195 +0,0 @@
/* =============================================================================
*
* Waybar configuration
*
* Configuration reference: https://github.com/Alexays/Waybar/wiki/Configuration
*
* =========================================================================== */
/* -----------------------------------------------------------------------------
* Keyframes
* -------------------------------------------------------------------------- */
/*
Polar Night
nord0 #2e3440
nord1 #3b4252
nord2 #434c5e
nord3 #4c566a
Snow Storm
nord4 #d8dee9
nord5 #e5e9f0
nord6 #eceff4
Frost
nord7 #8fbcbb
nord8 #88c0d0
nord9 #81a1c1
nord10 #5e81ac
Aurora
nord11 #bf616a
nord12 #d08770
nord13 #ebcb8b
nord14 #a3be8c
nord15 #b48ead
*/
/* -----------------------------------------------------------------------------
* Base styles
* -------------------------------------------------------------------------- */
/* Reset all styles */
* {
color: #eceff4;
border: 0;
border-radius: 0;
padding: 0 0;
font-family:Noto Sans;
font-size: 12px;
margin-right: 5px;
margin-left: 5px;
padding-bottom:3px;
}
window#waybar {
/* background:#2e3440;*/
background:rgba(33, 33, 33, 0.8);
}
#workspaces button {
padding: 2px 0px;
border-bottom: 2px;
color: #eceff4;
border-color: #d8dee9;
border-style: solid;
margin-top:2px;
}
#workspaces button.focused {
border-color: #81a1c1;
}
#mode {
color: #ebcb8b;
}
#clock, #battery, #cpu, #memory,#idle_inhibitor, #temperature,#custom-keyboard-layout, #backlight, #network, #pulseaudio, #mode, #tray, #window,#custom-launcher,#custom-power,#custom-pacman {
padding: 0 3px;
border-bottom: 2px;
border-style: solid;
}
/* -----------------------------------------------------------------------------
* Module styles
* -------------------------------------------------------------------------- */
#clock {
color:#a3be8c;
}
#backlight {
color: #ebcb8b;
}
#battery {
color: #d8dee9;
}
#battery.charging {
color: #81a1c1;
}
@keyframes blink {
to {
color: #4c566a;
background-color: #eceff4;
}
}
#battery.critical:not(.charging) {
background: #bf616a;
color: #eceff4;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
#cpu {
color:#a3be8c ;
}
#memory {
color: #d3869b;
}
#network.disabled {
color:#bf616a;
}
#network{
color:#a3be8c;
}
#network.disconnected {
color: #bf616a;
}
#pulseaudio {
color: #b48ead;
}
#pulseaudio.muted {
color: #3b4252;
}
#temperature {
color: #8fbcbb;
}
#temperature.critical {
color: #bf616a;
}
#idle_inhibitor {
color: #ebcb8b;
}
#tray {
}
#custom-launcher,#custom-power,#custom-archlinuxlogout{
border-style: hidden;
margin-top:2px;
font-size: 20px;
}
#custom-archlinuxlogout{
border-style: hidden;
margin-top:2px;
font-size: 20px;
}
#custom-keybindings{
border-style: hidden;
margin-top:2px;
font-size: 20px;
}
#window{
border-style: hidden;
margin-top:1px;
}
#mode{
margin-bottom:3px;
}
#custom-keyboard-layout{
color:#d08770;
}
-20
View File
@@ -1,20 +0,0 @@
[user]
email = erikneller@gmx.de
name = eneller
[alias]
diff-words = diff --color-words='[^[:space:]]|([[:alnum:]]|UTF_8_GUARD)+'
st = status
cm = commit
# TODO use git-delta
# the following aliases are defined as bash scripts, only here for completion
home = "!git-home"
root = "!git-root"
ignore = "!git-ignore"
[color]
ui = auto
[branch]
sort = -committerdate
[init]
defaultBranch = main
[fetch]
prune = true
-11
View File
@@ -1,11 +0,0 @@
#!/usr/bin/env bash
# git script that will return the path of the current git project.
# can be used to execute commands in the directory as well.
# uses git >= 2.13 --show-superproject-working-tree
path=$(git rev-parse --show-toplevel);
[[ $? -ne 0 ]] && exit $?
if [ $# -eq 0 ]; then
echo "$path";
else
cd $path && eval "$@";
fi
-122
View File
@@ -1,122 +0,0 @@
#!/usr/bin/env bash
GIT_DIR=$(git rev-parse --git-dir 2>/dev/null)
function show_contents {
local file="${2/#~/$HOME}"
if [ -f "$file" ]; then
echo "$1 gitignore: $2" && cat "$file"
else
echo "There is no $1 .gitignore yet"
fi
}
function cd_to_git_root {
local error_level="$1"
if ! git rev-parse --git-dir &>/dev/null; then
if [ "$error_level" = '--warn' ]; then
echo "Warning: Not currently in a Git repository" >&2
elif [ "$error_level" = '--error' ]; then
echo "Error: Not currently in a Git repository" >&2
exit 1
fi
fi
local result=
if result=$(git rev-parse --show-toplevel 2>/dev/null); then
cd "$result" || exit
fi
}
function global_ignore() {
if ! git config --global core.excludesFile 2>/dev/null; then
if [ -f "$HOME/.gitignore" ]; then
echo "$HOME/.gitignore"
else
echo "${XDG_CONFIG_HOME:-$HOME/.config}/git/ignore"
fi
fi
}
function show_global {
show_contents Global "$(global_ignore)"
}
function add_global {
local global_gitignore
global_gitignore="$(global_ignore)"
if [ -z "$global_gitignore" ]; then
echo "Can't find global .gitignore."
echo ""
echo "Use 'git config --global --add core.excludesfile ~/.gitignore-global' to set the path to your global gitignore file to '~/.gitignore-global'."
echo ""
else
add_patterns "$global_gitignore" "$@"
fi
}
function show_local {
cd_to_git_root --warn
show_contents Local .gitignore
}
function add_local {
cd_to_git_root --warn
add_patterns .gitignore "$@"
}
function show_private {
cd_to_git_root --error
show_contents Private "${GIT_DIR}/info/exclude"
}
function add_private {
cd_to_git_root --error
test -d "${GIT_DIR}/info" || mkdir -p "${GIT_DIR}/info"
add_patterns "${GIT_DIR}/info/exclude" "$@"
}
function add_patterns {
echo "Adding pattern(s) to: $1"
local file="${1/#~/$HOME}"
dir_name=$(dirname "$file")
if [ ! -d "$dir_name" ]; then
mkdir -p "$dir_name"
fi
if [ -s "$file" ]; then
# If the content of $file doesn't end with a newline, add one
test "$(tail -c 1 "$file")" != "" && echo "" >> "$file"
fi
for pattern in "${@:2}"; do
echo "... adding '$pattern'"
(test -f "$file" && test "$pattern" && grep -q -F -x -- "$pattern" "$file") || echo "$pattern" >> "$file"
done
}
if test $# -eq 0; then
show_global
echo "---------------------------------"
show_local
echo "---------------------------------"
show_private
else
case "$1" in
-l|--local)
test $# -gt 1 && add_local "${@:2}" && echo
show_local
;;
-g|--global)
test $# -gt 1 && add_global "${@:2}" && echo
show_global
;;
-p|--private)
test $# -gt 1 && add_private "${@:2}" && echo
show_private
;;
*)
add_local "$@"
;;
esac
fi
-14
View File
@@ -1,14 +0,0 @@
#!/usr/bin/env bash
# git script that will return the root path of a git project, even if currently in a submodule.
# can be used to execute commands in the root directory as well.
# uses git >= 2.13 --show-superproject-working-tree
path=$(git rev-parse --show-superproject-working-tree)
[[ $? -ne 0 ]] && exit $?
if [ -z "$path" ]; then
path=$(git rev-parse --show-toplevel);
fi
if [ $# -eq 0 ]; then
echo "$path";
else
cd $path && eval "$@";
fi
@@ -1,31 +0,0 @@
/*The following block hides the horizontal tabs for tree style tabs https://github.com/piroor/treestyletab/wiki/Code-snippets-for-custom-style-rules#for-userchromecss
* enable 'toolkit.legacyUserProfileCustomizations.stylesheets' in 'about:config' for this to work*/
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items {
opacity: 0;
pointer-events: none;
}
#main-window:not([tabsintitlebar="true"]) #TabsToolbar {
visibility: collapse !important;
}
/*remove top white line
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar .titlebar-spacer {
border-inline-end: none;
}*/
/*Hide the Tree style Tab header*/
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
display: none;
}
/*The following moves the window buttons to the lower bar after removeing horizontal tabs
Adding empty space for buttons */
/*#nav-bar {
margin-right:140px;
}*/
/* Fix for main menu calling by Alt button */
/*#titlebar{display: none}*/
#titlebar > #toolbar-menubar {
margin-top: 10px;
}
@@ -1,35 +0,0 @@
// firefox user.js configuration inspired by https://github.com/pyllyukko/user.js/ , https://github.com/arkenfox/user.js/
// PREF: cycle tabs by recently used
user_pref("browser.ctrlTab.sortByRecentlyUsed", true);
// PREF: Display a notification bar when websites offer data for offline use
// http://kb.mozillazine.org/Browser.offline-apps.notify
user_pref("browser.offline-apps.notify", true);
// PREF: Do not check if Firefox is the default browser
user_pref("browser.shell.checkDefaultBrowser", false);
// PREF: Disable the "new tab page" feature and show a blank tab instead
// https://wiki.mozilla.org/Privacy/Reviews/New_Tab
// https://support.mozilla.org/en-US/kb/new-tab-page-show-hide-and-customize-top-sites#w_how-do-i-turn-the-new-tab-page-off
user_pref("browser.newtabpage.enabled", false);
user_pref("browser.newtab.url", "web.neller.org/dashboard");
// PREF: DNS over HTTPS
user_pref("network.trr.mode", 2);
user_pref("network.trr.uri", "https://mozilla.cloudflare-dns.com/dns-query");
// PREF: disable Ctrl + Q shortcut to close all tabs
user_pref("browser.quitShortcut.disabled", true);
// PREF: dont hide address bar and toolbars in fullscreen mode
user.pref("browser.fullscreen.autohide", false);
// PREF: dont save login information
user_pref("signon.rememberSignons", false);
// PREF: enable userChrome.css for visual adjustments
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
// PREF: dont show sponsored suggestions
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
user_pref("browser.urlbar.suggest.topsites", false)
user_pref("browser.urlbar.groupLabels.enabled", false);
user_pref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts", false );
user_pref("browser.partnerlink.campaign.topsites","");
// PREF: dont open suggestions at all when entering URL Bar
user_pref("browser.urlbar.suggest.topsites", false);
// PREF: disable firefox pocket
user_pref("extensions.pocket.enabled", false);
user_pref("browser.tabs.inTitlebar", true);
-153
View File
@@ -1,153 +0,0 @@
#
# Example of a user's .screenrc file
#
# This is how one can set a reattach password:
# password ODSJQf.4IJN7E # "1234"
# no annoying audible bell, please
vbell on
# detach on hangup
autodetach on
# don't display the copyright page
startup_message off
# emulate .logout message
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
# advertise hardstatus support to $TERMCAP
# termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\'
# make the shell in every window a login shell
#shell -$SHELL
# autoaka testing
# shellaka '> |tcsh'
# shellaka '$ |sh'
# set every new windows hardstatus line to somenthing descriptive
# defhstatus "screen: ^En (^Et)"
defscrollback 1000
# don't kill window after the process died
# zombie "^["
# enable support for the "alternate screen" capability in all windows
# altscreen on
################
#
# xterm tweaks
#
#xterm understands both im/ic and doesn't have a status line.
#Note: Do not specify im and ic in the real termcap/info file as
#some programs (e.g. vi) will not work anymore.
termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
#80/132 column switching must be enabled for ^AW to work
#change init sequence to not switch width
termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l
# Make the output buffer large for (fast) xterms.
#termcapinfo xterm* OL=10000
termcapinfo xterm* OL=100
# tell screen that xterm can switch to dark background and has function
# keys.
termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l'
termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~'
termcapinfo xterm 'kh=\EOH:kI=\E[2~:kD=\E[3~:kH=\EOF:kP=\E[5~:kN=\E[6~'
# special xterm hardstatus: use the window title.
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
#terminfo xterm 'vb=\E[?5h$<200/>\E[?5l'
termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l'
# emulate part of the 'K' charset
termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337'
# xterm-52 tweaks:
# - uses background color for delete operations
termcapinfo xterm* be
################
#
# wyse terminals
#
#wyse-75-42 must have flow control (xo = "terminal uses xon/xoff")
#essential to have it here, as this is a slow terminal.
termcapinfo wy75-42 xo:hs@
# New termcap sequences for cursor application mode.
termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J
################
#
# other terminals
#
# make hp700 termcap/info better
termcapinfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@'
# Extend the vt100 desciption by some sequences.
termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC
terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC
termcapinfo linux C8
# old rxvt versions also need this
# termcapinfo rxvt C8
################
#
# keybindings
#
#remove some stupid / dangerous key bindings
bind k
bind ^k
bind .
bind ^\
bind \\
bind ^h
bind h
#make them better
bind 'K' kill
bind 'I' login on
bind 'O' login off
bind '}' history
# Yet another hack:
# Prepend/append register [/] to the paste if ^a^] is pressed.
# This lets me have autoindent mode in vi.
register [ "\033:se noai\015a"
register ] "\033:se ai\015a"
bind ^] paste [.]
################
#
# default windows
#
# screen -t local 0
# screen -t mail 1 mutt
# screen -t 40 2 rlogin server
# caption always "%3n %t%? @%u%?%? [%h]%?%=%c"
# hardstatus alwaysignore
# hardstatus alwayslastline "%Lw"
# bind = resize =
# bind + resize +1
# bind - resize -1
# bind _ resize max
#
# defnonblock 1
# blankerprg rain -d 100
# idle 30 blanker
-147
View File
@@ -1,147 +0,0 @@
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
source ~/.config/shell/alias.sh
export EDITOR=nvim
export VISUAL=$EDITOR
# set BAT as man pager
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
export MANROFFOPT="-c"
export PATH="$HOME/.cargo/bin:$PATH"
export PATH="$HOME/.bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
export PATH="$PATH:$(gem env user_gemhome)/bin"
export HISTCONTROL=ignoreboth:erasedups
#unsetopt beep # try disabling annoying beep sounds
setopt nobeep
autoload -Uz compinit # load completion
compinit
_comp_options+=(globdots) # Include hidden files.
eval "$(zoxide init zsh)"
setopt autocd # allow cd by only entering directory without cd command
setopt extendedglob # Extended globbing. Allows using regular expressions with *
setopt correct # Auto correct mistakes
setopt numericglobsort # Sort filenames numerically when it makes sense
setopt appendhistory
setopt sharehistory
export HISTSIZE=10000
export SAVEHIST=10000
HISTFILE=~/.history
setopt GLOB_DOTS
#share commands between terminal instances or not
#setopt SHARE_HISTORY
zstyle ':completion:*' special-dirs true # complete hidden directories
zstyle ':completion:*' special-files true # complete hidden files
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # Case insensitive tab completion
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" # Colored completion (different colors for dirs/files/etc)
zstyle ':completion:*' menu select # enable navigable menu for completion
zstyle ':completion:*' rehash true # Automatically update PATH entries
zstyle ':completion:*' matcher-list 'r:|[._-]=* r:|=*' # Smart matching of dashed values, e.g. f-b matching foo-bar
zstyle ':completion:*' group-name '' # Group results by category
zstyle ':completion:*' insert-tab false # Don't insert a literal tab when trying to complete in an empty buffer
zstyle ':completion:*' completer _complete _ignored _correct _approximate # Enable approximate completions
zstyle ':completion:*' verbose true # Verbose completion results
#zstyle ':completion:*' show-completer true
#zstyle ':completion:*' matcher-list 'r:|[._-'\''"`´,;:]=** r:|=**'
#zstyle ':completion:*' original true
#zstyle :compinstall filename '/home/en/.zshrc'
# Show message while waiting for completion
# Pretty messages during pagination
zstyle ':completion:*' list-prompt '%SAt %p: Hit TAB for more, or the character to insert%s'
zstyle ':completion:*' select-prompt '%SScrolling active: current selection at %p%s'
# Nicer format for completion messages
#zstyle ':completion:*:descriptions' format '%U%B%d%b%u' #shows categories of commands like "built-in" and "external"
#zstyle ':completion:*:corrections' format '%U%F{green}%d (errors: %e)%f%u'
#zstyle ':completion:*:warnings' format '%F{202}%BSorry, no matches for: %F{214}%d%b'
# Prettier completion for processes
#zstyle ':completion:*:*:*:*:processes' force-list always
zstyle ':completion:*:*:*:*:processes' menu yes select
zstyle ':completion:*:*:*:*:processes' list-colors '=(#b) #([0-9]#) ([0-9a-z-]#)*=01;34=0=01'
zstyle ':completion:*:*:*:*:processes' command "ps -u $USER -o pid,user,args -w -w"
autoload -Uz bracketed-paste-magic # allow links to be read without escaping
zle -N bracketed-paste bracketed-paste-magic
autoload -Uz url-quote-magic
zle -N self-insert url-quote-magic
WORDCHARS=${WORDCHARS//\/[&.;]} # Don't consider certain characters part of the word
bindkey -e # use emacs key layout
bindkey '^[[1;5D' backward-word # 'CTRL + leftarrow'
bindkey '^[[1;5C' forward-word # 'CTRL + rightarrow'
bindkey '^H' backward-kill-word # delete previous word with ctrl+backspace
bindkey '^[[3~' delete-char # enable delete key
bindkey '^[[3;5~' kill-word # 'CTRL + DEL'
bindkey '^Z' undo # 'CTRL + z' undo last action
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
if [ -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern)
ZSH_HIGHLIGHT_STYLES[default]=none
#ZSH_HIGHLIGHT_STYLES[reserved-word]=fg=009,standout
#ZSH_HIGHLIGHT_STYLES[alias]=fg=white,bold
#ZSH_HIGHLIGHT_STYLES[builtin]=fg=white,bold
#ZSH_HIGHLIGHT_STYLES[function]=fg=white,bold
#ZSH_HIGHLIGHT_STYLES[command]=fg=white,bold
#ZSH_HIGHLIGHT_STYLES[precommand]=fg=#eaff00,bold
#ZSH_HIGHLIGHT_STYLES[commandseparator]=none
#ZSH_HIGHLIGHT_STYLES[hashed-command]=fg=009
#ZSH_HIGHLIGHT_STYLES[path]=fg=214,underline
#ZSH_HIGHLIGHT_STYLES[globbing]=fg=063
#ZSH_HIGHLIGHT_STYLES[history-expansion]=fg=white,underline
#ZSH_HIGHLIGHT_STYLES[single-hyphen-option]=none
#ZSH_HIGHLIGHT_STYLES[double-hyphen-option]=none
#ZSH_HIGHLIGHT_STYLES[back-quoted-argument]=none
#ZSH_HIGHLIGHT_STYLES[single-quoted-argument]=fg=063
#ZSH_HIGHLIGHT_STYLES[double-quoted-argument]=fg=063
#ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]=fg=009
#ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]=fg=009
#ZSH_HIGHLIGHT_STYLES[assign]=none
fi
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh # load fish-completion, needs to be sourced after syntax highlighting
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#737373,bg=translucent"
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
source <(fzf --zsh)
source <(tea completion zsh)
#PS1='[\u@\h \W]\$ '
@@ -0,0 +1,118 @@
w//CROSSHAIR
//sensitivity is 500*1.4
cl_crosshairalpha 200;
cl_crosshaircolor 1;
cl_crosshairdot 0;
cl_crosshairgap -2;
cl_crosshairsize 2;
cl_crosshairstyle 4;
cl_crosshairusealpha 1;
cl_crosshairthickness .5;
cl_crosshair_drawoutline 0;
//OVERVIEW
cl_radar_always_centered "1"
//PRINT DAMAGE
con_filter_enable "2"
con_filter_text "Damage Given"
con_filter_text_out "Player:"
developer "1"
//KEYBINDS
unbindall;
bind "w" "+forward; r_cleardecals"
bind "a" "+moveleft"
bind "s" "+back"
bind "d" "+moveright"
bind "SPACE" "+jump"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "r" "+reload"
bind "g" "drop"
bind "f" "+use"
//bind "b" "buymenu"
bind "/" "toggleconsole"
bind "ALT" "noclip"
bind "CTRL" "+duck"
bind "SHIFT" "+speed"
bind "MOUSE3" "player_ping"
bind "MOUSE4" "slot4"
bind "MOUSE5" "slot2; slot1"
bind "MWHEELUP" "invprev"
bind "MWHEELDOWN" "invnext"
bind "i" "show_loadout_toggle"
bind "m" "teammenu"
bind "v" "+voicerecord"
bind "y" "messagemode"
alias "+shownet" "+showscores; net_graphheight 64"
alias "-shownet" "-showscores; net_graphheight 9999"
net_graph 1;
bind "TAB" "+shownet"
alias "+jumpthrow" "-attack;+jump"
alias "-jumpthrow" "-jump"
bind "x" "+jumpthrow"
//COSMETICS
cl_viewmodel_shift_left_amt "1.5"
cl_viewmodel_shift_right_amt "0.75"
viewmodel_fov "68"
viewmodel_offset_x "1.25"
viewmodel_offset_y "0.75"
viewmodel_offset_z "-1.25"
viewmodel_recoil "1.0"
cl_bob_lower_amt "5"
cl_bobamt_lat "0.1"
cl_bobamt_vert "0.1"
cl_bobcycle "0.98"
fps_max 120
clear
host_writeconfig
//ASCII ART
echo" "
echo" "
echo" ...',,,,,'.... "
echo" ..,:loxOOkdllokKK00Okdlc,. "
echo" .,cdO0KXXXXKd,.....,xKXXXKXXX0xl;. "
echo" .....'''''........ ..,cdOKXNNNNNNXXd. :O0x;.;OXXXKKXXXKKX0x; "
echo" .;cdkO00KKXXXKK00000OOkxoooooooooooooodkO0KKXXXNNNNNNNNXc .xXKK0O0XXKKKxc;,,;lkXKd, "
echo" .ck0XXNXXXXXXXNNNXXXNNNNXXXXNNNNNNNNNNNNNNNXNNXXNNNNNNNNXXNk. 'xKKK0KKXXX0, .;:. .dXKKl. "
echo" .;dOKNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNXNNNNNNNNNNNNNXXXXKx;..';,l0XXXXKd'.... .dKKKl',. "
echo" ;kKKKXNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNXXXXXXXXXKkdl:;dKXXKXKK0kdoldO0XXd'lXk' "
echo" .dKNNXNNNNNNNNNNNNNNNNNNNN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... .';codk0KXNNXXXNNNNNKOkoc:. .'',,,,;;. ,dOOOkoll:. "
echo" ...,;;::ccc:;;'....';;;,. .....',,;;'.. "
echo" ':cloxO0KXXXKOo' .oOO0XKKXX0kdc. "
echo" .l0XNXXNNXXXXXXx. .oxO0KKXXXKK0l "
echo" .;:cloooooodo, ....',,;;;,. "
echo" "
echo" "
echo" "
@@ -0,0 +1,139 @@
// my csgo config. use key_findbinding to find bound commands. also, the first line needs to be a command
//CROSSHAIR & CONFIG
//sensitivity is 500*2
sensitivity 2
m_mousespeed 0 // no mouse acceleration
m_rawinput 1
cl_autowepswitch 0 // dont switch weapons on pickup
cl_color purple
//snd_musicvolume “0” //command is not available anymore?
mm_dedicated_search_maxping 60
snd_mvp_volume 0 // disable mvp music
inferno_flame_spacing 50
cl_spec_follow_grenade_key 1
gameinstructor_enable 0 // disable game instructor
alias "default_crosshair" "cl_crosshairalpha 200; cl_crosshaircolor 1; cl_crosshairdot 0; cl_crosshairgap -2; cl_crosshairsize 2; cl_crosshairstyle 4; cl_crosshairusealpha 1; cl_crosshairthickness .5; cl_crosshair_drawoutline 0; hud_showtargetid 1;"
alias "smoke_crosshair" "cl_crosshair_drawoutline 0; cl_crosshair_dynamic_maxdist_splitratio 0.35; cl_crosshair_dynamic_splitalpha_innermod 1; cl_crosshair_dynamic_splitalpha_outermod 0.5; cl_crosshair_dynamic_splitdist 7; cl_crosshair_friendly_warning 1; cl_crosshair_outlinethickness 0.000000; cl_crosshair_sniper_show_normal_inaccuracy 0; cl_crosshair_sniper_width 1; cl_crosshair_t 0; cl_crosshairalpha 255.000000; cl_crosshairdot 1; cl_crosshairgap -3.775301; cl_crosshairgap_useweaponvalue 0; cl_crosshairsize 1000 ; cl_crosshairstyle 4; cl_crosshairthickness 1.000000; cl_crosshairusealpha 1 ;cl_fixedcrosshairgap 3"
alias "+testme" "smoke_crosshair"
alias "-testme" "default_crosshair"
bind "k" "+testme"
default_crosshair;
//OVERVIEW
cl_radar_always_centered "1"
//PRINT DAMAGE
con_filter_enable "2"
con_filter_text "Damage Given"
con_filter_text_out "Player:"
developer "1"
//KEYBINDS
unbindall;
bind "w" "+forward; r_cleardecals"
bind "a" "+moveleft"
bind "s" "+back"
bind "d" "+moveright"
bind "SPACE" "+jump"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "r" "+reload"
bind "g" "drop"
bind "f" "+use"
bind "f1" "autobuy"
bind "/" "toggleconsole"
bind "CTRL" "+duck"
bind "SHIFT" "+speed"
bind "MOUSE3" "player_ping"
bind "MOUSE4" "slot2" //grenades
bind "MOUSE5" "slot2; slot1" //switch to best weapon available
bind "MWHEELUP" "invprev"
bind "MWHEELDOWN" "invnext"
bind "i" "show_loadout_toggle"
bind "m" "teammenu"
bind "v" "+voicerecord"
bind "enter" "messagemode"
bind "m" "buymenu"
//NETGRAPH ON TAB
alias "+shownet" "+showscores; net_graphheight 64"
alias "-shownet" "-showscores; net_graphheight 9999"
net_graph 1;
bind "TAB" "+shownet"
// GRENADES
bind q "use weapon_knife; use weapon_flashbang"
bind e "use weapon_knife; use weapon_smokegrenade"
bind y "use weapon_knife; use weapon_molotov;use weapon_incgrenade"
bind c "use weapon_knife; use weapon_hegrenade"
//JUMPTHROW
alias "+jumpthrow" "+jump; -attack";
alias "-jumpthrow" "-jump"
bind "x" "+jump;-attack;-jump"
//NADE_CROSSHAIR
bind "ALT" "noclip"
bind "kp_ins" "default_crosshair"
bind "kp_end" "exec crosshair_smoke"
bind "kp_downarrow" "exec practice_config"
//COSMETICS
cl_viewmodel_shift_left_amt "1.5"
cl_viewmodel_shift_right_amt "0.75"
viewmodel_fov "68"
viewmodel_offset_x "1.25"
viewmodel_offset_y "0.75"
viewmodel_offset_z "-1.25"
viewmodel_recoil "1.0"
cl_bob_lower_amt "5"
cl_bobamt_lat "0.1"
cl_bobamt_vert "0.1"
cl_bobcycle "0.98"
fps_max 120
clear
//host_writeconfig
//ASCII ART
echo" "
echo" "
echo" ...',,,,,'.... "
echo" ..,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cdkOKXNNNNNNNNNNNNNNNNXXXK0KOl. ,0NXNNXXNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNXXKd. dNXXXXXKo. lXXXNNNNNNXXNNNXl. "
echo" .:kXXXXXXXXNNNNNNXNNNXXNNXXXKOo;. .xXXNNXXXNNNNNNNNNNWWWNNNNNNWNNNNNNNNNNNXX0; 'OK0OO0K0; 'ONXXNNNXXNXXXXXd. "
echo" ;0XXXXXXXNNNNNNNXXXXXXXNNX0d;. .cxKXXXXXNXXNNNWNNNNNNNNNNNWNNNNNNXNNXXK0c .'.....''. 'kXXXKXNXNNXXXKk' "
echo" .;oOKXXXXXNNNNNNXKKXXX0kl;. ':ok0KKKKNNNNNNNNNNNNNNNNNNNNNXXNXK0k: ':ll:. ,kKKXXNNNNNXX0: "
echo" .':loxO0OO000Okdlc,. ..;lxOKNNNNNNNNNNNNNNNNNNNNXXXX0l. .o0XXXX0l. .o0XXXNNNNXXd. "
echo" ......... .';codk0KXNNXXXNNNNNKOkoc:. .'',,,,;;. ,dOOOkoll:. "
echo" ...,;;::ccc:;;'....';;;,. .....',,;;'.. "
echo" ':cloxO0KXXXKOo' .oOO0XKKXX0kdc. "
echo" .l0XNXXNNXXXXXXx. .oxO0KKXXXKK0l "
echo" .;:cloooooodo, ....',,;;;,. "
echo" "
echo" "
echo" "
@@ -0,0 +1,21 @@
//smokecrosshair
cl_crosshair_drawoutline "0"
cl_crosshair_dynamic_maxdist_splitratio "0.35"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_friendly_warning "1"
cl_crosshair_outlinethickness "0.000000"
cl_crosshair_sniper_show_normal_inaccuracy "0"
cl_crosshair_sniper_width "1"
cl_crosshair_t "0"
cl_crosshairalpha "255.000000"
cl_crosshairdot "1"
cl_crosshairgap "-3.775301"
cl_crosshairgap_useweaponvalue "0"
cl_crosshairsize "1000"
cl_crosshairstyle "4"
cl_crosshairthickness "1.000000"
cl_crosshairusealpha "1"
cl_fixedcrosshairgap "3"
@@ -0,0 +1,25 @@
// Leave this comment here, no commands in first line
sv_cheats 1;
mp_limitteams 0;
mp_autoteambalance 0;
mp_roundtime 60;
mp_buytime 9999;
mp_freezetime 0;
mp_roundtime_defuse 60;
mp_maxmoney 60000;
mp_startmoney 60000;
mp_buy_anywhere 1;
sv_infinite_ammo 1;
ammo_grenade_limit_total 5;
bot_kick;
mp_warmup_end;
sv_grenade_trajectory 1;
sv_grenade_trajectory_time 10;
sv_showimpacts 1;
sv_showimpacts_time 10;
mp_drop_knife_enable 1;
ent_fire weapon_knife addoutput "classname weapon_knifegg";
give weapon_knife_butterfly; mp_drop_knife_enable 1; ent_fire weapon_knife addoutput "classname weapon_knifegg";
mp_restartgame 1
give weapon_knife_butterfly; mp_drop_knife_enable 1; ent_fire weapon_knife addoutput "classname weapon_knifegg";