mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 04:26:41 +01:00
Add .Xmodmap on GalliumOS, update .bashrc to don't calculate git changed files in each dir
This commit is contained in:
15
.XmodmapGALLIUMOS
Normal file
15
.XmodmapGALLIUMOS
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
!
|
||||||
|
! Swap Caps_Lock and Control_L
|
||||||
|
!
|
||||||
|
|
||||||
|
remove control = Control_L
|
||||||
|
remove mod1 = Alt_L
|
||||||
|
remove mod4 = Super_L
|
||||||
|
|
||||||
|
keysym Control_L = Alt_L
|
||||||
|
keysym Super_L = Control_L
|
||||||
|
keysym Alt_L = Super_L
|
||||||
|
|
||||||
|
add control = Control_L
|
||||||
|
add mod1 = Alt_L
|
||||||
|
add mod4 = Super_L
|
||||||
2
.bashrc
2
.bashrc
@@ -21,7 +21,7 @@ if [ "$color_prompt" = yes ]; then
|
|||||||
C_USER='99' # 48 for normal green, 99 for server purple
|
C_USER='99' # 48 for normal green, 99 for server purple
|
||||||
C_DIR='39'
|
C_DIR='39'
|
||||||
C_BRANCH='207'
|
C_BRANCH='207'
|
||||||
PS1='${debian_chroot:+($debian_chroot)}\[\e[01;38;5;'$C_USER'm\]\u@\h\[\033[00m\]:\[\e[01;38;5;'$C_DIR'm\]\w\[\e[38;5;'$C_BRANCH'm\]$(parse_git_branch)\[\033[01;90m\]$(check_files_changed)\[\033[00m\]\$ '
|
PS1='${debian_chroot:+($debian_chroot)}\[\e[01;38;5;'$C_USER'm\]\u@\h\[\033[00m\]:\[\e[01;38;5;'$C_DIR'm\]\w\[\e[38;5;'$C_BRANCH'm\]$(parse_git_branch)\[\033[01;90m\]\[\033[00m\]\$ '
|
||||||
else
|
else
|
||||||
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w$(parse_git_branch)\$ '
|
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w$(parse_git_branch)\$ '
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user