add paths from .config and .scripts
This commit is contained in:
parent
6b78d2dba9
commit
9a9bdb22fc
|
@ -0,0 +1,11 @@
|
|||
|
||||
|
||||
|
||||
|
||||
if [ "$TERMINAL_EMULATOR" = "JetBrains-JediTerm" ]
|
||||
bind '[5D' backward-word
|
||||
bind '[5C' forward-word
|
||||
|
||||
end
|
||||
|
||||
thefuck --alias | source
|
|
@ -0,0 +1,34 @@
|
|||
# This file contains fish universal variable definitions.
|
||||
# VERSION: 3.0
|
||||
SETUVAR JAVA_HOME:/usr/lib/jvm/java\x2d11\x2dopenjdk\x2damd64
|
||||
SETUVAR __fish_initialized:3100
|
||||
SETUVAR fish_color_autosuggestion:555
|
||||
SETUVAR fish_color_cancel:normal
|
||||
SETUVAR fish_color_command:005fd7
|
||||
SETUVAR fish_color_comment:990000
|
||||
SETUVAR fish_color_cwd:blue
|
||||
SETUVAR fish_color_cwd_root:800000
|
||||
SETUVAR fish_color_end:00875f
|
||||
SETUVAR fish_color_error:ff0000
|
||||
SETUVAR fish_color_escape:00a6b2
|
||||
SETUVAR fish_color_history_current:normal
|
||||
SETUVAR fish_color_host:normal
|
||||
SETUVAR fish_color_host_remote:yellow
|
||||
SETUVAR fish_color_match:normal
|
||||
SETUVAR fish_color_normal:normal
|
||||
SETUVAR fish_color_operator:00a6b2
|
||||
SETUVAR fish_color_param:00afff
|
||||
SETUVAR fish_color_quote:999900
|
||||
SETUVAR fish_color_redirection:00afff
|
||||
SETUVAR fish_color_search_match:ffff00
|
||||
SETUVAR fish_color_selection:c0c0c0
|
||||
SETUVAR fish_color_status:red
|
||||
SETUVAR fish_color_user:blue
|
||||
SETUVAR fish_color_valid_path:normal
|
||||
SETUVAR fish_greeting:\x1d
|
||||
SETUVAR fish_key_bindings:fish_default_key_bindings
|
||||
SETUVAR fish_pager_color_completion:normal
|
||||
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
|
||||
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||
SETUVAR fish_user_paths:/home/valentin/\x2elocal/bin\x1e/usr/local/bin/stack\x1e/home/valentin/\x2envm/versions/node/v14\x2e14\x2e0/bin/npm\x1e/home/valentin/\x2envm/versions/node/v14\x2e14\x2e0/bin/
|
|
@ -0,0 +1,3 @@
|
|||
function cypress
|
||||
node_modules/.bin/cypress $argv
|
||||
end
|
|
@ -0,0 +1,27 @@
|
|||
function fish_prompt --description 'Write out the prompt'
|
||||
set -l last_pipestatus $pipestatus
|
||||
set -l last_status $status
|
||||
set -l normal (set_color normal)
|
||||
|
||||
# Color the prompt differently when we're root
|
||||
set -l color_cwd $fish_color_cwd
|
||||
set -l prefix
|
||||
set -l suffix 'λ'
|
||||
if contains -- $USER root toor
|
||||
if set -q fish_color_cwd_root
|
||||
set color_cwd $fish_color_cwd_root
|
||||
end
|
||||
set suffix '#'
|
||||
end
|
||||
|
||||
# If we're running via SSH, change the host color.
|
||||
set -l color_host $fish_color_host
|
||||
if set -q SSH_TTY
|
||||
set color_host $fish_color_host_remote
|
||||
end
|
||||
|
||||
# Write pipestatus
|
||||
set -l prompt_status (__fish_print_pipestatus " [" "]" "|" (set_color $fish_color_status) (set_color --bold $fish_color_status) $last_pipestatus)
|
||||
|
||||
echo -n -s (set_color $fish_color_user) "$USER" $normal @ (set_color $color_host) (prompt_hostname) $normal ' ' (set_color $color_cwd) (prompt_pwd) $normal (fish_vcs_prompt) $normal $prompt_status \n $suffix " "
|
||||
end
|
|
@ -0,0 +1,3 @@
|
|||
function idea
|
||||
~/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/212.4746.92/bin/idea.sh $argv &>/dev/null &
|
||||
end
|
|
@ -0,0 +1,34 @@
|
|||
Config { overrideRedirect = False
|
||||
, font = "xft:Roboto Mono for Powerline:size=11"
|
||||
, bgColor = "#0E0A0C"
|
||||
, fgColor = "#d49a9c"
|
||||
, position = TopW L 100
|
||||
, commands = [ Run Weather "EGPF"
|
||||
[ "--template", "<weather> <tempC>°C"
|
||||
, "-L", "0"
|
||||
, "-H", "25"
|
||||
, "--low" , "lightblue"
|
||||
, "--normal", "#f8f8f2"
|
||||
, "--high" , "red"
|
||||
] 36000
|
||||
, Run Cpu
|
||||
[ "-L", "3"
|
||||
, "-H", "50"
|
||||
, "--high" , "red"
|
||||
, "--normal", "green"
|
||||
] 10
|
||||
, Run Alsa "default" "Master"
|
||||
[ "--template", "<volumestatus>"
|
||||
, "--suffix" , "True"
|
||||
, "--"
|
||||
, "--on", ""
|
||||
]
|
||||
, Run Memory ["--template", "Mem: <usedratio>%"] 10
|
||||
, Run Swap [] 10
|
||||
, Run Date "%a %Y-%m-%d <fc=#8be9fd>%H:%M</fc>" "date" 10
|
||||
, Run XMonadLog
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = "%XMonadLog% }{ %alsa:default:Master% | %cpu% | %memory% * %swap% | %EGPF% | %date% "
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
Config { overrideRedirect = False
|
||||
, font = "xft:Roboto Mono for Powerline:size=11"
|
||||
, bgColor = "BGCOLOR"
|
||||
, fgColor = "FGCOLOR"
|
||||
, position = TopW L 100
|
||||
, commands = [ Run Weather "EGPF"
|
||||
[ "--template", "<weather> <tempC>°C"
|
||||
, "-L", "0"
|
||||
, "-H", "25"
|
||||
, "--low" , "lightblue"
|
||||
, "--normal", "#f8f8f2"
|
||||
, "--high" , "red"
|
||||
] 36000
|
||||
, Run Cpu
|
||||
[ "-L", "3"
|
||||
, "-H", "50"
|
||||
, "--high" , "red"
|
||||
, "--normal", "green"
|
||||
] 10
|
||||
, Run Alsa "default" "Master"
|
||||
[ "--template", "<volumestatus>"
|
||||
, "--suffix" , "True"
|
||||
, "--"
|
||||
, "--on", ""
|
||||
]
|
||||
, Run Memory ["--template", "Mem: <usedratio>%"] 10
|
||||
, Run Swap [] 10
|
||||
, Run Date "%a %Y-%m-%d <fc=#8be9fd>%H:%M</fc>" "date" 10
|
||||
, Run XMonadLog
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = "%XMonadLog% }{ %alsa:default:Master% | %cpu% | %memory% * %swap% | %EGPF% | %date% "
|
||||
}
|
|
@ -4,5 +4,5 @@
|
|||
|
||||
!.config
|
||||
!.config/xmonad
|
||||
!.config/xmobar
|
||||
!.config/fish
|
||||
!.config/xmobar/*
|
||||
!.config/fish/*
|
||||
|
|
|
@ -0,0 +1,62 @@
|
|||
#!/bin/bash
|
||||
|
||||
xmobar_change(){
|
||||
echo "changing xmobarrc"
|
||||
source ~/.cache/wal/colors.sh
|
||||
sed -e "s/BGCOLOR/$background/g" \
|
||||
-e "s/FGCOLOR/$foreground/g" \
|
||||
-e "s/COLOR1/$color1/g" \
|
||||
-e "s/COLOR2/$color2/g" \
|
||||
-e "s/COLOR3/$color3/g" \
|
||||
-e "s/COLOR4/$color4/g" \
|
||||
-e "s/COLOR5/$color5/g" \
|
||||
-e "s/COLOR6/$color6/g" \
|
||||
-e "s/COLOR7/$color7/g" \
|
||||
-e "s/COLOR8/$color8/g" \
|
||||
-e "s/COLOR9/$color9/g" \
|
||||
-e "s/COLOR10/$color10/g" \
|
||||
-e "s/COLOR11/$color11/g" \
|
||||
-e "s/COLOR12/$color12/g" \
|
||||
-e "s/COLOR13/$color13/g" \
|
||||
-e "s/COLOR14/$color14/g" \
|
||||
-e "s/COLOR15/$color15/g" \
|
||||
~/.config/xmobar/xmobarrc-template > ~/.config/xmobar/xmobarrc
|
||||
}
|
||||
args=("$@")
|
||||
PATH_TO_IMG="${args[0]}"
|
||||
|
||||
echo $PATH_TO_IMG
|
||||
|
||||
wal -i $PATH_TO_IMG
|
||||
feh --bg-center $PATH_TO_IMG
|
||||
|
||||
# overwrite .Xresources file
|
||||
cat ~/.cache/wal/colors.Xresources > ~/.Xresources
|
||||
echo "\nXcursor.theme: Breeze" >> ~./Xresources
|
||||
|
||||
# merge it into xrdb
|
||||
xrdb -merge ~/.Xresources
|
||||
|
||||
# Does not really work because it takes the wrong colors and the cli cannot use the Xresources file for some reason...
|
||||
# aur package is themix-full-git
|
||||
|
||||
# generate new gtk themes
|
||||
#/opt/oomox/plugins/theme_oomox/change_color.sh ~/.cache/wal/colors-oomox -o Wal -t ~/.themes/ -d true -m gtk3
|
||||
|
||||
xmobar_change
|
||||
killall xmobar
|
||||
xmonad --restart
|
||||
#cd ~/dev/linux/st
|
||||
#sudo make clean install
|
||||
#cd /home/os/bin/dmenu
|
||||
#sudo make clean install
|
||||
|
||||
# change lock screen background
|
||||
#betterlockscreen -u $PATH_TO_IMG
|
||||
|
||||
|
||||
|
||||
# change login manager screen
|
||||
PROJECT_ROOT="/home/os/Documents/Projects/aether-fork" # change this path if needed.
|
||||
WALLPAPER_FOLDER="src/img/wallpapers"
|
||||
WAL_CSS="/home/os/.cache/wal/colors.json"
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
systemctl poweroff
|
Loading…
Reference in New Issue