Add script for launching gw2 and httpie configuration
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
09208130da
commit
3f45971851
7 changed files with 51 additions and 33 deletions
|
@ -45,8 +45,8 @@ This folder contains my git configuration.
|
||||||
### `.config/gtk-3.0`
|
### `.config/gtk-3.0`
|
||||||
This folder contains my GTK 3.0 configuration. I don't edit this configuration directly but use [LXAppearance](https://www.archlinux.org/packages/community/x86_64/lxappearance/) for configuring.
|
This folder contains my GTK 3.0 configuration. I don't edit this configuration directly but use [LXAppearance](https://www.archlinux.org/packages/community/x86_64/lxappearance/) for configuring.
|
||||||
|
|
||||||
### `.config/htop`
|
### `.config/httpie`
|
||||||
This folder contains my configuration for [htop](https://hisham.hm/htop/).
|
This folder contains my configuration for [httpie](https://github.com/jakubroztocil/httpie).
|
||||||
|
|
||||||
### `.config/i3`
|
### `.config/i3`
|
||||||
This folder contains the configuration for my preferred window manager
|
This folder contains the configuration for my preferred window manager
|
||||||
|
|
|
@ -42,7 +42,7 @@ LINKED_FILES_HOME=(
|
||||||
".config/dunst"
|
".config/dunst"
|
||||||
".config/git"
|
".config/git"
|
||||||
".config/gtk-3.0"
|
".config/gtk-3.0"
|
||||||
".config/htop"
|
".config/httpie"
|
||||||
".config/i3"
|
".config/i3"
|
||||||
".config/mpv"
|
".config/mpv"
|
||||||
".config/polybar"
|
".config/polybar"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "0.95.4",
|
"version": "0.95.6",
|
||||||
"userCodeDir": null,
|
"userCodeDir": null,
|
||||||
"settings": {
|
"settings": {
|
||||||
"isFirstRun": true,
|
"isFirstRun": true,
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
|
||||||
# The parser is also very primitive, and not human-friendly.
|
|
||||||
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
|
||||||
sort_key=46
|
|
||||||
sort_direction=1
|
|
||||||
hide_threads=0
|
|
||||||
hide_kernel_threads=1
|
|
||||||
hide_userland_threads=0
|
|
||||||
shadow_other_users=0
|
|
||||||
show_thread_names=0
|
|
||||||
show_program_path=1
|
|
||||||
highlight_base_name=0
|
|
||||||
highlight_megabytes=1
|
|
||||||
highlight_threads=1
|
|
||||||
tree_view=0
|
|
||||||
header_margin=1
|
|
||||||
detailed_cpu_time=0
|
|
||||||
cpu_count_from_zero=0
|
|
||||||
update_process_names=0
|
|
||||||
account_guest_in_cpu_meter=0
|
|
||||||
color_scheme=6
|
|
||||||
delay=15
|
|
||||||
left_meters=LeftCPUs Memory Swap
|
|
||||||
left_meter_modes=1 1 1
|
|
||||||
right_meters=RightCPUs Tasks LoadAverage Uptime
|
|
||||||
right_meter_modes=1 2 2 2
|
|
8
system/.config/httpie/config.json
Normal file
8
system/.config/httpie/config.json
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"__meta__": {
|
||||||
|
"about": "HTTPie configuration file",
|
||||||
|
"help": "https://httpie.org/doc#config",
|
||||||
|
"httpie": "1.0.2"
|
||||||
|
},
|
||||||
|
"default_options": []
|
||||||
|
}
|
|
@ -14,9 +14,12 @@
|
||||||
. "${HOME}/bin/utils.sh"
|
. "${HOME}/bin/utils.sh"
|
||||||
|
|
||||||
# XDG_Base_Directories
|
# XDG_Base_Directories
|
||||||
export XDG_CONFIG_HOME="$HOME/.config"
|
export XDG_CONFIG_HOME="${HOME}/.config"
|
||||||
export XDG_CACHE_HOME="$HOME/.cache"
|
export XDG_CACHE_HOME="${HOME}/.cache"
|
||||||
export XDG_DATA_HOME="$HOME/.local/share"
|
export XDG_DATA_HOME="${HOME}/.local/share"
|
||||||
|
|
||||||
|
# XDG Overrides for unsupported programs
|
||||||
|
export HTTPIE_CONFIG_DIR="${XDG_CONFIG_HOME}/httpie"
|
||||||
|
|
||||||
# Bash
|
# Bash
|
||||||
export HISTCONTROL=ignoreboth
|
export HISTCONTROL=ignoreboth
|
||||||
|
|
33
system/bin/gw2.sh
Executable file
33
system/bin/gw2.sh
Executable file
|
@ -0,0 +1,33 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# SCRIPT NAME:
|
||||||
|
# gw2.sh
|
||||||
|
#
|
||||||
|
# AUTHOR:
|
||||||
|
# Severin Kaderli <severin.kaderli@gmail.com>
|
||||||
|
#
|
||||||
|
# DESCRIPTION:
|
||||||
|
# Starts Guild Wars 2 inside Wine.
|
||||||
|
#
|
||||||
|
# USAGE:
|
||||||
|
# ./gw2.sh
|
||||||
|
# Set custom wineprefix
|
||||||
|
export WINEPREFIX="${HOME}/Games/Guild_Wars_2/"
|
||||||
|
|
||||||
|
# Set wine to 64-bit
|
||||||
|
export WINEARCH=win64
|
||||||
|
|
||||||
|
# Optimize performance
|
||||||
|
export __GL_THREADED_OPTIMIZATIONS=0
|
||||||
|
export __GL_SYNC_TO_VBLANK=0
|
||||||
|
export __GL_YIELD="NOTHING"
|
||||||
|
|
||||||
|
# Disable debug messages
|
||||||
|
export WINEDEBUG=-all
|
||||||
|
export LOGFILE=/dev/null
|
||||||
|
|
||||||
|
# Enable esync
|
||||||
|
export WINEESYNC=1
|
||||||
|
|
||||||
|
# Run it using optirun
|
||||||
|
optirun -b primus wine64 "${WINEPREFIX}/drive_c/Program Files/Guild Wars 2/Gw2-64.exe" -dx9single -mapLoadInfo
|
Loading…
Add table
Add a link
Reference in a new issue