Compare commits
55
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c93ea0b680 | ||
|
|
b0c5802b79 | ||
|
|
5cb7995b98 | ||
|
|
6e8e831fed | ||
|
|
2320ad4754 | ||
|
|
5c61d59a63 | ||
|
|
9deac0e058 | ||
|
|
30774551f7 | ||
|
|
782ebfe326 | ||
|
|
580fd8881a | ||
|
|
749e48ff95 | ||
|
|
21804cb165 | ||
|
|
f1642ed73b | ||
|
|
14e269a7a5 | ||
|
|
52a21efaf5 | ||
|
|
2cd901feca | ||
|
|
c7ae96905b | ||
|
|
597ba8b1d7 | ||
|
|
203f5c345f | ||
|
|
41313f6562 | ||
|
|
3c7a16e293 | ||
|
|
d9ae62fae1 | ||
|
|
637a7640ca | ||
|
|
593be700fc | ||
|
|
aec5058ee0 | ||
|
|
6072dd9ae7 | ||
|
|
6549036f25 | ||
|
|
df27d8183d | ||
|
|
de0a2cc9cc | ||
|
|
7ff6b9c124 | ||
|
|
574ba6b1f9 | ||
|
|
e449851e1d | ||
|
|
8755556bfc | ||
|
|
f8943dc4c3 | ||
|
|
6230668741 | ||
|
|
aaffb0c339 | ||
|
|
fe65b80575 | ||
|
|
3e6304f343 | ||
|
|
dd0d761bbe | ||
|
|
d831fc7f46 | ||
|
|
ffc4ee25db | ||
|
|
7bd4203146 | ||
|
|
2e9d35c07f | ||
|
|
c730ff2419 | ||
|
|
820b835aa3 | ||
|
|
fae89b1fee | ||
|
|
d21133e0d0 | ||
|
|
7877c48085 | ||
|
|
0916b54bb1 | ||
|
|
3cedec8400 | ||
|
|
e1c2b7b5ee | ||
|
|
ce04058c44 | ||
|
|
cf9263e500 | ||
|
|
56905ef32c | ||
|
|
9fc8cd56b1 |
No files matched your search
@@ -0,0 +1,139 @@
|
|||||||
|
#
|
||||||
|
# ~/.bashrc
|
||||||
|
#
|
||||||
|
|
||||||
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
|
||||||
|
|
||||||
|
# Change the window title of X terminals
|
||||||
|
case ${TERM} in
|
||||||
|
xterm*|rxvt*|Eterm*|aterm|kterm|gnome*|interix|konsole*)
|
||||||
|
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\007"'
|
||||||
|
;;
|
||||||
|
screen*)
|
||||||
|
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\033\\"'
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
use_color=true
|
||||||
|
|
||||||
|
# Set colorful PS1 only on colorful terminals.
|
||||||
|
# dircolors --print-database uses its own built-in database
|
||||||
|
# instead of using /etc/DIR_COLORS. Try to use the external file
|
||||||
|
# first to take advantage of user additions. Use internal bash
|
||||||
|
# globbing instead of external grep binary.
|
||||||
|
safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM
|
||||||
|
match_lhs=""
|
||||||
|
[[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)"
|
||||||
|
[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(</etc/DIR_COLORS)"
|
||||||
|
[[ -z ${match_lhs} ]] \
|
||||||
|
&& type -P dircolors >/dev/null \
|
||||||
|
&& match_lhs=$(dircolors --print-database)
|
||||||
|
[[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true
|
||||||
|
|
||||||
|
if ${use_color} ; then
|
||||||
|
# Enable colors for ls, etc. Prefer ~/.dir_colors #64489
|
||||||
|
if type -P dircolors >/dev/null ; then
|
||||||
|
if [[ -f ~/.dir_colors ]] ; then
|
||||||
|
eval $(dircolors -b ~/.dir_colors)
|
||||||
|
elif [[ -f /etc/DIR_COLORS ]] ; then
|
||||||
|
eval $(dircolors -b /etc/DIR_COLORS)
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ${EUID} == 0 ]] ; then
|
||||||
|
PS1='\[\033[01;31m\][\h\[\033[01;36m\] \W\[\033[01;31m\]]\$\[\033[00m\] '
|
||||||
|
else
|
||||||
|
PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\] '
|
||||||
|
fi
|
||||||
|
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
alias grep='grep --colour=auto'
|
||||||
|
alias egrep='egrep --colour=auto'
|
||||||
|
alias fgrep='fgrep --colour=auto'
|
||||||
|
else
|
||||||
|
if [[ ${EUID} == 0 ]] ; then
|
||||||
|
# show root@ when we don't have colors
|
||||||
|
PS1='\u@\h \W \$ '
|
||||||
|
else
|
||||||
|
PS1='\u@\h \w \$ '
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
unset use_color safe_term match_lhs sh
|
||||||
|
|
||||||
|
alias cp="cp -i" # confirm before overwriting something
|
||||||
|
alias df='df -h' # human-readable sizes
|
||||||
|
alias free='free -m' # show sizes in MB
|
||||||
|
alias np='nano -w PKGBUILD'
|
||||||
|
alias more=less
|
||||||
|
|
||||||
|
xhost +local:root > /dev/null 2>&1
|
||||||
|
|
||||||
|
complete -cf sudo
|
||||||
|
|
||||||
|
# Bash won't get SIGWINCH if another process is in the foreground.
|
||||||
|
# Enable checkwinsize so that bash will check the terminal size when
|
||||||
|
# it regains control. #65623
|
||||||
|
# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
|
||||||
|
shopt -s checkwinsize
|
||||||
|
|
||||||
|
shopt -s expand_aliases
|
||||||
|
|
||||||
|
# export QT_SELECT=4
|
||||||
|
|
||||||
|
# Enable history appending instead of overwriting. #139609
|
||||||
|
shopt -s histappend
|
||||||
|
|
||||||
|
#
|
||||||
|
# # ex - archive extractor
|
||||||
|
# # usage: ex <file>
|
||||||
|
ex ()
|
||||||
|
{
|
||||||
|
if [ -f $1 ] ; then
|
||||||
|
case $1 in
|
||||||
|
*.tar.bz2) tar xjf $1 ;;
|
||||||
|
*.tar.gz) tar xzf $1 ;;
|
||||||
|
*.bz2) bunzip2 $1 ;;
|
||||||
|
*.rar) unrar x $1 ;;
|
||||||
|
*.gz) gunzip $1 ;;
|
||||||
|
*.tar) tar xf $1 ;;
|
||||||
|
*.tbz2) tar xjf $1 ;;
|
||||||
|
*.tgz) tar xzf $1 ;;
|
||||||
|
*.zip) unzip $1 ;;
|
||||||
|
*.Z) uncompress $1;;
|
||||||
|
*.7z) 7z x $1 ;;
|
||||||
|
*) echo "'$1' cannot be extracted via ex()" ;;
|
||||||
|
esac
|
||||||
|
else
|
||||||
|
echo "'$1' is not a valid file"
|
||||||
|
fi
|
||||||
|
}
|
||||||
@@ -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
|
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Version=0.9.4
|
||||||
|
Type=Application
|
||||||
|
Name=i3
|
||||||
|
Comment=tiling window manager
|
||||||
|
Exec=i3
|
||||||
|
OnlyShowIn=XFCE;
|
||||||
|
RunHook=0
|
||||||
|
StartupNotify=false
|
||||||
|
Terminal=false
|
||||||
|
Hidden=false
|
||||||
|
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Version=0.9.4
|
||||||
|
Type=Application
|
||||||
|
Name=xcape
|
||||||
|
Comment=
|
||||||
|
Exec=xcape -e 'Super_L=Alt_L|F1'
|
||||||
|
OnlyShowIn=XFCE;
|
||||||
|
RunHook=0
|
||||||
|
StartupNotify=false
|
||||||
|
Terminal=false
|
||||||
|
Hidden=false
|
||||||
|
|
||||||
+12
@@ -0,0 +1,12 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Version=0.9.4
|
||||||
|
Type=Application
|
||||||
|
Name=XFCE-Panel Workaround
|
||||||
|
Comment=
|
||||||
|
Exec=/etc/skel/.config/autostart/xfce-pbw.sh
|
||||||
|
OnlyShowIn=XFCE;
|
||||||
|
StartupNotify=false
|
||||||
|
Terminal=false
|
||||||
|
Hidden=false
|
||||||
|
|
||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
#/bin/sh
|
||||||
|
sleep 5
|
||||||
|
xfsettingsd --replace &
|
||||||
|
sleep 15
|
||||||
|
xfsettingsd --replace &
|
||||||
|
sleep 25
|
||||||
|
xfsettingsd --replace &
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Hidden=false
|
||||||
|
TryExec=xfce4-clipman
|
||||||
|
Exec=xfce4-clipman
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Hidden=true
|
||||||
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Hidden=true
|
||||||
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Hidden=true
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"BACKGROUND_COLOR": "#202225",
|
||||||
|
"OPEN_ON_STARTUP": false,
|
||||||
|
"MINIMIZE_TO_TRAY": false,
|
||||||
|
"IS_MAXIMIZED": false,
|
||||||
|
"IS_MINIMIZED": false,
|
||||||
|
"WINDOW_BOUNDS": {
|
||||||
|
"x": 3841,
|
||||||
|
"y": 1,
|
||||||
|
"width": 1598,
|
||||||
|
"height": 898
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 108 KiB |
@@ -0,0 +1,143 @@
|
|||||||
|
# vim: filetype=i3config
|
||||||
|
|
||||||
|
# this config is based on github.com:LukeSmithxyz/voidrice 884dcbdc4792eed95e558af84491eb3100d314a2
|
||||||
|
# to immediately apply a new config, run `i3-msg reload; i3-msg restart`
|
||||||
|
|
||||||
|
# This config file will use environmental variables such as $BROWSER and $TERMINAL.
|
||||||
|
# You can set these variables in ~/.profile or ~/.bash_profile if you have it as below:
|
||||||
|
|
||||||
|
|
||||||
|
# set modifier key, Mod4 is super (windows), Mod1 = Alt key
|
||||||
|
set $mod Mod4
|
||||||
|
set $termEm xfce4-terminal
|
||||||
|
|
||||||
|
# power options
|
||||||
|
set $shutdown shutdown -h now
|
||||||
|
set $reboot reboot
|
||||||
|
set $hibernate sudo -A systemctl suspend
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# DROPDOWN
|
||||||
|
# Scratchpad binds
|
||||||
|
# bindsym $mod+p [class="bitwarden"] scratchpad show; move position center
|
||||||
|
# General dropdown window traits. The order can matter.
|
||||||
|
# sticky allows windows to stay visible even when switching workspaces
|
||||||
|
for_window [instance="dropdown_*"] sticky enable
|
||||||
|
# Specific dropdown window traits
|
||||||
|
for_window [instance="dropdown_tmux"] resize set 625 450
|
||||||
|
for_window [instance="dropdown_tmux"] border pixel 3
|
||||||
|
# start scratchpads
|
||||||
|
exec --no-startup-id bitwarden-desktop
|
||||||
|
for_window [class="bitwarden"] move scratchpad
|
||||||
|
|
||||||
|
|
||||||
|
# i3 BINDS
|
||||||
|
bindsym $mod+h focus left
|
||||||
|
bindsym $mod+Shift+h move left
|
||||||
|
bindsym $mod+j focus down
|
||||||
|
bindsym $mod+Shift+j move down
|
||||||
|
bindsym $mod+k focus up
|
||||||
|
bindsym $mod+Shift+k move up
|
||||||
|
bindsym $mod+l focus right
|
||||||
|
bindsym $mod+Shift+l move right
|
||||||
|
bindsym $mod+Shift+u resize grow width 1 px or 1 ppt
|
||||||
|
bindsym $mod+Shift+i resize shrink height 1 px or 1 ppt
|
||||||
|
bindsym $mod+Shift+o resize grow height 1 px or 1 ppt
|
||||||
|
bindsym $mod+Shift+p resize shrink width 1 px or 1 ppt
|
||||||
|
bindsym $mod+Shift+r exec --no-startup-id winresize
|
||||||
|
bindsym $mod+f fullscreen toggle
|
||||||
|
bindsym $mod+t workspace_layout tabbed
|
||||||
|
bindsym $mod+Shift+t workspace_layout tiling
|
||||||
|
bindsym $mod+q [con_id="__focused__" instance="^(?!dropdown_).*$"] kill
|
||||||
|
# bindsym $mod+o split h;exec notify-send 'tile horizontally'
|
||||||
|
# bindsym $mod+i split v;exec notify-send 'tile vertically'
|
||||||
|
|
||||||
|
# No focus on mouse over (allows scrolling without changing focus)
|
||||||
|
focus_follows_mouse no
|
||||||
|
# remove title bar
|
||||||
|
default_border pixel 1
|
||||||
|
default_floating_border pixel 1
|
||||||
|
|
||||||
|
# ARROW KEYS
|
||||||
|
bindsym $mod+Ctrl+Left move workspace to output left
|
||||||
|
bindsym $mod+Ctrl+Down move workspace to output down
|
||||||
|
bindsym $mod+Ctrl+Up move workspace to output up
|
||||||
|
bindsym $mod+Ctrl+Right move workspace to output right
|
||||||
|
|
||||||
|
# WORKSPACES
|
||||||
|
# prior and next ar PgUp and PgDown
|
||||||
|
bindsym $mod+Prior workspace 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
|
||||||
|
|
||||||
|
# name workspaces
|
||||||
|
set $ws1 "1"
|
||||||
|
set $ws2 "2"
|
||||||
|
set $ws3 "3"
|
||||||
|
set $ws4 "4"
|
||||||
|
set $ws5 "5"
|
||||||
|
set $ws6 "6"
|
||||||
|
set $ws7 "7"
|
||||||
|
set $ws8 "8"
|
||||||
|
set $ws9 "9"
|
||||||
|
set $ws10 "10"
|
||||||
|
|
||||||
|
# switch to workspace
|
||||||
|
bindsym $mod+1 workspace $ws1
|
||||||
|
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||||
|
bindsym $mod+2 workspace $ws2
|
||||||
|
bindsym $mod+Shift+2 move container to workspace $ws2
|
||||||
|
bindsym $mod+3 workspace $ws3
|
||||||
|
bindsym $mod+Shift+3 move container to workspace $ws3
|
||||||
|
bindsym $mod+4 workspace $ws4
|
||||||
|
bindsym $mod+Shift+4 move container to workspace $ws4
|
||||||
|
bindsym $mod+5 workspace $ws5
|
||||||
|
bindsym $mod+Shift+5 move container to workspace $ws5
|
||||||
|
bindsym $mod+6 workspace $ws6
|
||||||
|
bindsym $mod+Shift+6 move container to workspace $ws6
|
||||||
|
bindsym $mod+7 workspace $ws7
|
||||||
|
bindsym $mod+Shift+7 move container to workspace $ws7
|
||||||
|
bindsym $mod+8 workspace $ws8
|
||||||
|
bindsym $mod+Shift+8 move container to workspace $ws8
|
||||||
|
bindsym $mod+9 workspace $ws9
|
||||||
|
bindsym $mod+Shift+9 move container to workspace $ws9
|
||||||
|
bindsym $mod+0 workspace $ws10
|
||||||
|
bindsym $mod+Shift+0 move container to workspace $ws10
|
||||||
|
|
||||||
|
|
||||||
|
# KEYBOARD SHORTCUTS
|
||||||
|
bindsym $mod+d exec --no-startup-id xfce4-popup-whiskermenu
|
||||||
|
bindsym $mod+Return exec --no-startup-id $termEm
|
||||||
|
bindsym $mod+w exec --no-startup-id $BROWSER
|
||||||
|
# Show selection:
|
||||||
|
bindsym $mod+Insert exec --no-startup-id showclip
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# COLORS
|
||||||
|
set $black #272822
|
||||||
|
set $white #FFFFFF
|
||||||
|
set $pink #F92672
|
||||||
|
set $blue #66D9EF
|
||||||
|
set $green #A6E22E
|
||||||
|
set $orange #FD971F
|
||||||
|
set $yellow #E6DB74
|
||||||
|
set $purple #AE81FF
|
||||||
|
# class border bg. text indicator child_border
|
||||||
|
client.focused $black $black $green $blue $blue
|
||||||
|
client.focused_inactive $black $black $blue $black $black
|
||||||
|
client.unfocused $black $black $white $black $black
|
||||||
|
client.background #f1232
|
||||||
|
|
||||||
|
# EXTERNAL
|
||||||
|
# set background picture
|
||||||
|
exec --no-startup-id nitrogen --set-zoom-fill $HOME/.config/i3/bg.png
|
||||||
|
# start xfce bar
|
||||||
|
exec --no-startup-id xfce4-panel --disable-wm-check
|
||||||
|
# try to start tray tools / applets manually
|
||||||
|
exec --no-startup-id nm-applet
|
||||||
|
exec --no-startup-id blueman-applet
|
||||||
|
|
||||||
@@ -0,0 +1,276 @@
|
|||||||
|
" Vim color file
|
||||||
|
"
|
||||||
|
" Author: Tomas Restrepo <tomas@winterdom.com>
|
||||||
|
" https://github.com/tomasr/molokai
|
||||||
|
"
|
||||||
|
" Note: Based on the Monokai theme for TextMate
|
||||||
|
" by Wimer Hazenberg and its darker variant
|
||||||
|
" by Hamish Stuart Macpherson
|
||||||
|
"
|
||||||
|
|
||||||
|
hi clear
|
||||||
|
|
||||||
|
if version > 580
|
||||||
|
" no guarantees for version 5.8 and below, but this makes it stop
|
||||||
|
" complaining
|
||||||
|
hi clear
|
||||||
|
if exists("syntax_on")
|
||||||
|
syntax reset
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
let g:colors_name="molokai"
|
||||||
|
|
||||||
|
if exists("g:molokai_original")
|
||||||
|
let s:molokai_original = g:molokai_original
|
||||||
|
else
|
||||||
|
let s:molokai_original = 0
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
hi Boolean guifg=#AE81FF
|
||||||
|
hi Character guifg=#E6DB74
|
||||||
|
hi Number guifg=#AE81FF
|
||||||
|
hi String guifg=#E6DB74
|
||||||
|
hi Conditional guifg=#F92672 gui=bold
|
||||||
|
hi Constant guifg=#AE81FF gui=bold
|
||||||
|
hi Cursor guifg=#000000 guibg=#F8F8F0
|
||||||
|
hi iCursor guifg=#000000 guibg=#F8F8F0
|
||||||
|
hi Debug guifg=#BCA3A3 gui=bold
|
||||||
|
hi Define guifg=#66D9EF
|
||||||
|
hi Delimiter guifg=#8F8F8F
|
||||||
|
hi DiffAdd guibg=#13354A
|
||||||
|
hi DiffChange guifg=#89807D guibg=#4C4745
|
||||||
|
hi DiffDelete guifg=#960050 guibg=#1E0010
|
||||||
|
hi DiffText guibg=#4C4745 gui=italic,bold
|
||||||
|
|
||||||
|
hi Directory guifg=#A6E22E gui=bold
|
||||||
|
hi Error guifg=#E6DB74 guibg=#1E0010
|
||||||
|
hi ErrorMsg guifg=#F92672 guibg=#232526 gui=bold
|
||||||
|
hi Exception guifg=#A6E22E gui=bold
|
||||||
|
hi Float guifg=#AE81FF
|
||||||
|
hi FoldColumn guifg=#465457 guibg=#000000
|
||||||
|
hi Folded guifg=#465457 guibg=#000000
|
||||||
|
hi Function guifg=#A6E22E
|
||||||
|
hi Identifier guifg=#FD971F
|
||||||
|
hi Ignore guifg=#808080 guibg=bg
|
||||||
|
hi IncSearch guifg=#C4BE89 guibg=#000000
|
||||||
|
|
||||||
|
hi Keyword guifg=#F92672 gui=bold
|
||||||
|
hi Label guifg=#E6DB74 gui=none
|
||||||
|
hi Macro guifg=#C4BE89 gui=italic
|
||||||
|
hi SpecialKey guifg=#66D9EF gui=italic
|
||||||
|
|
||||||
|
hi MatchParen guifg=#000000 guibg=#FD971F gui=bold
|
||||||
|
hi ModeMsg guifg=#E6DB74
|
||||||
|
hi MoreMsg guifg=#E6DB74
|
||||||
|
hi Operator guifg=#F92672
|
||||||
|
|
||||||
|
" complete menu
|
||||||
|
hi Pmenu guifg=#66D9EF guibg=#000000
|
||||||
|
hi PmenuSel guibg=#808080
|
||||||
|
hi PmenuSbar guibg=#080808
|
||||||
|
hi PmenuThumb guifg=#66D9EF
|
||||||
|
|
||||||
|
hi PreCondit guifg=#A6E22E gui=bold
|
||||||
|
hi PreProc guifg=#A6E22E
|
||||||
|
hi Question guifg=#66D9EF
|
||||||
|
hi Repeat guifg=#F92672 gui=bold
|
||||||
|
hi Search guifg=#000000 guibg=#FFE792
|
||||||
|
" marks
|
||||||
|
hi SignColumn guifg=#A6E22E guibg=#232526
|
||||||
|
hi SpecialChar guifg=#F92672 gui=bold
|
||||||
|
hi SpecialComment guifg=#7E8E91 gui=bold
|
||||||
|
hi Special guifg=#66D9EF guibg=bg gui=italic
|
||||||
|
if has("spell")
|
||||||
|
hi SpellBad guisp=#FF0000 gui=undercurl
|
||||||
|
hi SpellCap guisp=#7070F0 gui=undercurl
|
||||||
|
hi SpellLocal guisp=#70F0F0 gui=undercurl
|
||||||
|
hi SpellRare guisp=#FFFFFF gui=undercurl
|
||||||
|
endif
|
||||||
|
hi Statement guifg=#F92672 gui=bold
|
||||||
|
hi StatusLine guifg=#455354 guibg=fg
|
||||||
|
hi StatusLineNC guifg=#808080 guibg=#080808
|
||||||
|
hi StorageClass guifg=#FD971F gui=italic
|
||||||
|
hi Structure guifg=#66D9EF
|
||||||
|
hi Tag guifg=#F92672 gui=italic
|
||||||
|
hi Title guifg=#ef5939
|
||||||
|
hi Todo guifg=#FFFFFF guibg=bg gui=bold
|
||||||
|
|
||||||
|
hi Typedef guifg=#66D9EF
|
||||||
|
hi Type guifg=#66D9EF gui=none
|
||||||
|
hi Underlined guifg=#808080 gui=underline
|
||||||
|
|
||||||
|
hi VertSplit guifg=#808080 guibg=#080808 gui=bold
|
||||||
|
hi VisualNOS guibg=#403D3D
|
||||||
|
hi Visual guibg=#403D3D
|
||||||
|
hi WarningMsg guifg=#FFFFFF guibg=#333333 gui=bold
|
||||||
|
hi WildMenu guifg=#66D9EF guibg=#000000
|
||||||
|
|
||||||
|
hi TabLineFill guifg=#1B1D1E guibg=#1B1D1E
|
||||||
|
hi TabLine guibg=#1B1D1E guifg=#808080 gui=none
|
||||||
|
|
||||||
|
if s:molokai_original == 1
|
||||||
|
hi Normal guifg=#F8F8F2 guibg=#272822
|
||||||
|
hi Comment guifg=#75715E
|
||||||
|
hi CursorLine guibg=#3E3D32
|
||||||
|
hi CursorLineNr guifg=#FD971F gui=none
|
||||||
|
hi CursorColumn guibg=#3E3D32
|
||||||
|
hi ColorColumn guibg=#3B3A32
|
||||||
|
hi LineNr guifg=#BCBCBC guibg=#3B3A32
|
||||||
|
hi NonText guifg=#75715E
|
||||||
|
hi SpecialKey guifg=#75715E
|
||||||
|
else
|
||||||
|
hi Normal guifg=#F8F8F2 guibg=#1B1D1E
|
||||||
|
hi Comment guifg=#7E8E91
|
||||||
|
hi CursorLine guibg=#293739
|
||||||
|
hi CursorLineNr guifg=#FD971F gui=none
|
||||||
|
hi CursorColumn guibg=#293739
|
||||||
|
hi ColorColumn guibg=#232526
|
||||||
|
hi LineNr guifg=#465457 guibg=#232526
|
||||||
|
hi NonText guifg=#465457
|
||||||
|
hi SpecialKey guifg=#465457
|
||||||
|
end
|
||||||
|
|
||||||
|
"
|
||||||
|
" Support for 256-color terminal
|
||||||
|
"
|
||||||
|
if &t_Co > 255
|
||||||
|
if s:molokai_original == 1
|
||||||
|
hi Normal ctermbg=234
|
||||||
|
hi CursorLine ctermbg=235 cterm=none
|
||||||
|
hi CursorLineNr ctermfg=208 cterm=none
|
||||||
|
else
|
||||||
|
hi Normal ctermfg=252 ctermbg=233
|
||||||
|
hi CursorLine ctermbg=234 cterm=none
|
||||||
|
hi CursorLineNr ctermfg=208 cterm=none
|
||||||
|
endif
|
||||||
|
hi Boolean ctermfg=135
|
||||||
|
hi Character ctermfg=144
|
||||||
|
hi Number ctermfg=135
|
||||||
|
hi String ctermfg=144
|
||||||
|
hi Conditional ctermfg=161 cterm=bold
|
||||||
|
hi Constant ctermfg=135 cterm=bold
|
||||||
|
hi Cursor ctermfg=16 ctermbg=253
|
||||||
|
hi Debug ctermfg=225 cterm=bold
|
||||||
|
hi Define ctermfg=81
|
||||||
|
hi Delimiter ctermfg=241
|
||||||
|
|
||||||
|
hi DiffAdd ctermbg=24
|
||||||
|
hi DiffChange ctermfg=181 ctermbg=239
|
||||||
|
hi DiffDelete ctermfg=162 ctermbg=53
|
||||||
|
hi DiffText ctermbg=102 cterm=bold
|
||||||
|
|
||||||
|
hi Directory ctermfg=118 cterm=bold
|
||||||
|
hi Error ctermfg=219 ctermbg=89
|
||||||
|
hi ErrorMsg ctermfg=199 ctermbg=16 cterm=bold
|
||||||
|
hi Exception ctermfg=118 cterm=bold
|
||||||
|
hi Float ctermfg=135
|
||||||
|
hi FoldColumn ctermfg=67 ctermbg=16
|
||||||
|
hi Folded ctermfg=67 ctermbg=16
|
||||||
|
hi Function ctermfg=118
|
||||||
|
hi Identifier ctermfg=208 cterm=none
|
||||||
|
hi Ignore ctermfg=244 ctermbg=232
|
||||||
|
hi IncSearch ctermfg=193 ctermbg=16
|
||||||
|
|
||||||
|
hi keyword ctermfg=161 cterm=bold
|
||||||
|
hi Label ctermfg=229 cterm=none
|
||||||
|
hi Macro ctermfg=193
|
||||||
|
hi SpecialKey ctermfg=81
|
||||||
|
|
||||||
|
hi MatchParen ctermfg=233 ctermbg=208 cterm=bold
|
||||||
|
hi ModeMsg ctermfg=229
|
||||||
|
hi MoreMsg ctermfg=229
|
||||||
|
hi Operator ctermfg=161
|
||||||
|
|
||||||
|
" complete menu
|
||||||
|
hi Pmenu ctermfg=81 ctermbg=16
|
||||||
|
hi PmenuSel ctermfg=255 ctermbg=242
|
||||||
|
hi PmenuSbar ctermbg=232
|
||||||
|
hi PmenuThumb ctermfg=81
|
||||||
|
|
||||||
|
hi PreCondit ctermfg=118 cterm=bold
|
||||||
|
hi PreProc ctermfg=118
|
||||||
|
hi Question ctermfg=81
|
||||||
|
hi Repeat ctermfg=161 cterm=bold
|
||||||
|
hi Search ctermfg=0 ctermbg=222 cterm=NONE
|
||||||
|
|
||||||
|
" marks column
|
||||||
|
hi SignColumn ctermfg=118 ctermbg=235
|
||||||
|
hi SpecialChar ctermfg=161 cterm=bold
|
||||||
|
hi SpecialComment ctermfg=245 cterm=bold
|
||||||
|
hi Special ctermfg=81
|
||||||
|
if has("spell")
|
||||||
|
hi SpellBad ctermbg=52
|
||||||
|
hi SpellCap ctermbg=17
|
||||||
|
hi SpellLocal ctermbg=17
|
||||||
|
hi SpellRare ctermfg=none ctermbg=none cterm=reverse
|
||||||
|
endif
|
||||||
|
hi Statement ctermfg=161 cterm=bold
|
||||||
|
hi StatusLine ctermfg=238 ctermbg=253
|
||||||
|
hi StatusLineNC ctermfg=244 ctermbg=232
|
||||||
|
hi StorageClass ctermfg=208
|
||||||
|
hi Structure ctermfg=81
|
||||||
|
hi Tag ctermfg=161
|
||||||
|
hi Title ctermfg=166
|
||||||
|
hi Todo ctermfg=231 ctermbg=232 cterm=bold
|
||||||
|
|
||||||
|
hi Typedef ctermfg=81
|
||||||
|
hi Type ctermfg=81 cterm=none
|
||||||
|
hi Underlined ctermfg=244 cterm=underline
|
||||||
|
|
||||||
|
hi VertSplit ctermfg=244 ctermbg=232 cterm=bold
|
||||||
|
hi VisualNOS ctermbg=238
|
||||||
|
hi Visual ctermbg=235
|
||||||
|
hi WarningMsg ctermfg=231 ctermbg=238 cterm=bold
|
||||||
|
hi WildMenu ctermfg=81 ctermbg=16
|
||||||
|
|
||||||
|
hi Comment ctermfg=59
|
||||||
|
hi CursorColumn ctermbg=236
|
||||||
|
hi ColorColumn ctermbg=236
|
||||||
|
hi LineNr ctermfg=250 ctermbg=236
|
||||||
|
hi NonText ctermfg=59
|
||||||
|
|
||||||
|
hi SpecialKey ctermfg=59
|
||||||
|
|
||||||
|
if exists("g:rehash256") && g:rehash256 == 1
|
||||||
|
hi Normal ctermfg=252 ctermbg=234
|
||||||
|
hi CursorLine ctermbg=236 cterm=none
|
||||||
|
hi CursorLineNr ctermfg=208 cterm=none
|
||||||
|
|
||||||
|
hi Boolean ctermfg=141
|
||||||
|
hi Character ctermfg=222
|
||||||
|
hi Number ctermfg=141
|
||||||
|
hi String ctermfg=222
|
||||||
|
hi Conditional ctermfg=197 cterm=bold
|
||||||
|
hi Constant ctermfg=141 cterm=bold
|
||||||
|
|
||||||
|
hi DiffDelete ctermfg=125 ctermbg=233
|
||||||
|
|
||||||
|
hi Directory ctermfg=154 cterm=bold
|
||||||
|
hi Error ctermfg=222 ctermbg=233
|
||||||
|
hi Exception ctermfg=154 cterm=bold
|
||||||
|
hi Float ctermfg=141
|
||||||
|
hi Function ctermfg=154
|
||||||
|
hi Identifier ctermfg=208
|
||||||
|
|
||||||
|
hi Keyword ctermfg=197 cterm=bold
|
||||||
|
hi Operator ctermfg=197
|
||||||
|
hi PreCondit ctermfg=154 cterm=bold
|
||||||
|
hi PreProc ctermfg=154
|
||||||
|
hi Repeat ctermfg=197 cterm=bold
|
||||||
|
|
||||||
|
hi Statement ctermfg=197 cterm=bold
|
||||||
|
hi Tag ctermfg=197
|
||||||
|
hi Title ctermfg=203
|
||||||
|
hi Visual ctermbg=238
|
||||||
|
|
||||||
|
hi Comment ctermfg=244
|
||||||
|
hi LineNr ctermfg=239 ctermbg=235
|
||||||
|
hi NonText ctermfg=239
|
||||||
|
hi SpecialKey ctermfg=239
|
||||||
|
endif
|
||||||
|
end
|
||||||
|
|
||||||
|
" Must be at the end, because of ctermbg=234 bug.
|
||||||
|
" https://groups.google.com/forum/#!msg/vim_dev/afPqwAFNdrU/nqh6tOM87QUJ
|
||||||
|
set background=dark
|
||||||
@@ -0,0 +1,109 @@
|
|||||||
|
" Vim color file
|
||||||
|
" Converted from Textmate theme Monokai using Coloration v0.3.2 (http://github.com/sickill/coloration)
|
||||||
|
|
||||||
|
set background=dark
|
||||||
|
highlight clear
|
||||||
|
|
||||||
|
if exists("syntax_on")
|
||||||
|
syntax reset
|
||||||
|
endif
|
||||||
|
|
||||||
|
set t_Co=256
|
||||||
|
let g:colors_name = "monokai"
|
||||||
|
|
||||||
|
hi Cursor ctermfg=235 ctermbg=231 cterm=NONE guifg=#272822 guibg=#f8f8f0 gui=NONE
|
||||||
|
hi Visual ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#49483e gui=NONE
|
||||||
|
hi CursorLine ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3c3d37 gui=NONE
|
||||||
|
hi CursorColumn ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3c3d37 gui=NONE
|
||||||
|
hi ColorColumn ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3c3d37 gui=NONE
|
||||||
|
hi LineNr ctermfg=102 ctermbg=237 cterm=NONE guifg=#90908a guibg=#3c3d37 gui=NONE
|
||||||
|
hi VertSplit ctermfg=241 ctermbg=241 cterm=NONE guifg=#64645e guibg=#64645e gui=NONE
|
||||||
|
hi MatchParen ctermfg=197 ctermbg=NONE cterm=underline guifg=#f92672 guibg=NONE gui=underline
|
||||||
|
hi StatusLine ctermfg=231 ctermbg=241 cterm=bold guifg=#f8f8f2 guibg=#64645e gui=bold
|
||||||
|
hi StatusLineNC ctermfg=231 ctermbg=241 cterm=NONE guifg=#f8f8f2 guibg=#64645e gui=NONE
|
||||||
|
hi Pmenu ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||||
|
hi PmenuSel ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#49483e gui=NONE
|
||||||
|
hi IncSearch term=reverse cterm=reverse ctermfg=193 ctermbg=16 gui=reverse guifg=#C4BE89 guibg=#000000
|
||||||
|
hi Search term=reverse cterm=NONE ctermfg=231 ctermbg=24 gui=NONE guifg=#f8f8f2 guibg=#204a87
|
||||||
|
hi Directory ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||||
|
hi Folded ctermfg=242 ctermbg=235 cterm=NONE guifg=#75715e guibg=#272822 gui=NONE
|
||||||
|
hi SignColumn ctermfg=NONE ctermbg=237 cterm=NONE guifg=NONE guibg=#3c3d37 gui=NONE
|
||||||
|
hi Normal ctermfg=231 ctermbg=235 cterm=NONE guifg=#f8f8f2 guibg=#272822 gui=NONE
|
||||||
|
hi Boolean ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||||
|
hi Character ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||||
|
hi Comment ctermfg=242 ctermbg=NONE cterm=NONE guifg=#75715e guibg=NONE gui=NONE
|
||||||
|
hi Conditional ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||||
|
hi Constant ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||||
|
hi Define ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||||
|
hi DiffAdd ctermfg=231 ctermbg=64 cterm=bold guifg=#f8f8f2 guibg=#46830c gui=bold
|
||||||
|
hi DiffDelete ctermfg=88 ctermbg=NONE cterm=NONE guifg=#8b0807 guibg=NONE gui=NONE
|
||||||
|
hi DiffChange ctermfg=NONE ctermbg=NONE cterm=NONE guifg=#f8f8f2 guibg=#243955 gui=NONE
|
||||||
|
hi DiffText ctermfg=231 ctermbg=24 cterm=bold guifg=#f8f8f2 guibg=#204a87 gui=bold
|
||||||
|
hi ErrorMsg ctermfg=231 ctermbg=197 cterm=NONE guifg=#f8f8f0 guibg=#f92672 gui=NONE
|
||||||
|
hi WarningMsg ctermfg=231 ctermbg=197 cterm=NONE guifg=#f8f8f0 guibg=#f92672 gui=NONE
|
||||||
|
hi Float ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||||
|
hi Function ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||||
|
hi Identifier ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||||
|
hi Keyword ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||||
|
hi Label ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||||
|
hi NonText ctermfg=59 ctermbg=236 cterm=NONE guifg=#49483e guibg=#31322c gui=NONE
|
||||||
|
hi Number ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||||
|
hi Operator ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||||
|
hi PreProc ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||||
|
hi Special ctermfg=231 ctermbg=NONE cterm=NONE guifg=#f8f8f2 guibg=NONE gui=NONE
|
||||||
|
hi SpecialComment ctermfg=242 ctermbg=NONE cterm=NONE guifg=#75715e guibg=NONE gui=NONE
|
||||||
|
hi SpecialKey ctermfg=59 ctermbg=237 cterm=NONE guifg=#49483e guibg=#3c3d37 gui=NONE
|
||||||
|
hi Statement ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||||
|
hi StorageClass ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||||
|
hi String ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||||
|
hi Tag ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||||
|
hi Title ctermfg=231 ctermbg=NONE cterm=bold guifg=#f8f8f2 guibg=NONE gui=bold
|
||||||
|
hi Todo ctermfg=95 ctermbg=NONE cterm=inverse,bold guifg=#75715e guibg=NONE gui=inverse,bold
|
||||||
|
hi Type ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||||
|
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline
|
||||||
|
hi rubyClass ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||||
|
hi rubyFunction ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||||
|
hi rubyInterpolationDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||||
|
hi rubySymbol ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||||
|
hi rubyConstant ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||||
|
hi rubyStringDelimiter ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||||
|
hi rubyBlockParameter ctermfg=208 ctermbg=NONE cterm=NONE guifg=#fd971f guibg=NONE gui=italic
|
||||||
|
hi rubyInstanceVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||||
|
hi rubyInclude ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||||
|
hi rubyGlobalVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||||
|
hi rubyRegexp ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||||
|
hi rubyRegexpDelimiter ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||||
|
hi rubyEscape ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||||
|
hi rubyControl ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||||
|
hi rubyClassVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||||
|
hi rubyOperator ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||||
|
hi rubyException ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||||
|
hi rubyPseudoVariable ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||||
|
hi rubyRailsUserClass ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||||
|
hi rubyRailsARAssociationMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||||
|
hi rubyRailsARMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||||
|
hi rubyRailsRenderMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||||
|
hi rubyRailsMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||||
|
hi erubyDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||||
|
hi erubyComment ctermfg=95 ctermbg=NONE cterm=NONE guifg=#75715e guibg=NONE gui=NONE
|
||||||
|
hi erubyRailsMethod ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||||
|
hi htmlTag ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||||
|
hi htmlEndTag ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||||
|
hi htmlTagName ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||||
|
hi htmlArg ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||||
|
hi htmlSpecialChar ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||||
|
hi javaScriptFunction ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=italic
|
||||||
|
hi javaScriptRailsFunction ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||||
|
hi javaScriptBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||||
|
hi yamlKey ctermfg=197 ctermbg=NONE cterm=NONE guifg=#f92672 guibg=NONE gui=NONE
|
||||||
|
hi yamlAnchor ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||||
|
hi yamlAlias ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||||
|
hi yamlDocumentHeader ctermfg=186 ctermbg=NONE cterm=NONE guifg=#e6db74 guibg=NONE gui=NONE
|
||||||
|
hi cssURL ctermfg=208 ctermbg=NONE cterm=NONE guifg=#fd971f guibg=NONE gui=italic
|
||||||
|
hi cssFunctionName ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||||
|
hi cssColor ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||||
|
hi cssPseudoClassId ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||||
|
hi cssClassName ctermfg=148 ctermbg=NONE cterm=NONE guifg=#a6e22e guibg=NONE gui=NONE
|
||||||
|
hi cssValueLength ctermfg=141 ctermbg=NONE cterm=NONE guifg=#ae81ff guibg=NONE gui=NONE
|
||||||
|
hi cssCommonAttr ctermfg=81 ctermbg=NONE cterm=NONE guifg=#66d9ef guibg=NONE gui=NONE
|
||||||
|
hi cssBraces ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||||
Whitespace-only changes.
@@ -0,0 +1,30 @@
|
|||||||
|
require("plugins")
|
||||||
|
require("keybinds")
|
||||||
|
-- GENERAL SETTINGS
|
||||||
|
vim.o.termguicolors = true
|
||||||
|
vim.cmd('colorscheme monokai') -- set colorscheme
|
||||||
|
vim.o.syntax = 'on'
|
||||||
|
vim.o.errorbells = false
|
||||||
|
vim.o.smartcase = true
|
||||||
|
vim.o.showmode = true
|
||||||
|
vim.o.ignorecase = true -- case-insensitive search
|
||||||
|
vim.bo.swapfile = false
|
||||||
|
vim.o.backup = false
|
||||||
|
vim.o.undodir = vim.fn.stdpath('config') .. '/undodir'
|
||||||
|
vim.o.undofile = true
|
||||||
|
vim.o.incsearch = true
|
||||||
|
vim.o.hidden = true
|
||||||
|
vim.o.completeopt='menuone,noinsert,noselect'
|
||||||
|
vim.bo.autoindent = true
|
||||||
|
vim.bo.smartindent = true
|
||||||
|
vim.o.tabstop = 2
|
||||||
|
vim.o.softtabstop = 2
|
||||||
|
vim.o.shiftwidth = 2
|
||||||
|
vim.o.expandtab = true
|
||||||
|
vim.wo.number = true
|
||||||
|
vim.wo.relativenumber = true
|
||||||
|
vim.o.scrolloff = 8
|
||||||
|
vim.wo.signcolumn = 'yes'
|
||||||
|
vim.wo.wrap = false
|
||||||
|
vim.opt.cursorline = true
|
||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
-- filetype-specific keybinds can be found in the ftplugin folder, requires 'filetype plugin on'
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
-- INSTALL PACKER PLUGINS https://github.com/wbthomason/packer.nvim#bootstrapping
|
||||||
|
local vim = vim
|
||||||
|
local execute = vim.api.nvim_command
|
||||||
|
local fn = vim.fn
|
||||||
|
local install_path = fn.stdpath('data')..'/site/pack/packer/opt/packer.nvim'
|
||||||
|
if fn.empty(fn.glob(install_path)) > 0 then
|
||||||
|
execute('!git clone https://github.com/wbthomason/packer.nvim '..install_path)
|
||||||
|
execute 'packadd packer.nvim'
|
||||||
|
end
|
||||||
|
vim.cmd('packadd packer.nvim')
|
||||||
|
local packer = require'packer'
|
||||||
|
local util = require'packer.util'
|
||||||
|
packer.init({
|
||||||
|
package_root = util.join_paths(vim.fn.stdpath('data'), 'site', 'pack')
|
||||||
|
})
|
||||||
|
--- startup and add configure plugins
|
||||||
|
packer.startup(function()
|
||||||
|
local use = use
|
||||||
|
use 'neovim/nvim-lspconfig'
|
||||||
|
use 'nvim-treesitter/nvim-treesitter'
|
||||||
|
end
|
||||||
|
)
|
||||||
|
--[[ PLUGIN CONFIGURATION
|
||||||
|
local configs = require'nvim-treesitter.configs'
|
||||||
|
configs.setup {
|
||||||
|
ensure_installed = "maintained",
|
||||||
|
highlight = {
|
||||||
|
enable = true,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]]--
|
||||||
|
|
||||||
@@ -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"
|
|
||||||
@@ -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"
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme",
|
||||||
|
"font_size": 15,
|
||||||
|
"theme": "Default.sublime-theme",
|
||||||
|
"create_window_at_startup": false,
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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
|
|
||||||
@@ -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
|
|
||||||
@@ -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
|
|
||||||
@@ -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
|
|
||||||
|
|
||||||
@@ -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
|
|
||||||
}
|
|
||||||
@@ -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
|
|
||||||
@@ -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
|
|
||||||
@@ -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
|
|
||||||
|
|
||||||
@@ -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 +0,0 @@
|
|||||||
https://curiouscoding.nl/linux/environment-variables/
|
|
||||||
@@ -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
|
|
||||||
@@ -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
|
|
||||||
@@ -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"
|
|
||||||
@@ -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"
|
|
||||||
@@ -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
|
|
||||||
@@ -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 %%
|
|
||||||
@@ -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
|
|
||||||
@@ -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
|
|
||||||
@@ -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
|
|
||||||
@@ -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 |
@@ -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'
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
kitty -e micro ~/.config/sway/cheatsheet.md
|
|
||||||
@@ -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;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
#CONFIGURATION
|
||||||
|
set-option -g prefix C-a # rebind tmux prefix to CTRL + a because vim uses default CTRL + b
|
||||||
|
bind-key C-a last-window # double-press of CTRL + a (tmux prefix) switches to previous window
|
||||||
|
set-window-option -g mode-keys vi # vi mode
|
||||||
|
set-option -g allow-rename off # dont rename windows on command execution TODO fix
|
||||||
|
set -s escape-time 0 # dont delay escape key in vim
|
||||||
|
set -g base-index 1 # start windows numbering at 1
|
||||||
|
|
||||||
|
#COLORS
|
||||||
|
set -g default-terminal "screen-256color" # use default terminal colors
|
||||||
|
set-option -g pane-border-style fg=white
|
||||||
|
set-option -g pane-active-border-style fg=green
|
||||||
|
set-option -g message-style bg=green,fg=black
|
||||||
|
|
||||||
|
#STATUSBAR
|
||||||
|
set -g status-position bottom
|
||||||
|
set -g status-left ""
|
||||||
|
set -g status-right "#{?window_bigger,[#{window_offset_x}#,#{window_offset_y}] ,}#{=21:pane_title}"
|
||||||
|
set -g status-style fg=black,bg=red # color for the statusbar
|
||||||
|
set-window-option -g window-status-current-style fg=green,bg=black # color for the current window (tab)
|
||||||
+5128
File diff suppressed because it is too large.
Load diff
Whitespace-only changes.
@@ -0,0 +1 @@
|
|||||||
|
/home/en/.config/xfce4/desktop/icons.screen0-4464x1424.rc
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
[xfdesktop-version-4.10.3+-rcfile_format]
|
||||||
|
4.10.3+=true
|
||||||
|
|
||||||
|
[Trash]
|
||||||
|
row=0
|
||||||
|
col=0
|
||||||
|
|
||||||
|
[/]
|
||||||
|
row=1
|
||||||
|
col=0
|
||||||
|
|
||||||
|
[/home/en]
|
||||||
|
row=2
|
||||||
|
col=0
|
||||||
|
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
[xfdesktop-version-4.10.3+-rcfile_format]
|
||||||
|
4.10.3+=true
|
||||||
|
|
||||||
|
[/]
|
||||||
|
row=0
|
||||||
|
col=0
|
||||||
|
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
[xfdesktop-version-4.10.3+-rcfile_format]
|
||||||
|
4.10.3+=true
|
||||||
|
|
||||||
|
[/]
|
||||||
|
row=0
|
||||||
|
col=0
|
||||||
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
auto-online=false
|
||||||
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
FileManager=Thunar
|
||||||
|
WebBrowser=firefox
|
||||||
|
MailReader=thunderbird
|
||||||
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
layout=3
|
||||||
|
date_font=Bitstream Vera Sans 8
|
||||||
|
time_font=Bitstream Vera Sans 8
|
||||||
|
date_format=%Y-%m-%d
|
||||||
|
time_format=%H:%M
|
||||||
|
|
||||||
@@ -0,0 +1,88 @@
|
|||||||
|
favorites=xfce4-terminal-emulator.desktop,xfce4-file-manager.desktop,xfce4-web-browser.desktop,xfce4-mail-reader.desktop
|
||||||
|
recent=telegramdesktop.desktop,vlc.desktop,jetbrains-idea.desktop,xfce-display-settings.desktop,org.manjaro.pamac.manager.desktop,thunar.desktop,joplin.desktop,bitwarden.desktop,discord.desktop,teamspeak3.desktop
|
||||||
|
button-icon=/usr/share/icons/whiskermenu-manjaro.svg
|
||||||
|
button-single-row=false
|
||||||
|
show-button-title=false
|
||||||
|
show-button-icon=true
|
||||||
|
launcher-show-name=true
|
||||||
|
launcher-show-description=true
|
||||||
|
launcher-show-tooltip=true
|
||||||
|
launcher-icon-size=2
|
||||||
|
hover-switch-category=false
|
||||||
|
category-show-name=true
|
||||||
|
category-icon-size=1
|
||||||
|
sort-categories=true
|
||||||
|
view-mode=1
|
||||||
|
default-category=0
|
||||||
|
recent-items-max=10
|
||||||
|
favorites-in-recent=true
|
||||||
|
position-search-alternate=false
|
||||||
|
position-commands-alternate=false
|
||||||
|
position-categories-alternate=false
|
||||||
|
position-categories-horizontal=false
|
||||||
|
stay-on-focus-out=false
|
||||||
|
profile-shape=0
|
||||||
|
confirm-session-command=true
|
||||||
|
menu-width=510
|
||||||
|
menu-height=549
|
||||||
|
menu-opacity=100
|
||||||
|
command-settings=xfce4-settings-manager
|
||||||
|
show-command-settings=true
|
||||||
|
command-lockscreen=xflock4
|
||||||
|
show-command-lockscreen=true
|
||||||
|
command-switchuser=dm-tool switch-to-greeter
|
||||||
|
show-command-switchuser=true
|
||||||
|
command-logoutuser=xfce4-session-logout --logout --fast
|
||||||
|
show-command-logoutuser=false
|
||||||
|
command-restart=xfce4-session-logout --reboot --fast
|
||||||
|
show-command-restart=false
|
||||||
|
command-shutdown=xfce4-session-logout --halt --fast
|
||||||
|
show-command-shutdown=false
|
||||||
|
command-suspend=xfce4-session-logout --suspend
|
||||||
|
show-command-suspend=false
|
||||||
|
command-hibernate=xfce4-session-logout --hibernate
|
||||||
|
show-command-hibernate=false
|
||||||
|
command-logout=xfce4-session-logout
|
||||||
|
show-command-logout=true
|
||||||
|
command-menueditor=menulibre
|
||||||
|
show-command-menueditor=true
|
||||||
|
command-profile=mugshot
|
||||||
|
show-command-profile=true
|
||||||
|
search-actions=6
|
||||||
|
|
||||||
|
[action0]
|
||||||
|
name=Man Pages
|
||||||
|
pattern=#
|
||||||
|
command=exo-open --launch TerminalEmulator man %s
|
||||||
|
regex=false
|
||||||
|
|
||||||
|
[action1]
|
||||||
|
name=Search the Web
|
||||||
|
pattern=?
|
||||||
|
command=exo-open --launch WebBrowser https://duckduckgo.com/?q=%u
|
||||||
|
regex=false
|
||||||
|
|
||||||
|
[action2]
|
||||||
|
name=Search for Files
|
||||||
|
pattern=-
|
||||||
|
command=catfish --path=~ --start %s
|
||||||
|
regex=false
|
||||||
|
|
||||||
|
[action3]
|
||||||
|
name=Wikipedia
|
||||||
|
pattern=!w
|
||||||
|
command=exo-open --launch WebBrowser https://en.wikipedia.org/wiki/%u
|
||||||
|
regex=false
|
||||||
|
|
||||||
|
[action4]
|
||||||
|
name=Run in Terminal
|
||||||
|
pattern=!
|
||||||
|
command=exo-open --launch TerminalEmulator %s
|
||||||
|
regex=false
|
||||||
|
|
||||||
|
[action5]
|
||||||
|
name=Open URI
|
||||||
|
pattern=^(file|http|https):\\/\\/(.*)$
|
||||||
|
command=exo-open \\0
|
||||||
|
regex=true
|
||||||
|
|
||||||
@@ -0,0 +1,44 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<actions>
|
||||||
|
<action>
|
||||||
|
<name>Bugz</name>
|
||||||
|
<regex>bug\s*#?\s*([0-9]+)</regex>
|
||||||
|
<group>0</group>
|
||||||
|
<commands>
|
||||||
|
<command>
|
||||||
|
<name>GNOME Bug</name>
|
||||||
|
<exec>exo-open http://bugzilla.gnome.org/show_bug.cgi?id=\1</exec>
|
||||||
|
</command>
|
||||||
|
<command>
|
||||||
|
<name>Xfce Bug</name>
|
||||||
|
<exec>exo-open http://bugzilla.xfce.org/show_bug.cgi?id=\1</exec>
|
||||||
|
</command>
|
||||||
|
</commands>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<name>Image</name>
|
||||||
|
<regex>(http|ftp).+\.(jpg|png|gif)</regex>
|
||||||
|
<group>0</group>
|
||||||
|
<commands>
|
||||||
|
<command>
|
||||||
|
<name>View with Ristretto</name>
|
||||||
|
<exec>ristretto "\0"</exec>
|
||||||
|
</command>
|
||||||
|
<command>
|
||||||
|
<name>Edit with Gimp</name>
|
||||||
|
<exec>gimp-remote "\0"</exec>
|
||||||
|
</command>
|
||||||
|
</commands>
|
||||||
|
</action>
|
||||||
|
<action>
|
||||||
|
<name>Long URL</name>
|
||||||
|
<regex>http://[^\s]{120,}</regex>
|
||||||
|
<group>0</group>
|
||||||
|
<commands>
|
||||||
|
<command>
|
||||||
|
<name>Shrink the URL</name>
|
||||||
|
<exec>exo-open http://tinyurl.com/create.php?url=\0</exec>
|
||||||
|
</command>
|
||||||
|
</commands>
|
||||||
|
</action>
|
||||||
|
</actions>
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
[Configuration]
|
||||||
|
MiscAlwaysShowTabs=FALSE
|
||||||
|
MiscBell=FALSE
|
||||||
|
MiscBellUrgent=FALSE
|
||||||
|
MiscBordersDefault=TRUE
|
||||||
|
MiscCursorBlinks=FALSE
|
||||||
|
MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK
|
||||||
|
MiscDefaultGeometry=80x24
|
||||||
|
MiscInheritGeometry=FALSE
|
||||||
|
MiscMenubarDefault=TRUE
|
||||||
|
MiscMouseAutohide=FALSE
|
||||||
|
MiscMouseWheelZoom=TRUE
|
||||||
|
MiscToolbarDefault=FALSE
|
||||||
|
MiscConfirmClose=FALSE
|
||||||
|
MiscCycleTabs=TRUE
|
||||||
|
MiscTabCloseButtons=TRUE
|
||||||
|
MiscTabCloseMiddleClick=TRUE
|
||||||
|
MiscTabPosition=GTK_POS_TOP
|
||||||
|
MiscHighlightUrls=TRUE
|
||||||
|
MiscMiddleClickOpensUri=FALSE
|
||||||
|
MiscCopyOnSelect=FALSE
|
||||||
|
MiscShowRelaunchDialog=TRUE
|
||||||
|
MiscRewrapOnResize=TRUE
|
||||||
|
MiscUseShiftArrowsToScroll=FALSE
|
||||||
|
MiscSlimTabs=FALSE
|
||||||
|
MiscNewTabAdjacent=FALSE
|
||||||
|
MiscSearchDialogOpacity=100
|
||||||
|
MiscShowUnsafePasteDialog=TRUE
|
||||||
|
MiscRightClickAction=TERMINAL_RIGHT_CLICK_ACTION_CONTEXT_MENU
|
||||||
|
|
||||||
@@ -0,0 +1,183 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="displays" version="1.0">
|
||||||
|
<property name="ActiveProfile" type="string" value="Default"/>
|
||||||
|
<property name="Default" type="empty">
|
||||||
|
<property name="eDP-1" type="string" value="Laptop">
|
||||||
|
<property name="Active" type="bool" value="true"/>
|
||||||
|
<property name="EDID" type="string" value="6286d3faef3ac66bdb7b8d17bbbcd438a9cc8327"/>
|
||||||
|
<property name="Resolution" type="string" value="1920x1080"/>
|
||||||
|
<property name="RefreshRate" type="double" value="60.020425"/>
|
||||||
|
<property name="Rotation" type="int" value="0"/>
|
||||||
|
<property name="Reflection" type="string" value="0"/>
|
||||||
|
<property name="Primary" type="bool" value="false"/>
|
||||||
|
<property name="Scale" type="empty">
|
||||||
|
<property name="X" type="double" value="1.000000"/>
|
||||||
|
<property name="Y" type="double" value="1.000000"/>
|
||||||
|
</property>
|
||||||
|
<property name="Position" type="empty">
|
||||||
|
<property name="X" type="int" value="0"/>
|
||||||
|
<property name="Y" type="int" value="0"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="HDMI-2" type="string" value="Hitachi Ltd 74"">
|
||||||
|
<property name="Active" type="bool" value="true"/>
|
||||||
|
<property name="EDID" type="string" value="a43a7508431c69883628ce9ec2d8b3307c769e5e"/>
|
||||||
|
<property name="Resolution" type="string" value="2560x1440"/>
|
||||||
|
<property name="RefreshRate" type="double" value="59.950550"/>
|
||||||
|
<property name="Rotation" type="int" value="0"/>
|
||||||
|
<property name="Reflection" type="string" value="0"/>
|
||||||
|
<property name="Primary" type="bool" value="false"/>
|
||||||
|
<property name="Scale" type="empty">
|
||||||
|
<property name="X" type="double" value="1.000000"/>
|
||||||
|
<property name="Y" type="double" value="1.000000"/>
|
||||||
|
</property>
|
||||||
|
<property name="Position" type="empty">
|
||||||
|
<property name="X" type="int" value="0"/>
|
||||||
|
<property name="Y" type="int" value="0"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="DP-1" type="string" value="Acer Technologies 20"">
|
||||||
|
<property name="Active" type="bool" value="true"/>
|
||||||
|
<property name="EDID" type="string" value="83c46d528bd3ae63202b3a95940b788aae98da3d"/>
|
||||||
|
<property name="Resolution" type="string" value="1600x900"/>
|
||||||
|
<property name="RefreshRate" type="double" value="59.946021"/>
|
||||||
|
<property name="Rotation" type="int" value="0"/>
|
||||||
|
<property name="Reflection" type="string" value="0"/>
|
||||||
|
<property name="Primary" type="bool" value="false"/>
|
||||||
|
<property name="Scale" type="empty">
|
||||||
|
<property name="X" type="double" value="1.000000"/>
|
||||||
|
<property name="Y" type="double" value="1.000000"/>
|
||||||
|
</property>
|
||||||
|
<property name="Position" type="empty">
|
||||||
|
<property name="X" type="int" value="3840"/>
|
||||||
|
<property name="Y" type="int" value="180"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="DP-2-3" type="string" value="Fujitsu Siemens Computers GmbH 24"">
|
||||||
|
<property name="Active" type="bool" value="true"/>
|
||||||
|
<property name="EDID" type="string" value="3ac067f469266177b5b402de9b36f341716166c4"/>
|
||||||
|
<property name="Resolution" type="string" value="1920x1080"/>
|
||||||
|
<property name="RefreshRate" type="double" value="60.000000"/>
|
||||||
|
<property name="Rotation" type="int" value="0"/>
|
||||||
|
<property name="Reflection" type="string" value="0"/>
|
||||||
|
<property name="Primary" type="bool" value="false"/>
|
||||||
|
<property name="Scale" type="empty">
|
||||||
|
<property name="X" type="double" value="1.000000"/>
|
||||||
|
<property name="Y" type="double" value="1.000000"/>
|
||||||
|
</property>
|
||||||
|
<property name="Position" type="empty">
|
||||||
|
<property name="X" type="int" value="1920"/>
|
||||||
|
<property name="Y" type="int" value="0"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="Fallback" type="empty">
|
||||||
|
<property name="eDP-1" type="string" value="Laptop">
|
||||||
|
<property name="Active" type="bool" value="true"/>
|
||||||
|
<property name="EDID" type="string" value="6286d3faef3ac66bdb7b8d17bbbcd438a9cc8327"/>
|
||||||
|
<property name="Resolution" type="string" value="1920x1080"/>
|
||||||
|
<property name="RefreshRate" type="double" value="60.020425"/>
|
||||||
|
<property name="Rotation" type="int" value="0"/>
|
||||||
|
<property name="Reflection" type="string" value="0"/>
|
||||||
|
<property name="Primary" type="bool" value="false"/>
|
||||||
|
<property name="Scale" type="empty">
|
||||||
|
<property name="X" type="double" value="1.000000"/>
|
||||||
|
<property name="Y" type="double" value="1.000000"/>
|
||||||
|
</property>
|
||||||
|
<property name="Position" type="empty">
|
||||||
|
<property name="X" type="int" value="0"/>
|
||||||
|
<property name="Y" type="int" value="0"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="HDMI-2" type="string" value="Hitachi Ltd 74"">
|
||||||
|
<property name="Active" type="bool" value="true"/>
|
||||||
|
<property name="EDID" type="string" value="a43a7508431c69883628ce9ec2d8b3307c769e5e"/>
|
||||||
|
<property name="Resolution" type="string" value="2560x1440"/>
|
||||||
|
<property name="RefreshRate" type="double" value="59.950550"/>
|
||||||
|
<property name="Rotation" type="int" value="0"/>
|
||||||
|
<property name="Reflection" type="string" value="0"/>
|
||||||
|
<property name="Primary" type="bool" value="false"/>
|
||||||
|
<property name="Scale" type="empty">
|
||||||
|
<property name="X" type="double" value="1.000000"/>
|
||||||
|
<property name="Y" type="double" value="1.000000"/>
|
||||||
|
</property>
|
||||||
|
<property name="Position" type="empty">
|
||||||
|
<property name="X" type="int" value="0"/>
|
||||||
|
<property name="Y" type="int" value="0"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="DP-1" type="string" value="Acer Technologies 20"">
|
||||||
|
<property name="Active" type="bool" value="true"/>
|
||||||
|
<property name="EDID" type="string" value="83c46d528bd3ae63202b3a95940b788aae98da3d"/>
|
||||||
|
<property name="Resolution" type="string" value="1600x900"/>
|
||||||
|
<property name="RefreshRate" type="double" value="59.946021"/>
|
||||||
|
<property name="Rotation" type="int" value="0"/>
|
||||||
|
<property name="Reflection" type="string" value="0"/>
|
||||||
|
<property name="Primary" type="bool" value="false"/>
|
||||||
|
<property name="Scale" type="empty">
|
||||||
|
<property name="X" type="double" value="1.000000"/>
|
||||||
|
<property name="Y" type="double" value="1.000000"/>
|
||||||
|
</property>
|
||||||
|
<property name="Position" type="empty">
|
||||||
|
<property name="X" type="int" value="3840"/>
|
||||||
|
<property name="Y" type="int" value="180"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="DP-2-3" type="string" value="Fujitsu Siemens Computers GmbH 24"">
|
||||||
|
<property name="Active" type="bool" value="true"/>
|
||||||
|
<property name="EDID" type="string" value="3ac067f469266177b5b402de9b36f341716166c4"/>
|
||||||
|
<property name="Resolution" type="string" value="1920x1080"/>
|
||||||
|
<property name="RefreshRate" type="double" value="60.000000"/>
|
||||||
|
<property name="Rotation" type="int" value="0"/>
|
||||||
|
<property name="Reflection" type="string" value="0"/>
|
||||||
|
<property name="Primary" type="bool" value="false"/>
|
||||||
|
<property name="Scale" type="empty">
|
||||||
|
<property name="X" type="double" value="1.000000"/>
|
||||||
|
<property name="Y" type="double" value="1.000000"/>
|
||||||
|
</property>
|
||||||
|
<property name="Position" type="empty">
|
||||||
|
<property name="X" type="int" value="1920"/>
|
||||||
|
<property name="Y" type="int" value="0"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="Notify" type="bool" value="true"/>
|
||||||
|
<property name="AutoEnableProfiles" type="bool" value="true"/>
|
||||||
|
<property name="f66c01e28187a10aaf92e14d049783bc98954348" type="string" value="dell_u2711">
|
||||||
|
<property name="eDP-1" type="string" value="Laptop">
|
||||||
|
<property name="Active" type="bool" value="true"/>
|
||||||
|
<property name="EDID" type="string" value="6286d3faef3ac66bdb7b8d17bbbcd438a9cc8327"/>
|
||||||
|
<property name="Resolution" type="string" value="1920x1080"/>
|
||||||
|
<property name="RefreshRate" type="double" value="60.020425"/>
|
||||||
|
<property name="Rotation" type="int" value="0"/>
|
||||||
|
<property name="Reflection" type="string" value="0"/>
|
||||||
|
<property name="Primary" type="bool" value="false"/>
|
||||||
|
<property name="Scale" type="empty">
|
||||||
|
<property name="X" type="double" value="1.000000"/>
|
||||||
|
<property name="Y" type="double" value="1.000000"/>
|
||||||
|
</property>
|
||||||
|
<property name="Position" type="empty">
|
||||||
|
<property name="X" type="int" value="0"/>
|
||||||
|
<property name="Y" type="int" value="0"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="HDMI-2" type="string" value="Dell Inc. 27"">
|
||||||
|
<property name="Active" type="bool" value="true"/>
|
||||||
|
<property name="EDID" type="string" value="8e85084eac2a6fde3e963b461d47fe6654a8eca3"/>
|
||||||
|
<property name="Resolution" type="string" value="2560x1440"/>
|
||||||
|
<property name="RefreshRate" type="double" value="59.950550"/>
|
||||||
|
<property name="Rotation" type="int" value="0"/>
|
||||||
|
<property name="Reflection" type="string" value="0"/>
|
||||||
|
<property name="Primary" type="bool" value="true"/>
|
||||||
|
<property name="Scale" type="empty">
|
||||||
|
<property name="X" type="double" value="1.000000"/>
|
||||||
|
<property name="Y" type="double" value="1.000000"/>
|
||||||
|
</property>
|
||||||
|
<property name="Position" type="empty">
|
||||||
|
<property name="X" type="int" value="1920"/>
|
||||||
|
<property name="Y" type="int" value="0"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="keyboard-layout" version="1.0">
|
||||||
|
<property name="Default" type="empty">
|
||||||
|
<property name="XkbDisable" type="bool" value="false"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="keyboards" version="1.0">
|
||||||
|
<property name="Default" type="empty">
|
||||||
|
<property name="Numlock" type="bool" value="false"/>
|
||||||
|
<property name="KeyRepeat" type="empty">
|
||||||
|
<property name="Delay" type="int" value="297"/>
|
||||||
|
<property name="Rate" type="int" value="73"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="pointers" version="1.0">
|
||||||
|
<property name="SynPS2_Synaptics_TouchPad" type="empty">
|
||||||
|
<property name="RightHanded" type="bool" value="true"/>
|
||||||
|
<property name="Threshold" type="int" value="1"/>
|
||||||
|
<property name="Acceleration" type="double" value="8.000000"/>
|
||||||
|
<property name="Properties" type="empty">
|
||||||
|
<property name="libinput_Tapping_Enabled" type="int" value="1"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="SYNA360200_09115288_Touchpad" type="empty">
|
||||||
|
<property name="RightHanded" type="bool" value="true"/>
|
||||||
|
<property name="Threshold" type="int" value="1"/>
|
||||||
|
<property name="Acceleration" type="double" value="8.000000"/>
|
||||||
|
<property name="Properties" type="empty">
|
||||||
|
<property name="libinput_Tapping_Enabled" type="int" value="1"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="ETPS2_Elantech_Touchpad" type="empty">
|
||||||
|
<property name="Properties" type="empty">
|
||||||
|
<property name="libinput_Tapping_Enabled" type="int" value="1"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="ALPS000100_09115288_Touchpad" type="empty">
|
||||||
|
<property name="Properties" type="empty">
|
||||||
|
<property name="libinput_Tapping_Enabled" type="int" value="1"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="thunar" version="1.0">
|
||||||
|
<property name="default-view" type="string" value="void"/>
|
||||||
|
<property name="last-compact-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_SMALLEST"/>
|
||||||
|
<property name="last-details-view-column-order" type="string" value="THUNAR_COLUMN_NAME,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_TYPE,THUNAR_COLUMN_DATE_MODIFIED"/>
|
||||||
|
<property name="last-details-view-column-widths" type="string" value=""/>
|
||||||
|
<property name="last-details-view-fixed-columns" type="bool" value="false"/>
|
||||||
|
<property name="last-details-view-visible-columns" type="string" value="THUNAR_COLUMN_DATE_MODIFIED,THUNAR_COLUMN_NAME,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_TYPE"/>
|
||||||
|
<property name="last-details-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_SMALLER"/>
|
||||||
|
<property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_75_PERCENT"/>
|
||||||
|
<property name="last-location-bar" type="string" value="ThunarLocationEntry"/>
|
||||||
|
<property name="last-separator-position" type="int" value="197"/>
|
||||||
|
<property name="last-show-hidden" type="bool" value="true"/>
|
||||||
|
<property name="last-side-pane" type="string" value="ThunarShortcutsPane"/>
|
||||||
|
<property name="last-sort-column" type="string" value="THUNAR_COLUMN_NAME"/>
|
||||||
|
<property name="last-sort-order" type="string" value="GTK_SORT_ASCENDING"/>
|
||||||
|
<property name="last-statusbar-visible" type="bool" value="true"/>
|
||||||
|
<property name="last-view" type="string" value="ThunarIconView"/>
|
||||||
|
<property name="last-window-height" type="int" value="1021"/>
|
||||||
|
<property name="last-window-width" type="int" value="996"/>
|
||||||
|
<property name="last-window-maximized" type="bool" value="true"/>
|
||||||
|
<property name="misc-volume-management" type="bool" value="true"/>
|
||||||
|
<property name="misc-case-sensitive" type="bool" value="false"/>
|
||||||
|
<property name="misc-date-style" type="string" value="THUNAR_DATE_STYLE_SIMPLE"/>
|
||||||
|
<property name="misc-folders-first" type="bool" value="true"/>
|
||||||
|
<property name="misc-horizontal-wheel-navigates" type="bool" value="false"/>
|
||||||
|
<property name="misc-recursive-permissions" type="string" value="THUNAR_RECURSIVE_PERMISSIONS_ALWAYS"/>
|
||||||
|
<property name="misc-remember-geometry" type="bool" value="true"/>
|
||||||
|
<property name="misc-show-about-templates" type="bool" value="true"/>
|
||||||
|
<property name="misc-single-click" type="bool" value="false"/>
|
||||||
|
<property name="misc-single-click-timeout" type="uint" value="500"/>
|
||||||
|
<property name="misc-text-beside-icons" type="bool" value="false"/>
|
||||||
|
<property name="shortcuts-icon-emblems" type="bool" value="true"/>
|
||||||
|
<property name="shortcuts-icon-size" type="string" value="THUNAR_ICON_SIZE_SMALLEST"/>
|
||||||
|
<property name="tree-icon-emblems" type="bool" value="true"/>
|
||||||
|
<property name="tree-icon-size" type="string" value="THUNAR_ICON_SIZE_SMALLEST"/>
|
||||||
|
<property name="misc-middle-click-in-tab" type="bool" value="true"/>
|
||||||
|
<property name="hidden-bookmarks" type="array">
|
||||||
|
<value type="string" value="file:///home/en/Desktop"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfce4-desktop" version="1.0">
|
||||||
|
<property name="backdrop" type="empty">
|
||||||
|
<property name="screen0" type="empty">
|
||||||
|
<property name="monitor0" type="empty">
|
||||||
|
<property name="image-path" type="string" value="/usr/share/backgrounds/xfce/illyria-default.jpg"/>
|
||||||
|
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/illyria-default.jpg"/>
|
||||||
|
<property name="last-single-image" type="string" value="/usr/share/backgrounds/xfce/illyria-default.jpg"/>
|
||||||
|
<property name="image-style" type="int" value="5"/>
|
||||||
|
</property>
|
||||||
|
<property name="monitoreDP-1" type="empty">
|
||||||
|
<property name="workspace0" type="empty">
|
||||||
|
<property name="color-style" type="int" value="0"/>
|
||||||
|
<property name="image-style" type="int" value="5"/>
|
||||||
|
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/illyria-default.jpg"/>
|
||||||
|
</property>
|
||||||
|
<property name="workspace1" type="empty">
|
||||||
|
<property name="color-style" type="int" value="0"/>
|
||||||
|
<property name="image-style" type="int" value="5"/>
|
||||||
|
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/illyria-default.jpg"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="monitorHDMI-2" type="empty">
|
||||||
|
<property name="workspace0" type="empty">
|
||||||
|
<property name="color-style" type="int" value="0"/>
|
||||||
|
<property name="image-style" type="int" value="5"/>
|
||||||
|
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-verticals.png"/>
|
||||||
|
</property>
|
||||||
|
<property name="workspace1" type="empty">
|
||||||
|
<property name="color-style" type="int" value="0"/>
|
||||||
|
<property name="image-style" type="int" value="5"/>
|
||||||
|
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-verticals.png"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="desktop-icons" type="empty">
|
||||||
|
<property name="style" type="int" value="2"/>
|
||||||
|
<property name="file-icons" type="empty">
|
||||||
|
<property name="show-removable" type="bool" value="false"/>
|
||||||
|
<property name="show-trash" type="bool" value="false"/>
|
||||||
|
<property name="show-home" type="bool" value="false"/>
|
||||||
|
</property>
|
||||||
|
<property name="icon-size" type="uint" value="42"/>
|
||||||
|
<property name="tooltip-size" type="double" value="96.000000"/>
|
||||||
|
</property>
|
||||||
|
<property name="last" type="empty">
|
||||||
|
<property name="window-width" type="int" value="619"/>
|
||||||
|
<property name="window-height" type="int" value="524"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
@@ -0,0 +1,210 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfce4-keyboard-shortcuts" version="1.0">
|
||||||
|
<property name="commands" type="empty">
|
||||||
|
<property name="default" type="empty">
|
||||||
|
<property name="<Alt>F1" type="empty"/>
|
||||||
|
<property name="<Alt>F2" type="empty">
|
||||||
|
<property name="startup-notify" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="<Alt>F3" type="empty">
|
||||||
|
<property name="startup-notify" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="<Primary><Alt>Delete" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>l" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>t" type="empty"/>
|
||||||
|
<property name="XF86Display" type="empty"/>
|
||||||
|
<property name="<Super>p" type="empty"/>
|
||||||
|
<property name="<Primary>Escape" type="empty"/>
|
||||||
|
<property name="XF86WWW" type="empty"/>
|
||||||
|
<property name="HomePage" type="empty"/>
|
||||||
|
<property name="XF86Mail" type="empty"/>
|
||||||
|
<property name="Print" type="empty"/>
|
||||||
|
<property name="<Alt>Print" type="empty"/>
|
||||||
|
<property name="<Shift>Print" type="empty"/>
|
||||||
|
<property name="<Super>e" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>f" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>Escape" type="empty"/>
|
||||||
|
<property name="<Primary><Shift>Escape" type="empty"/>
|
||||||
|
<property name="<Super>r" type="empty">
|
||||||
|
<property name="startup-notify" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="<Control><Alt>Delete" type="empty"/>
|
||||||
|
<property name="<Control>Escape" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="custom" type="empty">
|
||||||
|
<property name="<Alt>F3" type="empty">
|
||||||
|
<property name="startup-notify" type="bool" value="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="<Alt>F2" type="empty">
|
||||||
|
<property name="startup-notify" type="bool" value="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="override" type="bool" value="true"/>
|
||||||
|
<property name="Print" type="string" value="xfce4-screenshooter -fd 1"/>
|
||||||
|
<property name="<Shift>Print" type="string" value="xfce4-screenshooter -wd 1"/>
|
||||||
|
<property name="<Primary><Shift>Print" type="string" value="xfce4-screenshooter -r"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="xfwm4" type="empty">
|
||||||
|
<property name="default" type="empty">
|
||||||
|
<property name="<Alt>Insert" type="empty"/>
|
||||||
|
<property name="Escape" type="empty"/>
|
||||||
|
<property name="Left" type="empty"/>
|
||||||
|
<property name="Right" type="empty"/>
|
||||||
|
<property name="Up" type="empty"/>
|
||||||
|
<property name="Down" type="empty"/>
|
||||||
|
<property name="<Alt>Tab" type="empty"/>
|
||||||
|
<property name="<Alt><Shift>Tab" type="empty"/>
|
||||||
|
<property name="<Alt>Delete" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>Down" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>Left" type="empty"/>
|
||||||
|
<property name="<Shift><Alt>Page_Down" type="empty"/>
|
||||||
|
<property name="<Alt>F4" type="empty"/>
|
||||||
|
<property name="<Alt>F6" type="empty"/>
|
||||||
|
<property name="<Alt>F7" type="empty"/>
|
||||||
|
<property name="<Alt>F8" type="empty"/>
|
||||||
|
<property name="<Alt>F9" type="empty"/>
|
||||||
|
<property name="<Alt>F10" type="empty"/>
|
||||||
|
<property name="<Alt>F11" type="empty"/>
|
||||||
|
<property name="<Alt>F12" type="empty"/>
|
||||||
|
<property name="<Primary><Shift><Alt>Left" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>End" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>Home" type="empty"/>
|
||||||
|
<property name="<Primary><Shift><Alt>Right" type="empty"/>
|
||||||
|
<property name="<Primary><Shift><Alt>Up" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_1" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_2" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_3" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_4" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_5" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_6" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_7" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_8" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>KP_9" type="empty"/>
|
||||||
|
<property name="<Alt>space" type="empty"/>
|
||||||
|
<property name="<Shift><Alt>Page_Up" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>Right" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>d" type="empty"/>
|
||||||
|
<property name="<Primary><Alt>Up" type="empty"/>
|
||||||
|
<property name="<Super>Tab" type="empty"/>
|
||||||
|
<property name="<Primary>F1" type="empty"/>
|
||||||
|
<property name="<Primary>F2" type="empty"/>
|
||||||
|
<property name="<Primary>F3" type="empty"/>
|
||||||
|
<property name="<Primary>F4" type="empty"/>
|
||||||
|
<property name="<Primary>F5" type="empty"/>
|
||||||
|
<property name="<Primary>F6" type="empty"/>
|
||||||
|
<property name="<Primary>F7" type="empty"/>
|
||||||
|
<property name="<Primary>F8" type="empty"/>
|
||||||
|
<property name="<Primary>F9" type="empty"/>
|
||||||
|
<property name="<Primary>F10" type="empty"/>
|
||||||
|
<property name="<Primary>F11" type="empty"/>
|
||||||
|
<property name="<Primary>F12" type="empty"/>
|
||||||
|
<property name="<Super>KP_Left" type="empty"/>
|
||||||
|
<property name="<Super>KP_Right" type="empty"/>
|
||||||
|
<property name="<Super>KP_Up" type="empty"/>
|
||||||
|
<property name="<Super>KP_Down" type="empty"/>
|
||||||
|
<property name="<Super>KP_Page_Up" type="empty"/>
|
||||||
|
<property name="<Super>KP_Home" type="empty"/>
|
||||||
|
<property name="<Super>KP_End" type="empty"/>
|
||||||
|
<property name="<Super>KP_Next" type="empty"/>
|
||||||
|
<property name="<Control><Alt>Down" type="empty"/>
|
||||||
|
<property name="<Control><Alt>Left" type="empty"/>
|
||||||
|
<property name="<Control><Shift><Alt>Left" type="empty"/>
|
||||||
|
<property name="<Alt><Control>End" type="empty"/>
|
||||||
|
<property name="<Alt><Control>Home" type="empty"/>
|
||||||
|
<property name="<Control><Shift><Alt>Right" type="empty"/>
|
||||||
|
<property name="<Control><Shift><Alt>Up" type="empty"/>
|
||||||
|
<property name="<Alt><Control>KP_1" type="empty"/>
|
||||||
|
<property name="<Alt><Control>KP_2" type="empty"/>
|
||||||
|
<property name="<Alt><Control>KP_3" type="empty"/>
|
||||||
|
<property name="<Alt><Control>KP_4" type="empty"/>
|
||||||
|
<property name="<Alt><Control>KP_5" type="empty"/>
|
||||||
|
<property name="<Alt><Control>KP_6" type="empty"/>
|
||||||
|
<property name="<Alt><Control>KP_7" type="empty"/>
|
||||||
|
<property name="<Alt><Control>KP_8" type="empty"/>
|
||||||
|
<property name="<Alt><Control>KP_9" type="empty"/>
|
||||||
|
<property name="<Control><Alt>Right" type="empty"/>
|
||||||
|
<property name="<Control><Alt>d" type="empty"/>
|
||||||
|
<property name="<Control><Alt>Up" type="empty"/>
|
||||||
|
<property name="<Control>F1" type="empty"/>
|
||||||
|
<property name="<Control>F2" type="empty"/>
|
||||||
|
<property name="<Control>F3" type="empty"/>
|
||||||
|
<property name="<Control>F4" type="empty"/>
|
||||||
|
<property name="<Control>F5" type="empty"/>
|
||||||
|
<property name="<Control>F6" type="empty"/>
|
||||||
|
<property name="<Control>F7" type="empty"/>
|
||||||
|
<property name="<Control>F8" type="empty"/>
|
||||||
|
<property name="<Control>F9" type="empty"/>
|
||||||
|
<property name="<Control>F10" type="empty"/>
|
||||||
|
<property name="<Control>F11" type="empty"/>
|
||||||
|
<property name="<Control>F12" type="empty"/>
|
||||||
|
<property name="<Shift><Control><Alt>Up" type="string" value="move_window_up_workspace_key"/>
|
||||||
|
<property name="<Shift><Control><Alt>Down" type="string" value="move_window_down_workspace_key"/>
|
||||||
|
<property name="<Shift><Control><Alt>Left" type="string" value="move_window_left_workspace_key"/>
|
||||||
|
<property name="<Shift><Control><Alt>Right" type="string" value="move_window_right_workspace_key"/>
|
||||||
|
</property>
|
||||||
|
<property name="custom" type="empty">
|
||||||
|
<property name="<Control>F8" type="string" value="workspace_8_key"/>
|
||||||
|
<property name="<Control>F10" type="string" value="workspace_10_key"/>
|
||||||
|
<property name="<Control>F11" type="string" value="workspace_11_key"/>
|
||||||
|
<property name="<Control>F12" type="string" value="workspace_12_key"/>
|
||||||
|
<property name="<Control>F9" type="string" value="workspace_9_key"/>
|
||||||
|
<property name="<Alt>F10" type="string" value="maximize_window_key"/>
|
||||||
|
<property name="<Alt>F11" type="string" value="fullscreen_key"/>
|
||||||
|
<property name="<Alt>F12" type="string" value="above_key"/>
|
||||||
|
<property name="<Control><Alt>Up" type="string" value="up_workspace_key"/>
|
||||||
|
<property name="Escape" type="string" value="cancel_key"/>
|
||||||
|
<property name="<Alt><Shift>Tab" type="string" value="cycle_reverse_windows_key"/>
|
||||||
|
<property name="<Alt>space" type="string" value="popup_menu_key"/>
|
||||||
|
<property name="<Alt>Delete" type="string" value="del_workspace_key"/>
|
||||||
|
<property name="<Alt>F4" type="string" value="close_window_key"/>
|
||||||
|
<property name="<Shift><Alt>Page_Down" type="string" value="lower_window_key"/>
|
||||||
|
<property name="<Alt>F6" type="string" value="stick_window_key"/>
|
||||||
|
<property name="<Alt>F8" type="string" value="resize_window_key"/>
|
||||||
|
<property name="<Alt>F9" type="string" value="hide_window_key"/>
|
||||||
|
<property name="<Alt>F7" type="string" value="move_window_key"/>
|
||||||
|
<property name="<Control><Shift><Alt>Up" type="string" value="move_window_up_key"/>
|
||||||
|
<property name="<Control>F5" type="string" value="workspace_5_key"/>
|
||||||
|
<property name="<Control><Alt>Left" type="string" value="left_workspace_key"/>
|
||||||
|
<property name="<Control><Alt>Down" type="string" value="down_workspace_key"/>
|
||||||
|
<property name="<Control>F4" type="string" value="workspace_4_key"/>
|
||||||
|
<property name="<Alt><Control>KP_1" type="string" value="move_window_workspace_1_key"/>
|
||||||
|
<property name="<Alt><Control>KP_2" type="string" value="move_window_workspace_2_key"/>
|
||||||
|
<property name="<Alt><Control>KP_3" type="string" value="move_window_workspace_3_key"/>
|
||||||
|
<property name="<Alt><Control>KP_4" type="string" value="move_window_workspace_4_key"/>
|
||||||
|
<property name="<Alt><Control>KP_5" type="string" value="move_window_workspace_5_key"/>
|
||||||
|
<property name="<Alt><Control>KP_6" type="string" value="move_window_workspace_6_key"/>
|
||||||
|
<property name="<Alt><Control>KP_7" type="string" value="move_window_workspace_7_key"/>
|
||||||
|
<property name="<Control><Shift><Alt>Left" type="string" value="move_window_left_key"/>
|
||||||
|
<property name="Left" type="string" value="left_key"/>
|
||||||
|
<property name="<Alt><Control>KP_9" type="string" value="move_window_workspace_9_key"/>
|
||||||
|
<property name="<Alt><Control>KP_8" type="string" value="move_window_workspace_8_key"/>
|
||||||
|
<property name="Down" type="string" value="down_key"/>
|
||||||
|
<property name="<Alt><Control>Home" type="string" value="move_window_prev_workspace_key"/>
|
||||||
|
<property name="<Alt><Control>End" type="string" value="move_window_next_workspace_key"/>
|
||||||
|
<property name="<Control><Alt>Right" type="string" value="right_workspace_key"/>
|
||||||
|
<property name="<Control><Shift><Alt>Right" type="string" value="move_window_right_key"/>
|
||||||
|
<property name="Right" type="string" value="right_key"/>
|
||||||
|
<property name="<Alt>Tab" type="string" value="cycle_windows_key"/>
|
||||||
|
<property name="<Super>Tab" type="string" value="switch_window_key"/>
|
||||||
|
<property name="<Shift><Alt>Page_Up" type="string" value="raise_window_key"/>
|
||||||
|
<property name="<Control>F2" type="string" value="workspace_2_key"/>
|
||||||
|
<property name="<Control>F1" type="string" value="workspace_1_key"/>
|
||||||
|
<property name="Up" type="string" value="up_key"/>
|
||||||
|
<property name="<Control>F6" type="string" value="workspace_6_key"/>
|
||||||
|
<property name="<Control>F7" type="string" value="workspace_7_key"/>
|
||||||
|
<property name="<Control><Alt>d" type="string" value="show_desktop_key"/>
|
||||||
|
<property name="<Control>F3" type="string" value="workspace_3_key"/>
|
||||||
|
<property name="<Alt>Insert" type="string" value="add_workspace_key"/>
|
||||||
|
<property name="<Shift><Control><Alt>Up" type="string" value="move_window_up_workspace_key"/>
|
||||||
|
<property name="<Shift><Control><Alt>Down" type="string" value="move_window_down_workspace_key"/>
|
||||||
|
<property name="<Shift><Control><Alt>Left" type="string" value="move_window_left_workspace_key"/>
|
||||||
|
<property name="<Shift><Control><Alt>Right" type="string" value="move_window_right_workspace_key"/>
|
||||||
|
<property name="override" type="bool" value="true"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="providers" type="array">
|
||||||
|
<value type="string" value="xfwm4"/>
|
||||||
|
<value type="string" value="commands"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfce4-mixer" version="1.0">
|
||||||
|
<property name="active-card" type="string" value="Intel82801AAICHAlsamixer"/>
|
||||||
|
<property name="volume-step-size" type="uint" value="5"/>
|
||||||
|
</channel>
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfce4-notifyd" version="1.0">
|
||||||
|
<property name="primary-monitor" type="uint" value="0"/>
|
||||||
|
<property name="notify-location" type="uint" value="2"/>
|
||||||
|
<property name="log-level" type="uint" value="0"/>
|
||||||
|
<property name="log-level-apps" type="uint" value="0"/>
|
||||||
|
<property name="theme" type="string" value="Default"/>
|
||||||
|
<property name="applications" type="empty">
|
||||||
|
<property name="known_applications" type="array">
|
||||||
|
<value type="string" value="discord"/>
|
||||||
|
<value type="string" value="Firefox"/>
|
||||||
|
<value type="string" value="MSM Notifier"/>
|
||||||
|
<value type="string" value="nm-applet"/>
|
||||||
|
<value type="string" value="org.manjaro.pamac.manager"/>
|
||||||
|
<value type="string" value="org.manjaro.pamac.tray"/>
|
||||||
|
<value type="string" value="Package Manager"/>
|
||||||
|
<value type="string" value="Xfce volume control"/>
|
||||||
|
<value type="string" value="Xfce4-notifyd settings"/>
|
||||||
|
<value type="string" value="xfce4-power-manager"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
@@ -0,0 +1,129 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfce4-panel" version="1.0">
|
||||||
|
<property name="panels" type="uint" value="1">
|
||||||
|
<property name="panel-0" type="empty">
|
||||||
|
<property name="position" type="string" value="p=6;x=960;y=14"/>
|
||||||
|
<property name="length" type="uint" value="100"/>
|
||||||
|
<property name="position-locked" type="bool" value="true"/>
|
||||||
|
<property name="plugin-ids" type="array">
|
||||||
|
<value type="int" value="1"/>
|
||||||
|
<value type="int" value="7"/>
|
||||||
|
<value type="int" value="4"/>
|
||||||
|
<value type="int" value="9"/>
|
||||||
|
<value type="int" value="6"/>
|
||||||
|
<value type="int" value="5"/>
|
||||||
|
<value type="int" value="3"/>
|
||||||
|
<value type="int" value="8"/>
|
||||||
|
</property>
|
||||||
|
<property name="role" type="string" value="xfce4-panel-12965750720"/>
|
||||||
|
<property name="length-adjust" type="bool" value="true"/>
|
||||||
|
<property name="background-style" type="uint" value="0"/>
|
||||||
|
<property name="size" type="uint" value="28"/>
|
||||||
|
<property name="mode" type="uint" value="0"/>
|
||||||
|
<property name="autohide-behavior" type="uint" value="0"/>
|
||||||
|
<property name="disable-struts" type="bool" value="false"/>
|
||||||
|
<property name="icon-size" type="uint" value="28"/>
|
||||||
|
<property name="span-monitors" type="bool" value="false"/>
|
||||||
|
<property name="output-name" type="string" value="Primary"/>
|
||||||
|
</property>
|
||||||
|
<property name="dark-mode" type="bool" value="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="plugins" type="empty">
|
||||||
|
<property name="plugin-4" type="string" value="pager">
|
||||||
|
<property name="rows" type="uint" value="1"/>
|
||||||
|
<property name="miniature-view" type="bool" value="false"/>
|
||||||
|
<property name="numbering" type="bool" value="false"/>
|
||||||
|
<property name="workspace-scrolling" type="bool" value="false"/>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-6" type="string" value="systray">
|
||||||
|
<property name="names-visible" type="array">
|
||||||
|
<value type="string" value="pnmixer"/>
|
||||||
|
<value type="string" value="manjaro-settings-manager-daemon"/>
|
||||||
|
<value type="string" value="networkmanager applet"/>
|
||||||
|
<value type="string" value="orage"/>
|
||||||
|
<value type="string" value="pamac-tray"/>
|
||||||
|
<value type="string" value="blueman-applet"/>
|
||||||
|
<value type="string" value="clipman"/>
|
||||||
|
<value type="string" value="xfce4-power-manager"/>
|
||||||
|
<value type="string" value="xnoise"/>
|
||||||
|
</property>
|
||||||
|
<property name="show-frame" type="bool" value="false"/>
|
||||||
|
<property name="known-legacy-items" type="array">
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (61%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (58%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “jojo” active: jojo (61%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “jojo” active: jojo (56%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (67%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (68%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (59%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (72%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “jojo” active: jojo (51%)"/>
|
||||||
|
<value type="string" value="no network connection"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (63%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (62%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (69%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (65%)"/>
|
||||||
|
<value type="string" value="ethernet network connection “wired connection 1” active"/>
|
||||||
|
<value type="string" value="bluetooth disabled"/>
|
||||||
|
<value type="string" value="thunar"/>
|
||||||
|
<value type="string" value="xfce terminal"/>
|
||||||
|
<value type="string" value="clipman"/>
|
||||||
|
<value type="string" value="networkmanager applet"/>
|
||||||
|
<value type="string" value="pamac-tray"/>
|
||||||
|
</property>
|
||||||
|
<property name="known-items" type="array">
|
||||||
|
<value type="string" value="TelegramDesktop"/>
|
||||||
|
<value type="string" value="discord1"/>
|
||||||
|
<value type="string" value="MSM Notifier"/>
|
||||||
|
<value type="string" value="blueman"/>
|
||||||
|
</property>
|
||||||
|
<property name="hide-new-items" type="bool" value="true"/>
|
||||||
|
<property name="hidden-legacy-items" type="array">
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (61%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (69%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (72%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (67%)"/>
|
||||||
|
<value type="string" value="no network connection"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (58%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (65%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (63%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “jojo” active: jojo (51%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (68%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “jojo” active: jojo (61%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “jojo” active: jojo (56%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (62%)"/>
|
||||||
|
<value type="string" value="wi-fi network connection “eduroam” active: eduroam (59%)"/>
|
||||||
|
</property>
|
||||||
|
<property name="single-row" type="bool" value="false"/>
|
||||||
|
<property name="symbolic-icons" type="bool" value="false"/>
|
||||||
|
<property name="menu-is-primary" type="bool" value="false"/>
|
||||||
|
<property name="icon-size" type="int" value="22"/>
|
||||||
|
<property name="hidden-items" type="array">
|
||||||
|
<value type="string" value="TelegramDesktop"/>
|
||||||
|
<value type="string" value="discord1"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-7" type="string" value="separator">
|
||||||
|
<property name="expand" type="bool" value="true"/>
|
||||||
|
<property name="style" type="uint" value="0"/>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-9" type="string" value="pulseaudio">
|
||||||
|
<property name="enable-keyboard-shortcuts" type="bool" value="true"/>
|
||||||
|
<property name="mpris-players" type="string" value="firefox.instance1205;firefox.instance1213;firefox.instance1233;firefox.instance1304;firefox.instance1314;firefox.instance1618;firefox.instance1640;firefox.instance2190;vlc"/>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-8" type="string" value="whiskermenu"/>
|
||||||
|
<property name="plugin-5" type="string" value="clock"/>
|
||||||
|
<property name="plugin-1" type="string" value="appmenu">
|
||||||
|
<property name="plugins" type="empty">
|
||||||
|
<property name="plugin-1" type="empty">
|
||||||
|
<property name="compact-mode" type="bool" value="true"/>
|
||||||
|
<property name="bold-application-name" type="bool" value="true"/>
|
||||||
|
<property name="expand" type="bool" value="true"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="plugin-3" type="string" value="power-manager-plugin"/>
|
||||||
|
</property>
|
||||||
|
<property name="configver" type="int" value="2"/>
|
||||||
|
</channel>
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfce4-power-manager" version="1.0">
|
||||||
|
<property name="xfce4-power-manager" type="empty">
|
||||||
|
<property name="power-button-action" type="uint" value="3"/>
|
||||||
|
<property name="show-tray-icon" type="bool" value="false"/>
|
||||||
|
<property name="brightness-switch-restore-on-exit" type="int" value="1"/>
|
||||||
|
<property name="brightness-switch" type="int" value="0"/>
|
||||||
|
<property name="show-panel-label" type="int" value="1"/>
|
||||||
|
<property name="show-presentation-indicator" type="bool" value="false"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfce4-session" version="1.0">
|
||||||
|
<property name="general" type="empty">
|
||||||
|
<property name="FailsafeSessionName" type="empty"/>
|
||||||
|
<property name="SessionName" type="string" value="Default"/>
|
||||||
|
<property name="SaveOnExit" type="bool" value="false"/>
|
||||||
|
<property name="LockCommand" type="string" value="light-locker-command --lock"/>
|
||||||
|
</property>
|
||||||
|
<property name="sessions" type="empty">
|
||||||
|
<property name="Failsafe" type="empty">
|
||||||
|
<property name="IsFailsafe" type="empty"/>
|
||||||
|
<property name="Count" type="empty"/>
|
||||||
|
<property name="Client0_Command" type="empty"/>
|
||||||
|
<property name="Client0_PerScreen" type="empty"/>
|
||||||
|
<property name="Client1_Command" type="empty"/>
|
||||||
|
<property name="Client1_PerScreen" type="empty"/>
|
||||||
|
<property name="Client2_Command" type="empty"/>
|
||||||
|
<property name="Client2_PerScreen" type="empty"/>
|
||||||
|
<property name="Client3_Command" type="empty"/>
|
||||||
|
<property name="Client3_PerScreen" type="empty"/>
|
||||||
|
<property name="Client4_Command" type="empty"/>
|
||||||
|
<property name="Client4_PerScreen" type="empty"/>
|
||||||
|
</property>
|
||||||
|
</property>
|
||||||
|
<property name="splash" type="empty">
|
||||||
|
<property name="Engine" type="empty"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfce4-settings-manager" version="1.0">
|
||||||
|
<property name="window-width" type="int" value="800"/>
|
||||||
|
<property name="window-height" type="int" value="600"/>
|
||||||
|
</channel>
|
||||||
@@ -0,0 +1,99 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xfwm4" version="1.0">
|
||||||
|
<property name="general" type="empty">
|
||||||
|
<property name="activate_action" type="string" value="bring"/>
|
||||||
|
<property name="borderless_maximize" type="bool" value="true"/>
|
||||||
|
<property name="box_move" type="bool" value="false"/>
|
||||||
|
<property name="box_resize" type="bool" value="false"/>
|
||||||
|
<property name="button_layout" type="string" value="O|SHMC"/>
|
||||||
|
<property name="button_offset" type="int" value="0"/>
|
||||||
|
<property name="button_spacing" type="int" value="0"/>
|
||||||
|
<property name="click_to_focus" type="bool" value="true"/>
|
||||||
|
<property name="focus_delay" type="int" value="250"/>
|
||||||
|
<property name="cycle_apps_only" type="bool" value="false"/>
|
||||||
|
<property name="cycle_draw_frame" type="bool" value="true"/>
|
||||||
|
<property name="cycle_hidden" type="bool" value="true"/>
|
||||||
|
<property name="cycle_minimum" type="bool" value="true"/>
|
||||||
|
<property name="cycle_workspaces" type="bool" value="false"/>
|
||||||
|
<property name="double_click_time" type="int" value="250"/>
|
||||||
|
<property name="double_click_distance" type="int" value="5"/>
|
||||||
|
<property name="double_click_action" type="string" value="maximize"/>
|
||||||
|
<property name="easy_click" type="string" value="Alt"/>
|
||||||
|
<property name="focus_hint" type="bool" value="true"/>
|
||||||
|
<property name="focus_new" type="bool" value="true"/>
|
||||||
|
<property name="frame_opacity" type="int" value="100"/>
|
||||||
|
<property name="full_width_title" type="bool" value="true"/>
|
||||||
|
<property name="inactive_opacity" type="int" value="100"/>
|
||||||
|
<property name="maximized_offset" type="int" value="0"/>
|
||||||
|
<property name="move_opacity" type="int" value="100"/>
|
||||||
|
<property name="placement_ratio" type="int" value="60"/>
|
||||||
|
<property name="placement_mode" type="string" value="center"/>
|
||||||
|
<property name="popup_opacity" type="int" value="100"/>
|
||||||
|
<property name="mousewheel_rollup" type="bool" value="true"/>
|
||||||
|
<property name="prevent_focus_stealing" type="bool" value="false"/>
|
||||||
|
<property name="raise_delay" type="int" value="250"/>
|
||||||
|
<property name="raise_on_click" type="bool" value="true"/>
|
||||||
|
<property name="raise_on_focus" type="bool" value="false"/>
|
||||||
|
<property name="raise_with_any_button" type="bool" value="true"/>
|
||||||
|
<property name="repeat_urgent_blink" type="bool" value="false"/>
|
||||||
|
<property name="resize_opacity" type="int" value="100"/>
|
||||||
|
<property name="restore_on_move" type="bool" value="true"/>
|
||||||
|
<property name="scroll_workspaces" type="bool" value="true"/>
|
||||||
|
<property name="shadow_delta_height" type="int" value="0"/>
|
||||||
|
<property name="shadow_delta_width" type="int" value="0"/>
|
||||||
|
<property name="shadow_delta_x" type="int" value="0"/>
|
||||||
|
<property name="shadow_delta_y" type="int" value="-3"/>
|
||||||
|
<property name="shadow_opacity" type="int" value="50"/>
|
||||||
|
<property name="show_app_icon" type="bool" value="false"/>
|
||||||
|
<property name="show_dock_shadow" type="bool" value="true"/>
|
||||||
|
<property name="show_frame_shadow" type="bool" value="true"/>
|
||||||
|
<property name="show_popup_shadow" type="bool" value="false"/>
|
||||||
|
<property name="snap_resist" type="bool" value="false"/>
|
||||||
|
<property name="snap_to_border" type="bool" value="true"/>
|
||||||
|
<property name="snap_to_windows" type="bool" value="false"/>
|
||||||
|
<property name="snap_width" type="int" value="10"/>
|
||||||
|
<property name="theme" type="string" value="Matcha-sea"/>
|
||||||
|
<property name="title_alignment" type="string" value="center"/>
|
||||||
|
<property name="title_font" type="string" value="Noto Sans 10"/>
|
||||||
|
<property name="title_horizontal_offset" type="int" value="0"/>
|
||||||
|
<property name="title_shadow_active" type="string" value="false"/>
|
||||||
|
<property name="title_shadow_inactive" type="string" value="false"/>
|
||||||
|
<property name="title_vertical_offset_active" type="int" value="0"/>
|
||||||
|
<property name="title_vertical_offset_inactive" type="int" value="0"/>
|
||||||
|
<property name="toggle_workspaces" type="bool" value="false"/>
|
||||||
|
<property name="unredirect_overlays" type="bool" value="true"/>
|
||||||
|
<property name="urgent_blink" type="bool" value="false"/>
|
||||||
|
<property name="use_compositing" type="bool" value="true"/>
|
||||||
|
<property name="workspace_count" type="int" value="2"/>
|
||||||
|
<property name="wrap_cycle" type="bool" value="true"/>
|
||||||
|
<property name="wrap_layout" type="bool" value="true"/>
|
||||||
|
<property name="wrap_resistance" type="int" value="10"/>
|
||||||
|
<property name="wrap_windows" type="bool" value="true"/>
|
||||||
|
<property name="wrap_workspaces" type="bool" value="false"/>
|
||||||
|
<property name="workspace_names" type="array">
|
||||||
|
<value type="string" value="layout tiling"/>
|
||||||
|
<value type="string" value="layout tabbed"/>
|
||||||
|
<value type="string" value="1"/>
|
||||||
|
<value type="string" value="4"/>
|
||||||
|
<value type="string" value="5"/>
|
||||||
|
<value type="string" value="6"/>
|
||||||
|
<value type="string" value="7"/>
|
||||||
|
<value type="string" value="8"/>
|
||||||
|
<value type="string" value="9"/>
|
||||||
|
<value type="string" value="10"/>
|
||||||
|
</property>
|
||||||
|
<property name="tile_on_move" type="bool" value="true"/>
|
||||||
|
<property name="titleless_maximize" type="bool" value="false"/>
|
||||||
|
<property name="cycle_preview" type="bool" value="true"/>
|
||||||
|
<property name="cycle_tabwin_mode" type="int" value="0"/>
|
||||||
|
<property name="sync_to_vblank" type="bool" value="true"/>
|
||||||
|
<property name="zoom_desktop" type="bool" value="true"/>
|
||||||
|
<property name="cycle_raise" type="bool" value="false"/>
|
||||||
|
<property name="cycle_minimized" type="bool" value="false"/>
|
||||||
|
<property name="frame_border_top" type="int" value="0"/>
|
||||||
|
<property name="horiz_scroll_opacity" type="bool" value="false"/>
|
||||||
|
<property name="vblank_mode" type="string" value="auto"/>
|
||||||
|
<property name="zoom_pointer" type="bool" value="true"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<channel name="xsettings" version="1.0">
|
||||||
|
<property name="Net" type="empty">
|
||||||
|
<property name="ThemeName" type="string" value="Matcha-dark-sea"/>
|
||||||
|
<property name="IconThemeName" type="string" value="Papirus-Maia"/>
|
||||||
|
<property name="DoubleClickTime" type="int" value="532"/>
|
||||||
|
<property name="DoubleClickDistance" type="int" value="8"/>
|
||||||
|
<property name="DndDragThreshold" type="int" value="8"/>
|
||||||
|
<property name="CursorBlink" type="bool" value="true"/>
|
||||||
|
<property name="CursorBlinkTime" type="int" value="1337"/>
|
||||||
|
<property name="SoundThemeName" type="string" value="default"/>
|
||||||
|
<property name="EnableEventSounds" type="bool" value="false"/>
|
||||||
|
<property name="EnableInputFeedbackSounds" type="bool" value="false"/>
|
||||||
|
</property>
|
||||||
|
<property name="Xft" type="empty">
|
||||||
|
<property name="DPI" type="int" value="96"/>
|
||||||
|
<property name="Antialias" type="int" value="1"/>
|
||||||
|
<property name="Hinting" type="int" value="-1"/>
|
||||||
|
<property name="HintStyle" type="string" value="hintfull"/>
|
||||||
|
<property name="RGBA" type="string" value="none"/>
|
||||||
|
</property>
|
||||||
|
<property name="Gtk" type="empty">
|
||||||
|
<property name="CanChangeAccels" type="bool" value="false"/>
|
||||||
|
<property name="ColorPalette" type="string" value="black:white:gray50:red:purple:blue:light blue:green:yellow:orange:lavender:brown:goldenrod4:dodger blue:pink:light green:gray10:gray30:gray75:gray90"/>
|
||||||
|
<property name="FontName" type="string" value="Noto Sans 10"/>
|
||||||
|
<property name="MonospaceFontName" type="empty"/>
|
||||||
|
<property name="IconSizes" type="string" value=""/>
|
||||||
|
<property name="KeyThemeName" type="string" value=""/>
|
||||||
|
<property name="ToolbarStyle" type="string" value="icons"/>
|
||||||
|
<property name="ToolbarIconSize" type="int" value="3"/>
|
||||||
|
<property name="MenuImages" type="bool" value="true"/>
|
||||||
|
<property name="ButtonImages" type="bool" value="true"/>
|
||||||
|
<property name="MenuBarAccel" type="string" value="F10"/>
|
||||||
|
<property name="CursorThemeName" type="string" value="xcursor-breeze"/>
|
||||||
|
<property name="CursorThemeSize" type="int" value="0"/>
|
||||||
|
<property name="DecorationLayout" type="empty"/>
|
||||||
|
<property name="DialogsUseHeader" type="empty"/>
|
||||||
|
<property name="TitlebarMiddleClick" type="empty"/>
|
||||||
|
<property name="IMPreeditStyle" type="string" value=""/>
|
||||||
|
<property name="IMStatusStyle" type="string" value=""/>
|
||||||
|
<property name="IMModule" type="string" value=""/>
|
||||||
|
<property name="ShellShowsMenubar" type="bool" value="true"/>
|
||||||
|
<property name="ShellShowsAppmenu" type="bool" value="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="Gdk" type="empty">
|
||||||
|
<property name="WindowScalingFactor" type="empty"/>
|
||||||
|
</property>
|
||||||
|
<property name="Xfce" type="empty">
|
||||||
|
<property name="LastCustomDPI" type="int" value="96"/>
|
||||||
|
</property>
|
||||||
|
</channel>
|
||||||
+61
-53
@@ -1,41 +1,19 @@
|
|||||||
# 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"
|
#OPTIONS SECTION
|
||||||
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
|
#unsetopt beep # try disabling annoying beep sounds
|
||||||
setopt nobeep
|
setopt nobeep
|
||||||
|
xset b off
|
||||||
autoload -Uz compinit # load completion
|
autoload -Uz compinit # load completion
|
||||||
compinit
|
compinit
|
||||||
_comp_options+=(globdots) # Include hidden files.
|
_comp_options+=(globdots) # Include hidden files.
|
||||||
eval "$(zoxide init zsh)"
|
|
||||||
setopt autocd # allow cd by only entering directory without cd command
|
setopt autocd # allow cd by only entering directory without cd command
|
||||||
setopt extendedglob # Extended globbing. Allows using regular expressions with *
|
setopt extendedglob # Extended globbing. Allows using regular expressions with *
|
||||||
setopt correct # Auto correct mistakes
|
setopt correct # Auto correct mistakes
|
||||||
setopt numericglobsort # Sort filenames numerically when it makes sense
|
setopt numericglobsort # Sort filenames numerically when it makes sense
|
||||||
setopt appendhistory
|
setopt appendhistory # Immediately append history instead of overwriting
|
||||||
setopt sharehistory
|
|
||||||
export HISTSIZE=10000
|
|
||||||
export SAVEHIST=10000
|
|
||||||
HISTFILE=~/.history
|
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-dirs true # complete hidden directories
|
||||||
zstyle ':completion:*' special-files true # complete hidden files
|
zstyle ':completion:*' special-files true # complete hidden files
|
||||||
@@ -77,6 +55,28 @@ zle -N self-insert url-quote-magic
|
|||||||
|
|
||||||
WORDCHARS=${WORDCHARS//\/[&.;]} # Don't consider certain characters part of the word
|
WORDCHARS=${WORDCHARS//\/[&.;]} # Don't consider certain characters part of the word
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#ALIAS SECTION
|
||||||
|
|
||||||
|
alias ls='ls -hN --group-directories-first --color=auto' # make output more readable and show directories first
|
||||||
|
alias grep='grep --color=auto' # colorize grep output, set GREP_COLORS
|
||||||
|
alias cp="cp -i" # Confirm before overwriting something
|
||||||
|
alias df='df -h' # Human-readable sizes
|
||||||
|
alias free='free -m'
|
||||||
|
alias vi='nvim' # Show sizes in MB
|
||||||
|
alias ll='ls -l'
|
||||||
|
alias la='ls --almost-all'
|
||||||
|
alias r='R'
|
||||||
|
# Add an "alert" alias for long running commands. Use like so: 'sleep 10; alert'
|
||||||
|
alias notify='notify-send --urgency=low -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'
|
||||||
|
|
||||||
|
|
||||||
|
#KEYBINDINGS SECTION (use 'cat -v' or 'od -c' to see raw keyboard output)
|
||||||
|
|
||||||
bindkey -e # use emacs key layout
|
bindkey -e # use emacs key layout
|
||||||
bindkey '^[[1;5D' backward-word # 'CTRL + leftarrow'
|
bindkey '^[[1;5D' backward-word # 'CTRL + leftarrow'
|
||||||
bindkey '^[[1;5C' forward-word # 'CTRL + rightarrow'
|
bindkey '^[[1;5C' forward-word # 'CTRL + rightarrow'
|
||||||
@@ -86,27 +86,20 @@ bindkey '^[[3;5~' kill-word # 'CTRL + DEL'
|
|||||||
bindkey '^Z' undo # 'CTRL + z' undo last action
|
bindkey '^Z' undo # 'CTRL + z' undo last action
|
||||||
|
|
||||||
|
|
||||||
|
#PLUGIN SECTION
|
||||||
|
|
||||||
# User configuration
|
if [[ -x /usr/lib/command-not-found ]] ; then # try loading suggestions to install when command was not found
|
||||||
|
function command_not_found_handler() {
|
||||||
|
/usr/lib/command-not-found --no-failure-msg -- $1
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
# export MANPATH="/usr/local/man:$MANPATH"
|
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme # load theme
|
||||||
|
#source /usr/share/doc/find-the-command/ftc.zsh quiet # load command not found, might need `systemctl enable pacman-files.timer`
|
||||||
|
|
||||||
# You may need to manually set your language environment
|
#source /usr/share/zsh/plugins/zsh-background-notify/bgnotify.plugin.zsh # load notifications for long comands, customize message?
|
||||||
# export LANG=en_US.UTF-8
|
#bgnotify_threshold=4
|
||||||
|
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # load syntax highlighting, everything except autosuggestions should be loaded before this
|
||||||
# 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_HIGHLIGHTERS=(main brackets pattern)
|
||||||
ZSH_HIGHLIGHT_STYLES[default]=none
|
ZSH_HIGHLIGHT_STYLES[default]=none
|
||||||
#ZSH_HIGHLIGHT_STYLES[reserved-word]=fg=009,standout
|
#ZSH_HIGHLIGHT_STYLES[reserved-word]=fg=009,standout
|
||||||
@@ -114,7 +107,7 @@ if [ -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.z
|
|||||||
#ZSH_HIGHLIGHT_STYLES[builtin]=fg=white,bold
|
#ZSH_HIGHLIGHT_STYLES[builtin]=fg=white,bold
|
||||||
#ZSH_HIGHLIGHT_STYLES[function]=fg=white,bold
|
#ZSH_HIGHLIGHT_STYLES[function]=fg=white,bold
|
||||||
#ZSH_HIGHLIGHT_STYLES[command]=fg=white,bold
|
#ZSH_HIGHLIGHT_STYLES[command]=fg=white,bold
|
||||||
#ZSH_HIGHLIGHT_STYLES[precommand]=fg=#eaff00,bold
|
ZSH_HIGHLIGHT_STYLES[precommand]=fg=#eaff00,bold
|
||||||
#ZSH_HIGHLIGHT_STYLES[commandseparator]=none
|
#ZSH_HIGHLIGHT_STYLES[commandseparator]=none
|
||||||
#ZSH_HIGHLIGHT_STYLES[hashed-command]=fg=009
|
#ZSH_HIGHLIGHT_STYLES[hashed-command]=fg=009
|
||||||
#ZSH_HIGHLIGHT_STYLES[path]=fg=214,underline
|
#ZSH_HIGHLIGHT_STYLES[path]=fg=214,underline
|
||||||
@@ -128,20 +121,35 @@ if [ -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.z
|
|||||||
#ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]=fg=009
|
#ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]=fg=009
|
||||||
#ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]=fg=009
|
#ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]=fg=009
|
||||||
#ZSH_HIGHLIGHT_STYLES[assign]=none
|
#ZSH_HIGHLIGHT_STYLES[assign]=none
|
||||||
fi
|
|
||||||
|
[[ ! -f "$ZDOTDIR/p10k.zsh" ]] || source "$ZDOTDIR/p10k.zsh" # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
|
|
||||||
|
|
||||||
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh # load fish-completion, needs to be sourced after syntax highlighting
|
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"
|
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]\$ '
|
#random stuff
|
||||||
|
|
||||||
|
#zstyle ':completion:*' completer _complete _ignored _correct _approximate
|
||||||
|
#zstyle ':completion:*' matcher-list 'r:|[._-'\''"`´,;:]=** r:|=**'
|
||||||
|
#zstyle ':completion:*' original true
|
||||||
|
|
||||||
|
#zstyle :compinstall filename '/home/en/.zshrc'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if [[ -f ~/.dircolors ]] ; then
|
||||||
|
# eval $(dircolors -b ~/.dircolors)
|
||||||
|
#elif [[ -f /etc/DIR_COLORS ]] ; then
|
||||||
|
# eval $(dircolors -b /etc/DIR_COLORS)
|
||||||
|
#fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large.
Load diff
+243
@@ -0,0 +1,243 @@
|
|||||||
|
# Configuration file for dircolors, a utility to help you set the
|
||||||
|
# LS_COLORS environment variable used by GNU ls with the --color option.
|
||||||
|
|
||||||
|
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
|
||||||
|
# Copying and distribution of this file, with or without modification,
|
||||||
|
# are permitted provided the copyright notice and this notice are preserved.
|
||||||
|
|
||||||
|
# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
|
||||||
|
# slackware version of dircolors) are recognized but ignored.
|
||||||
|
|
||||||
|
# You can copy this file to .dir_colors in your $HOME directory to override
|
||||||
|
# the system defaults.
|
||||||
|
|
||||||
|
# Below, there should be one TERM entry for each termtype that is colorizable
|
||||||
|
TERM Eterm
|
||||||
|
TERM ansi
|
||||||
|
TERM color-xterm
|
||||||
|
TERM con132x25
|
||||||
|
TERM con132x30
|
||||||
|
TERM con132x43
|
||||||
|
TERM con132x60
|
||||||
|
TERM con80x25
|
||||||
|
TERM con80x28
|
||||||
|
TERM con80x30
|
||||||
|
TERM con80x43
|
||||||
|
TERM con80x50
|
||||||
|
TERM con80x60
|
||||||
|
TERM cons25
|
||||||
|
TERM console
|
||||||
|
TERM cygwin
|
||||||
|
TERM dtterm
|
||||||
|
TERM eterm-color
|
||||||
|
TERM gnome
|
||||||
|
TERM gnome-256color
|
||||||
|
TERM hurd
|
||||||
|
TERM jfbterm
|
||||||
|
TERM konsole
|
||||||
|
TERM kterm
|
||||||
|
TERM linux
|
||||||
|
TERM linux-c
|
||||||
|
TERM mach-color
|
||||||
|
TERM mach-gnu-color
|
||||||
|
TERM mlterm
|
||||||
|
TERM putty
|
||||||
|
TERM putty-256color
|
||||||
|
TERM rxvt
|
||||||
|
TERM rxvt-256color
|
||||||
|
TERM rxvt-cygwin
|
||||||
|
TERM rxvt-cygwin-native
|
||||||
|
TERM rxvt-unicode
|
||||||
|
TERM rxvt-unicode-256color
|
||||||
|
TERM rxvt-unicode256
|
||||||
|
TERM screen
|
||||||
|
TERM screen-256color
|
||||||
|
TERM screen-256color-bce
|
||||||
|
TERM screen-bce
|
||||||
|
TERM screen-w
|
||||||
|
TERM screen.Eterm
|
||||||
|
TERM screen.rxvt
|
||||||
|
TERM screen.linux
|
||||||
|
TERM st
|
||||||
|
TERM st-256color
|
||||||
|
TERM terminator
|
||||||
|
TERM vt100
|
||||||
|
TERM xterm
|
||||||
|
TERM xterm-16color
|
||||||
|
TERM xterm-256color
|
||||||
|
TERM xterm-88color
|
||||||
|
TERM xterm-color
|
||||||
|
TERM xterm-debian
|
||||||
|
|
||||||
|
# Below are the color init strings for the basic file types. A color init
|
||||||
|
# string consists of one or more of the following numeric codes:
|
||||||
|
# Attribute codes:
|
||||||
|
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
|
||||||
|
# Text color codes:
|
||||||
|
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
|
||||||
|
# Background color codes:
|
||||||
|
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
|
||||||
|
#NORMAL 00 # no color code at all
|
||||||
|
#FILE 00 # regular file: use no color at all
|
||||||
|
RESET 0 # reset to "normal" color
|
||||||
|
DIR 01;34 # directory
|
||||||
|
LINK 01;36 # symbolic link. (If you set this to 'target' instead of a
|
||||||
|
# numerical value, the color is as for the file pointed to.)
|
||||||
|
MULTIHARDLINK 00 # regular file with more than one link
|
||||||
|
FIFO 40;33 # pipe
|
||||||
|
SOCK 01;35 # socket
|
||||||
|
DOOR 01;35 # door
|
||||||
|
BLK 40;33;01 # block device driver
|
||||||
|
CHR 40;33;01 # character device driver
|
||||||
|
ORPHAN 01;05;37;41 # orphaned syminks
|
||||||
|
MISSING 01;05;37;41 # ... and the files they point to
|
||||||
|
SETUID 37;41 # file that is setuid (u+s)
|
||||||
|
SETGID 30;43 # file that is setgid (g+s)
|
||||||
|
CAPABILITY 30;41 # file with capability
|
||||||
|
STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w)
|
||||||
|
OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
|
||||||
|
STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable
|
||||||
|
|
||||||
|
# This is for files with execute permission:
|
||||||
|
EXEC 01;32
|
||||||
|
|
||||||
|
# List any file extensions like '.gz' or '.tar' that you would like ls
|
||||||
|
# to colorize below. Put the extension, a space, and the color init string.
|
||||||
|
# (and any comments you want to add after a '#')
|
||||||
|
|
||||||
|
# If you use DOS-style suffixes, you may want to uncomment the following:
|
||||||
|
#.cmd 01;32 # executables (bright green)
|
||||||
|
#.exe 01;32
|
||||||
|
#.com 01;32
|
||||||
|
#.btm 01;32
|
||||||
|
#.bat 01;32
|
||||||
|
# Or if you want to colorize scripts even if they do not have the
|
||||||
|
# executable bit actually set.
|
||||||
|
#.sh 01;32
|
||||||
|
#.csh 01;32
|
||||||
|
|
||||||
|
# archives or compressed (bright red)
|
||||||
|
.tar 01;31
|
||||||
|
.tgz 01;31
|
||||||
|
.arc 01;31
|
||||||
|
.arj 01;31
|
||||||
|
.taz 01;31
|
||||||
|
.lha 01;31
|
||||||
|
.lz4 01;31
|
||||||
|
.lzh 01;31
|
||||||
|
.lzma 01;31
|
||||||
|
.tlz 01;31
|
||||||
|
.txz 01;31
|
||||||
|
.tzo 01;31
|
||||||
|
.t7z 01;31
|
||||||
|
.zip 01;31
|
||||||
|
.z 01;31
|
||||||
|
.Z 01;31
|
||||||
|
.dz 01;31
|
||||||
|
.gz 01;31
|
||||||
|
.lrz 01;31
|
||||||
|
.lz 01;31
|
||||||
|
.lzo 01;31
|
||||||
|
.xz 01;31
|
||||||
|
.bz2 01;31
|
||||||
|
.bz 01;31
|
||||||
|
.tbz 01;31
|
||||||
|
.tbz2 01;31
|
||||||
|
.tz 01;31
|
||||||
|
.deb 01;31
|
||||||
|
.rpm 01;31
|
||||||
|
.jar 01;31
|
||||||
|
.war 01;31
|
||||||
|
.ear 01;31
|
||||||
|
.sar 01;31
|
||||||
|
.rar 01;31
|
||||||
|
.alz 01;31
|
||||||
|
.ace 01;31
|
||||||
|
.zoo 01;31
|
||||||
|
.cpio 01;31
|
||||||
|
.7z 01;31
|
||||||
|
.rz 01;31
|
||||||
|
.cab 01;31
|
||||||
|
|
||||||
|
# image formats
|
||||||
|
.jpg 01;35
|
||||||
|
.jpeg 01;35
|
||||||
|
.gif 01;35
|
||||||
|
.bmp 01;35
|
||||||
|
.pbm 01;35
|
||||||
|
.pgm 01;35
|
||||||
|
.ppm 01;35
|
||||||
|
.tga 01;35
|
||||||
|
.xbm 01;35
|
||||||
|
.xpm 01;35
|
||||||
|
.tif 01;35
|
||||||
|
.tiff 01;35
|
||||||
|
.png 01;35
|
||||||
|
.svg 01;35
|
||||||
|
.svgz 01;35
|
||||||
|
.mng 01;35
|
||||||
|
.pcx 01;35
|
||||||
|
.mov 01;35
|
||||||
|
.mpg 01;35
|
||||||
|
.mpeg 01;35
|
||||||
|
.m2v 01;35
|
||||||
|
.mkv 01;35
|
||||||
|
.webm 01;35
|
||||||
|
.ogm 01;35
|
||||||
|
.mp4 01;35
|
||||||
|
.m4v 01;35
|
||||||
|
.mp4v 01;35
|
||||||
|
.vob 01;35
|
||||||
|
.qt 01;35
|
||||||
|
.nuv 01;35
|
||||||
|
.wmv 01;35
|
||||||
|
.asf 01;35
|
||||||
|
.rm 01;35
|
||||||
|
.rmvb 01;35
|
||||||
|
.flc 01;35
|
||||||
|
.avi 01;35
|
||||||
|
.fli 01;35
|
||||||
|
.flv 01;35
|
||||||
|
.gl 01;35
|
||||||
|
.dl 01;35
|
||||||
|
.xcf 01;35
|
||||||
|
.xwd 01;35
|
||||||
|
.yuv 01;35
|
||||||
|
.cgm 01;35
|
||||||
|
.emf 01;35
|
||||||
|
|
||||||
|
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
|
||||||
|
.axv 01;35
|
||||||
|
.anx 01;35
|
||||||
|
.ogv 01;35
|
||||||
|
.ogx 01;35
|
||||||
|
|
||||||
|
# Document files
|
||||||
|
.pdf 00;32
|
||||||
|
.ps 00;32
|
||||||
|
.txt 00;32
|
||||||
|
.patch 00;32
|
||||||
|
.diff 00;32
|
||||||
|
.log 00;32
|
||||||
|
.tex 00;32
|
||||||
|
.doc 00;32
|
||||||
|
|
||||||
|
# audio formats
|
||||||
|
.aac 00;36
|
||||||
|
.au 00;36
|
||||||
|
.flac 00;36
|
||||||
|
.m4a 00;36
|
||||||
|
.mid 00;36
|
||||||
|
.midi 00;36
|
||||||
|
.mka 00;36
|
||||||
|
.mp3 00;36
|
||||||
|
.mpc 00;36
|
||||||
|
.ogg 00;36
|
||||||
|
.ra 00;36
|
||||||
|
.wav 00;36
|
||||||
|
|
||||||
|
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
|
||||||
|
.axa 00;36
|
||||||
|
.oga 00;36
|
||||||
|
.spx 00;36
|
||||||
|
.xspf 00;36
|
||||||
-20
@@ -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
|
|
||||||
Executable
+85
@@ -0,0 +1,85 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# taken from https://github.com/LukeSmithxyz/voidrice/blob/master/.local/bin/displayselect
|
||||||
|
# A UI for detecting and selecting all displays. Probes xrandr for connected
|
||||||
|
# displays and lets user select one to use. User may also select "manual
|
||||||
|
# selection" which opens arandr.
|
||||||
|
|
||||||
|
twoscreen() { # If multi-monitor is selected and there are two screens.
|
||||||
|
|
||||||
|
mirror=$(printf "no\\nyes" | dmenu -i -p "Mirror displays?")
|
||||||
|
# Mirror displays using native resolution of external display and a scaled
|
||||||
|
# version for the internal display
|
||||||
|
if [ "$mirror" = "yes" ]; then
|
||||||
|
external=$(echo "$screens" | dmenu -i -p "Optimize resolution for:")
|
||||||
|
internal=$(echo "$screens" | grep -v "$external")
|
||||||
|
|
||||||
|
res_external=$(xrandr --query | sed -n "/^$external/,/\+/p" | \
|
||||||
|
tail -n 1 | awk '{print $1}')
|
||||||
|
res_internal=$(xrandr --query | sed -n "/^$internal/,/\+/p" | \
|
||||||
|
tail -n 1 | awk '{print $1}')
|
||||||
|
|
||||||
|
res_ext_x=$(echo "$res_external" | sed 's/x.*//')
|
||||||
|
res_ext_y=$(echo "$res_external" | sed 's/.*x//')
|
||||||
|
res_int_x=$(echo "$res_internal" | sed 's/x.*//')
|
||||||
|
res_int_y=$(echo "$res_internal" | sed 's/.*x//')
|
||||||
|
|
||||||
|
scale_x=$(echo "$res_ext_x / $res_int_x" | bc -l)
|
||||||
|
scale_y=$(echo "$res_ext_y / $res_int_y" | bc -l)
|
||||||
|
|
||||||
|
xrandr --output "$external" --auto --scale 1.0x1.0 \
|
||||||
|
--output "$internal" --auto --same-as "$external" \
|
||||||
|
--scale "$scale_x"x"$scale_y"
|
||||||
|
else
|
||||||
|
|
||||||
|
primary=$(echo "$screens" | dmenu -i -p "Select primary display:")
|
||||||
|
secondary=$(echo "$screens" | grep -v "$primary")
|
||||||
|
direction=$(printf "left\\nright" | dmenu -i -p "What side of $primary should $secondary be on?")
|
||||||
|
xrandr --output "$primary" --auto --scale 1.0x1.0 --output "$secondary" --"$direction"-of "$primary" --auto --scale 1.0x1.0
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
morescreen() { # If multi-monitor is selected and there are more than two screens.
|
||||||
|
primary=$(echo "$screens" | dmenu -i -p "Select primary display:")
|
||||||
|
secondary=$(echo "$screens" | grep -v "$primary" | dmenu -i -p "Select secondary display:")
|
||||||
|
direction=$(printf "left\\nright" | dmenu -i -p "What side of $primary should $secondary be on?")
|
||||||
|
tertiary=$(echo "$screens" | grep -v "$primary" | grep -v "$secondary" | dmenu -i -p "Select third display:")
|
||||||
|
xrandr --output "$primary" --auto --output "$secondary" --"$direction"-of "$primary" --auto --output "$tertiary" --"$(printf "left\\nright" | grep -v "$direction")"-of "$primary" --auto
|
||||||
|
}
|
||||||
|
|
||||||
|
multimon() { # Multi-monitor handler.
|
||||||
|
case "$(echo "$screens" | wc -l)" in
|
||||||
|
2) twoscreen ;;
|
||||||
|
*) morescreen ;;
|
||||||
|
esac ;}
|
||||||
|
|
||||||
|
onescreen() { # If only one output available or chosen.
|
||||||
|
xrandr --output "$1" --auto --scale 1.0x1.0 $(echo "$allposs" | grep -v "\b$1" | awk '{print "--output", $1, "--off"}' | paste -sd ' ' -)
|
||||||
|
}
|
||||||
|
|
||||||
|
postrun() { # Stuff to run to clean up.
|
||||||
|
setbg # Fix background if screen size/arangement has changed.
|
||||||
|
remaps # Re-remap keys if keyboard added (for laptop bases)
|
||||||
|
{ killall dunst ; setsid -f dunst ;} >/dev/null 2>&1 # Restart dunst to ensure proper location on screen
|
||||||
|
}
|
||||||
|
|
||||||
|
# Get all possible displays
|
||||||
|
allposs=$(xrandr -q | grep "connected")
|
||||||
|
|
||||||
|
# Get all connected screens.
|
||||||
|
screens=$(echo "$allposs" | awk '/ connected/ {print $1}')
|
||||||
|
|
||||||
|
# If there's only one screen
|
||||||
|
[ "$(echo "$screens" | wc -l)" -lt 2 ] &&
|
||||||
|
{ onescreen "$screens"; postrun; notify-send "💻 Only one screen detected." "Using it in its optimal settings..."; exit ;}
|
||||||
|
|
||||||
|
# Get user choice including multi-monitor and manual selection:
|
||||||
|
chosen=$(printf "%s\\nmulti-monitor\\nmanual selection" "$screens" | dmenu -i -p "Select display arangement:") &&
|
||||||
|
case "$chosen" in
|
||||||
|
"manual selection") arandr ; exit ;;
|
||||||
|
"multi-monitor") multimon ;;
|
||||||
|
*) onescreen "$chosen" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
postrun
|
||||||
|
|
||||||
Executable
+69
@@ -0,0 +1,69 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# from https://github.com/LukeSmithxyz/voidrice/blob/master/.local/bin/dmenumount
|
||||||
|
# Gives a dmenu prompt to mount unmounted drives and Android phones. If
|
||||||
|
# they're in /etc/fstab, they'll be mounted automatically. Otherwise, you'll
|
||||||
|
# be prompted to give a mountpoint from already existsing directories. If you
|
||||||
|
# input a novel directory, it will prompt you to create that directory.
|
||||||
|
|
||||||
|
getmount() { \
|
||||||
|
[ -z "$chosen" ] && exit 1
|
||||||
|
# shellcheck disable=SC2086
|
||||||
|
mp="$(find $1 2>/dev/null | dmenu -i -p "Type in mount point.")" || exit 1
|
||||||
|
test -z "$mp" && exit 1
|
||||||
|
if [ ! -d "$mp" ]; then
|
||||||
|
mkdiryn=$(printf "No\\nYes" | dmenu -i -p "$mp does not exist. Create it?") || exit 1
|
||||||
|
[ "$mkdiryn" = "Yes" ] && (mkdir -p "$mp" || sudo -A mkdir -p "$mp")
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
mountusb() { \
|
||||||
|
chosen="$(echo "$usbdrives" | dmenu -i -p "Mount which drive?")" || exit 1
|
||||||
|
chosen="$(echo "$chosen" | awk '{print $1}')"
|
||||||
|
sudo -A mount "$chosen" 2>/dev/null && notify-send "💻 USB mounting" "$chosen mounted." && exit 0
|
||||||
|
alreadymounted=$(lsblk -nrpo "name,type,mountpoint" | awk '$3!~/\/boot|\/home$|SWAP/&&length($3)>1{printf "-not ( -path *%s -prune ) ",$3}')
|
||||||
|
getmount "/mnt /media /mount /home -maxdepth 5 -type d $alreadymounted"
|
||||||
|
partitiontype="$(lsblk -no "fstype" "$chosen")"
|
||||||
|
case "$partitiontype" in
|
||||||
|
"vfat") sudo -A mount -t vfat "$chosen" "$mp" -o rw,umask=0000;;
|
||||||
|
"exfat") sudo -A mount "$chosen" "$mp" -o uid="$(id -u)",gid="$(id -g)";;
|
||||||
|
*) sudo -A mount "$chosen" "$mp"; user="$(whoami)"; ug="$(groups | awk '{print $1}')"; sudo -A chown "$user":"$ug" "$mp";;
|
||||||
|
esac
|
||||||
|
notify-send "💻 USB mounting" "$chosen mounted to $mp."
|
||||||
|
}
|
||||||
|
|
||||||
|
mountandroid() { \
|
||||||
|
chosen="$(echo "$anddrives" | dmenu -i -p "Which Android device?")" || exit 1
|
||||||
|
chosen="$(echo "$chosen" | cut -d : -f 1)"
|
||||||
|
getmount "$HOME -maxdepth 3 -type d"
|
||||||
|
simple-mtpfs --device "$chosen" "$mp"
|
||||||
|
echo "OK" | dmenu -i -p "Tap Allow on your phone if it asks for permission and then press enter" || exit 1
|
||||||
|
simple-mtpfs --device "$chosen" "$mp"
|
||||||
|
notify-send "🤖 Android Mounting" "Android device mounted to $mp."
|
||||||
|
}
|
||||||
|
|
||||||
|
asktype() { \
|
||||||
|
choice="$(printf "USB\\nAndroid" | dmenu -i -p "Mount a USB drive or Android device?")" || exit 1
|
||||||
|
case $choice in
|
||||||
|
USB) mountusb ;;
|
||||||
|
Android) mountandroid ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
anddrives=$(simple-mtpfs -l 2>/dev/null)
|
||||||
|
usbdrives="$(lsblk -rpo "name,type,size,mountpoint" | grep 'part\|rom' | awk '$4==""{printf "%s (%s)\n",$1,$3}')"
|
||||||
|
|
||||||
|
if [ -z "$usbdrives" ]; then
|
||||||
|
[ -z "$anddrives" ] && echo "No USB drive or Android device detected" && exit
|
||||||
|
echo "Android device(s) detected."
|
||||||
|
mountandroid
|
||||||
|
else
|
||||||
|
if [ -z "$anddrives" ]; then
|
||||||
|
echo "USB drive(s) detected."
|
||||||
|
mountusb
|
||||||
|
else
|
||||||
|
echo "Mountable USB drive(s) and Android device(s) detected."
|
||||||
|
asktype
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
Executable
+125
@@ -0,0 +1,125 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# taken from https://github.com/LukeSmithxyz/voidrice/blob/master/.local/bin/dmenurecord
|
||||||
|
# Usage:
|
||||||
|
# `$0`: Ask for recording type via dmenu
|
||||||
|
# `$0 screencast`: Record both audio and screen
|
||||||
|
# `$0 video`: Record only screen
|
||||||
|
# `$0 audio`: Record only audio
|
||||||
|
# `$0 kill`: Kill existing recording
|
||||||
|
#
|
||||||
|
# If there is already a running instance, user will be prompted to end it.
|
||||||
|
|
||||||
|
updateicon() { \
|
||||||
|
echo "$1" > /tmp/recordingicon
|
||||||
|
pkill -RTMIN+9 "${STATUSBAR:-dwmblocks}"
|
||||||
|
}
|
||||||
|
|
||||||
|
killrecording() {
|
||||||
|
recpid="$(cat /tmp/recordingpid)"
|
||||||
|
# kill with SIGTERM, allowing finishing touches.
|
||||||
|
kill -15 "$recpid"
|
||||||
|
rm -f /tmp/recordingpid
|
||||||
|
updateicon ""
|
||||||
|
pkill -RTMIN+9 "${STATUSBAR:-dwmblocks}"
|
||||||
|
# even after SIGTERM, ffmpeg may still run, so SIGKILL it.
|
||||||
|
sleep 3
|
||||||
|
kill -9 "$recpid"
|
||||||
|
exit
|
||||||
|
}
|
||||||
|
|
||||||
|
screencast() { \
|
||||||
|
ffmpeg -y \
|
||||||
|
-f x11grab \
|
||||||
|
-framerate 60 \
|
||||||
|
-s "$(xdpyinfo | awk '/dimensions/ {print $2;}')" \
|
||||||
|
-i "$DISPLAY" \
|
||||||
|
-f alsa -i default \
|
||||||
|
-r 30 \
|
||||||
|
-c:v h264 -crf 0 -preset ultrafast -c:a aac \
|
||||||
|
"$HOME/screencast-$(date '+%y%m%d-%H%M-%S').mp4" &
|
||||||
|
echo $! > /tmp/recordingpid
|
||||||
|
updateicon "⏺️🎙️"
|
||||||
|
}
|
||||||
|
|
||||||
|
video() { ffmpeg \
|
||||||
|
-f x11grab \
|
||||||
|
-s "$(xdpyinfo | awk '/dimensions/ {print $2;}')" \
|
||||||
|
-i "$DISPLAY" \
|
||||||
|
-c:v libx264 -qp 0 -r 30 \
|
||||||
|
"$HOME/video-$(date '+%y%m%d-%H%M-%S').mkv" &
|
||||||
|
echo $! > /tmp/recordingpid
|
||||||
|
updateicon "⏺️"
|
||||||
|
}
|
||||||
|
|
||||||
|
webcamhidef() { ffmpeg \
|
||||||
|
-f v4l2 \
|
||||||
|
-i /dev/video0 \
|
||||||
|
-video_size 1920x1080 \
|
||||||
|
"$HOME/webcam-$(date '+%y%m%d-%H%M-%S').mkv" &
|
||||||
|
echo $! > /tmp/recordingpid
|
||||||
|
updateicon "🎥"
|
||||||
|
}
|
||||||
|
|
||||||
|
webcam() { ffmpeg \
|
||||||
|
-f v4l2 \
|
||||||
|
-i /dev/video0 \
|
||||||
|
-video_size 640x480 \
|
||||||
|
"$HOME/webcam-$(date '+%y%m%d-%H%M-%S').mkv" &
|
||||||
|
echo $! > /tmp/recordingpid
|
||||||
|
updateicon "🎥"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
audio() { \
|
||||||
|
ffmpeg \
|
||||||
|
-f alsa -i default \
|
||||||
|
-c:a flac \
|
||||||
|
"$HOME/audio-$(date '+%y%m%d-%H%M-%S').flac" &
|
||||||
|
echo $! > /tmp/recordingpid
|
||||||
|
updateicon "🎙️"
|
||||||
|
}
|
||||||
|
|
||||||
|
askrecording() { \
|
||||||
|
choice=$(printf "screencast\\nvideo\\nvideo selected\\naudio\\nwebcam\\nwebcam (hi-def)" | dmenu -i -p "Select recording style:")
|
||||||
|
case "$choice" in
|
||||||
|
screencast) screencast;;
|
||||||
|
audio) audio;;
|
||||||
|
video) video;;
|
||||||
|
*selected) videoselected;;
|
||||||
|
webcam) webcam;;
|
||||||
|
"webcam (hi-def)") webcamhidef;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
asktoend() { \
|
||||||
|
response=$(printf "No\\nYes" | dmenu -i -p "Recording still active. End recording?") &&
|
||||||
|
[ "$response" = "Yes" ] && killrecording
|
||||||
|
}
|
||||||
|
|
||||||
|
videoselected()
|
||||||
|
{
|
||||||
|
slop -f "%x %y %w %h" > /tmp/slop
|
||||||
|
read -r X Y W H < /tmp/slop
|
||||||
|
rm /tmp/slop
|
||||||
|
|
||||||
|
ffmpeg \
|
||||||
|
-f x11grab \
|
||||||
|
-framerate 60 \
|
||||||
|
-video_size "$W"x"$H" \
|
||||||
|
-i :0.0+"$X,$Y" \
|
||||||
|
-c:v libx264 -qp 0 -r 30 \
|
||||||
|
"$HOME/box-$(date '+%y%m%d-%H%M-%S').mkv" &
|
||||||
|
echo $! > /tmp/recordingpid
|
||||||
|
updateicon "⏺️"
|
||||||
|
}
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
screencast) screencast;;
|
||||||
|
audio) audio;;
|
||||||
|
video) video;;
|
||||||
|
*selected) videoselected;;
|
||||||
|
kill) killrecording;;
|
||||||
|
*) ([ -f /tmp/recordingpid ] && asktoend && exit) || askrecording;;
|
||||||
|
esac
|
||||||
|
|
||||||
Executable
+46
@@ -0,0 +1,46 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# taken from https://github.com/LukeSmithxyz/voidrice/blob/master/.local/bin/dmenuumount
|
||||||
|
# A dmenu prompt to unmount drives.
|
||||||
|
# Provides you with mounted partitions, select one to unmount.
|
||||||
|
# Drives mounted at /, /boot and /home will not be options to unmount.
|
||||||
|
|
||||||
|
unmountusb() {
|
||||||
|
[ -z "$drives" ] && exit
|
||||||
|
chosen="$(echo "$drives" | dmenu -i -p "Unmount which drive?")" || exit 1
|
||||||
|
chosen="$(echo "$chosen" | awk '{print $1}')"
|
||||||
|
[ -z "$chosen" ] && exit
|
||||||
|
sudo -A umount "$chosen" && notify-send "💻 USB unmounting" "$chosen unmounted."
|
||||||
|
}
|
||||||
|
|
||||||
|
unmountandroid() { \
|
||||||
|
chosen="$(awk '/simple-mtpfs/ {print $2}' /etc/mtab | dmenu -i -p "Unmount which device?")" || exit 1
|
||||||
|
[ -z "$chosen" ] && exit
|
||||||
|
sudo -A umount -l "$chosen" && notify-send "🤖 Android unmounting" "$chosen unmounted."
|
||||||
|
}
|
||||||
|
|
||||||
|
asktype() { \
|
||||||
|
choice="$(printf "USB\\nAndroid" | dmenu -i -p "Unmount a USB drive or Android device?")" || exit 1
|
||||||
|
case "$choice" in
|
||||||
|
USB) unmountusb ;;
|
||||||
|
Android) unmountandroid ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
drives=$(lsblk -nrpo "name,type,size,mountpoint,label" | awk -F':' '{gsub(/ /,":")}$4!~/\/boot|\/efi|\/home$|SWAP/&&length($4)>1{printf "%s (%s) %s\n",$4,$3,$5}')
|
||||||
|
|
||||||
|
if ! grep simple-mtpfs /etc/mtab; then
|
||||||
|
[ -z "$drives" ] && echo "No drives to unmount." && exit
|
||||||
|
echo "Unmountable USB drive detected."
|
||||||
|
unmountusb
|
||||||
|
else
|
||||||
|
if [ -z "$drives" ]
|
||||||
|
then
|
||||||
|
echo "Unmountable Android device detected."
|
||||||
|
unmountandroid
|
||||||
|
else
|
||||||
|
echo "Unmountable USB drive(s) and Android device(s) detected."
|
||||||
|
asktype
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
@@ -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
|
|
||||||
@@ -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
|
|
||||||
|
|
||||||
@@ -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
|
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
[Scheme]
|
||||||
|
Name=Monokai (dark)
|
||||||
|
TabActivityColor=#a6a6e2e22e2e
|
||||||
|
ColorCursor=#f8f8f8f8f2f2
|
||||||
|
ColorForeground=#f8f8f8f8f2f2
|
||||||
|
ColorBackground=#19191a1a1717
|
||||||
|
ColorPalette=#272728282222;#f9f926267272;#a6a6e2e22e2e;#f4f4bfbf7575;#6666d9d9efef;#aeae8181ffff;#a1a1efefe4e4;#f8f8f8f8f2f2;#757571715e5e;#f9f926267272;#a6a6e2e22e2e;#f4f4bfbf7575;#6666d9d9efef;#aeae8181ffff;#a1a1efefe4e4;#f9f9f8f8f5f5
|
||||||
@@ -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);
|
|
||||||
+8
-10
@@ -1,6 +1,4 @@
|
|||||||
/*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
|
/*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 {
|
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
@@ -9,23 +7,23 @@
|
|||||||
visibility: collapse !important;
|
visibility: collapse !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*remove top white line
|
/*remove top white line*/
|
||||||
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar .titlebar-spacer {
|
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar .titlebar-spacer {
|
||||||
border-inline-end: none;
|
border-inline-end: none;
|
||||||
}*/
|
}
|
||||||
/*Hide the Tree style Tab header*/
|
/*Hide the Tree style Tab header*/
|
||||||
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
|
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*The following moves the window buttons to the lower bar after removeing horizontal tabs
|
/* The following moves the window buttons to the lower bar after removeing horizontal tabs*/
|
||||||
Adding empty space for buttons */
|
/* Adding empty space for buttons */
|
||||||
/*#nav-bar {
|
#nav-bar {
|
||||||
margin-right:140px;
|
margin-right:140px;
|
||||||
}*/
|
}
|
||||||
|
|
||||||
/* Fix for main menu calling by Alt button */
|
/* Fix for main menu calling by Alt button */
|
||||||
/*#titlebar{display: none}*/
|
|
||||||
#titlebar > #toolbar-menubar {
|
#titlebar > #toolbar-menubar {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -11,37 +11,13 @@ export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java"
|
|||||||
export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"
|
export CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv"
|
||||||
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
||||||
export WGETRC="$XDG_CONFIG_HOME/wgetrc"
|
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 wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
|
||||||
alias yarn='yarn --use-yarnrc "$XDG_CONFIG_HOME/yarn/config"'
|
alias yarn='yarn --use-yarnrc "$XDG_CONFIG_HOME/yarn/config"'
|
||||||
alias code='code --extensions-dir "$XDG_DATA_HOME/vscode"'
|
alias code='code --extensions-dir "$XDG_DATA_HOME/vscode"'
|
||||||
alias dict='dict -c "$XDG_CONFIG_HOME"/dict/dictrc '
|
alias vscodium='vscodium --extensions-dir "$XDG_DATA_HOME/vscode"'
|
||||||
|
|
||||||
|
|
||||||
# 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 EDITOR=/usr/bin/nvim
|
||||||
export BROWSER=/usr/bin/firefox
|
export BROWSER=/usr/bin/firefox
|
||||||
export TERMINAL=/usr/bin/alacritty
|
export QT_QPA_PLATFORMTHEME="qt5ct"
|
||||||
export EXPLORER=/usr/bin/thunar
|
export QT_AUTO_SCREEN_SCALE_FACTOR=0
|
||||||
export MAILCLIENT=/usr/bin/thunderbird
|
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
|
||||||
# set BAT as man pager
|
|
||||||
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
|
||||||
export MANROFFOPT="-c"
|
|
||||||
@@ -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
|
|
||||||
Reference in new issue
Block a user