Compare commits
9 commits
dca6aeeefb
...
33e78ae22a
Author | SHA1 | Date | |
---|---|---|---|
33e78ae22a | |||
09a4424785 | |||
2dd857f304 | |||
e30c6b49ce | |||
1dffa2cf47 | |||
3d5e56178e | |||
653c9cc8b7 | |||
9d4fc0bedd | |||
d48b0e8444 |
6 changed files with 11 additions and 6 deletions
|
@ -17,7 +17,7 @@ font Inter Medium 10
|
||||||
### Output configuration
|
### Output configuration
|
||||||
#
|
#
|
||||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||||
output * bg "~/.config/river/wallpapers/Abyss Reflections - Cat ears.png" fill
|
output * bg "~/Pictures/crash-novyj-albom-charli-xcx.jpg" fill
|
||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
|
@ -228,8 +228,9 @@ bindsym --locked XF86AudioNext exec 'playerctl next'
|
||||||
bindsym --locked XF86MonBrightnessUp exec 'brillo -A 5; brillo -O'
|
bindsym --locked XF86MonBrightnessUp exec 'brillo -A 5; brillo -O'
|
||||||
bindsym --locked XF86MonBrightnessDown exec 'brillo -U 5; brillo -O'
|
bindsym --locked XF86MonBrightnessDown exec 'brillo -U 5; brillo -O'
|
||||||
|
|
||||||
default_border pixel 4
|
default_border normal 4
|
||||||
smart_borders on
|
smart_borders on
|
||||||
|
hide_edge_borders both
|
||||||
|
|
||||||
focus_follows_mouse no
|
focus_follows_mouse no
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ i3status | while true; do
|
||||||
if test -z "$json_array"; then
|
if test -z "$json_array"; then
|
||||||
echo "$line"
|
echo "$line"
|
||||||
else
|
else
|
||||||
zeit_obj='{"name":"zeit","instance":"zeit","markup":"none","full_text":"'$(zeit tracking --no-colors)'"}'
|
zeit_obj='{"name":"zeit","instance":"zeit","color":"#FF0000","markup":"none","full_text":"'$(zeit tracking --no-colors)'"}'
|
||||||
json_array="$(echo $json_array | jq ". |= [$zeit_obj] + .")"
|
json_array="$(echo $json_array | jq ". |= [$zeit_obj] + .")"
|
||||||
echo "$json_array,"
|
echo "$json_array,"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -15,7 +15,7 @@ font=monospace:pixelsize=22
|
||||||
line-height=33px
|
line-height=33px
|
||||||
vertical-letter-offset=5px
|
vertical-letter-offset=5px
|
||||||
|
|
||||||
pad=0x0
|
pad=4x4
|
||||||
|
|
||||||
initial-window-size-chars=120x24
|
initial-window-size-chars=120x24
|
||||||
" > ~/.config/foot/foot.ini
|
" > ~/.config/foot/foot.ini
|
||||||
|
|
|
@ -7,6 +7,7 @@ local black1 = '#383838'
|
||||||
local black2 = '#686868'
|
local black2 = '#686868'
|
||||||
|
|
||||||
local white0 = '#ffffff'
|
local white0 = '#ffffff'
|
||||||
|
local white05 = '#e8e8e8'
|
||||||
local white1 = '#c8c8c8'
|
local white1 = '#c8c8c8'
|
||||||
local white2 = '#989898'
|
local white2 = '#989898'
|
||||||
|
|
||||||
|
@ -31,7 +32,7 @@ lexers.STYLE_TAG = 'fore:'..black0
|
||||||
lexers.STYLE_TYPE = 'fore:'..black0
|
lexers.STYLE_TYPE = 'fore:'..black0
|
||||||
lexers.STYLE_VARIABLE = 'fore:'..black0
|
lexers.STYLE_VARIABLE = 'fore:'..black0
|
||||||
lexers.STYLE_WHITESPACE = ''
|
lexers.STYLE_WHITESPACE = ''
|
||||||
lexers.STYLE_EMBEDDED = 'back:'..white1
|
lexers.STYLE_EMBEDDED = 'back:'..white05
|
||||||
lexers.STYLE_IDENTIFIER = 'fore:'..black0
|
lexers.STYLE_IDENTIFIER = 'fore:'..black0
|
||||||
|
|
||||||
lexers.STYLE_LINENUMBER = 'fore:'..black1
|
lexers.STYLE_LINENUMBER = 'fore:'..black1
|
||||||
|
|
|
@ -17,6 +17,8 @@ vis.events.subscribe(vis.events.INIT, function()
|
||||||
vis:map(vis.modes.NORMAL, ',f', ':fzf<Enter>')
|
vis:map(vis.modes.NORMAL, ',f', ':fzf<Enter>')
|
||||||
vis:map(vis.modes.NORMAL, ',b', ':fzfmru<Enter>')
|
vis:map(vis.modes.NORMAL, ',b', ':fzfmru<Enter>')
|
||||||
vis:map(vis.modes.NORMAL, ',w', ':w<Enter>')
|
vis:map(vis.modes.NORMAL, ',w', ':w<Enter>')
|
||||||
|
vis:map(vis.modes.NORMAL, ',q', ':q<Enter>')
|
||||||
|
vis:map(vis.modes.NORMAL, ',Q', ':q!<Enter>')
|
||||||
vis:map(vis.modes.NORMAL, ',,', ':')
|
vis:map(vis.modes.NORMAL, ',,', ':')
|
||||||
vis:command_register('W', function(argv)
|
vis:command_register('W', function(argv)
|
||||||
disable_formating = true
|
disable_formating = true
|
||||||
|
@ -28,6 +30,7 @@ end)
|
||||||
|
|
||||||
vis.events.subscribe(vis.events.WIN_OPEN, function(win)
|
vis.events.subscribe(vis.events.WIN_OPEN, function(win)
|
||||||
vis:command('set relativenumber')
|
vis:command('set relativenumber')
|
||||||
|
vis:command('set show-tabs on')
|
||||||
end)
|
end)
|
||||||
|
|
||||||
local function format(file, path)
|
local function format(file, path)
|
||||||
|
|
2
.zshrc
2
.zshrc
|
@ -28,7 +28,7 @@ zstyle ':vcs_info:*' enable git
|
||||||
precmd () { vcs_info }
|
precmd () { vcs_info }
|
||||||
|
|
||||||
setopt promptsubst
|
setopt promptsubst
|
||||||
PS1='%S%F{5} %3~ ${vcs_info_msg_0_}%f%#%s '
|
PS1='%F{5} %3~ ${vcs_info_msg_0_}%f%# '
|
||||||
"$REMOTE" && PS1='%n@%m '$PS1
|
"$REMOTE" && PS1='%n@%m '$PS1
|
||||||
|
|
||||||
alias ls='ls --color=always'
|
alias ls='ls --color=always'
|
||||||
|
|
Loading…
Reference in a new issue