update
This commit is contained in:
parent
f9f9e4ce14
commit
5ae6090242
8 changed files with 17 additions and 14 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
(
|
(
|
||||||
output: "all",
|
output: "all",
|
||||||
source: Path("/home/user/.dotfiles/.config/configfiles/wallpaper.png"),
|
source: Path("/home/user/.config/configfiles/wallpaper.jpg"),
|
||||||
filter_by_theme: true,
|
filter_by_theme: true,
|
||||||
rotation_frequency: 3600,
|
rotation_frequency: 300,
|
||||||
filter_method: Lanczos,
|
filter_method: Lanczos,
|
||||||
scaling_mode: Zoom,
|
scaling_mode: Zoom,
|
||||||
sampling_method: Alphanumeric,
|
sampling_method: Alphanumeric,
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
[
|
[
|
||||||
"/home/user/.config/configfiles/wallpaper.png",
|
"/home/user/.config/configfiles/wallpaper.jpg",
|
||||||
"/home/user/.dotfiles/.config/configfiles/wallpaper.png",
|
|
||||||
]
|
]
|
||||||
|
|
@ -1 +1 @@
|
||||||
"default-apps"
|
"about"
|
||||||
|
|
@ -12,7 +12,7 @@ bold_font auto
|
||||||
italic_font auto
|
italic_font auto
|
||||||
bold_italic_font auto
|
bold_italic_font auto
|
||||||
|
|
||||||
font_size 12
|
font_size 11
|
||||||
|
|
||||||
# The basic colors
|
# The basic colors
|
||||||
foreground #cdd6f4
|
foreground #cdd6f4
|
||||||
|
|
|
||||||
|
|
@ -21,15 +21,18 @@ clear-env ()
|
||||||
|
|
||||||
tmux-new () {
|
tmux-new () {
|
||||||
local dir=${1:-}
|
local dir=${1:-}
|
||||||
|
|
||||||
[ -z "${dir}" ] && local dir=$(find $HOME/Documents/gitlab -mindepth 1 -maxdepth 1 -type d| awk -F/ '{print $(NF-1)"/"$NF " " $0}' | fzf --with-nth=1 | awk '{print $2}')
|
[ -z "${dir}" ] && local dir=$(find $HOME/Documents/gitlab -mindepth 1 -maxdepth 1 -type d| awk -F/ '{print $(NF-1)"/"$NF " " $0}' | fzf --with-nth=1 | awk '{print $2}')
|
||||||
[ -z "$dir" ] && return 1
|
[ -z "$dir" ] && return 1
|
||||||
|
|
||||||
|
|
||||||
local name=$(basename "$dir")
|
local name=$(basename "$dir")
|
||||||
|
|
||||||
if [[ $name == .* ]]; then
|
if [[ $name == .* ]]; then
|
||||||
name=${name#.}
|
name=${name#.}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
tmux has-session -t ${name} > /dev/null && { tmux switch-client -t ${name}; return; }
|
||||||
tmux new-session -d -s "$name" -c "$dir"
|
tmux new-session -d -s "$name" -c "$dir"
|
||||||
|
|
||||||
RIGHT_PANE_WIDTH=60
|
RIGHT_PANE_WIDTH=60
|
||||||
|
|
@ -54,10 +57,10 @@ tmux-new () {
|
||||||
|
|
||||||
tmux select-window -t "$name:1"
|
tmux select-window -t "$name:1"
|
||||||
tmux select-pane -t "$name:1.1"
|
tmux select-pane -t "$name:1.1"
|
||||||
|
|
||||||
tmux switch-client -t "$name"
|
tmux switch-client -t "$name"
|
||||||
}
|
}
|
||||||
|
|
||||||
load-profile () {
|
load-profile () {
|
||||||
ansible-playbook /home/user/.dotfiles/ansible/.config/ansible/local.yml -K
|
ansible-playbook /home/user/.dotfiles/ansible/.config/ansible/local.yml -K
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ exec_always swayidle -w \
|
||||||
timeout 120 'swaylock -f' \
|
timeout 120 'swaylock -f' \
|
||||||
timeout 240 'swaymsg "output * dpms off"' \
|
timeout 240 'swaymsg "output * dpms off"' \
|
||||||
resume 'swaymsg "output * dpms on"' \
|
resume 'swaymsg "output * dpms on"' \
|
||||||
before-sleep 'swaylock -f'
|
befor-sleep 'swaylock -f'
|
||||||
|
|
||||||
#timeout 1200 'systemctl suspend' \
|
#timeout 1200 'systemctl suspend' \
|
||||||
### Input configuration
|
### Input configuration
|
||||||
|
|
@ -211,7 +211,8 @@ bindsym XF86MonBrightnessUp exec brightnessctl s +10%
|
||||||
bindsym $mod+p exec grim -g "$(slurp)" - | wl-copy
|
bindsym $mod+p exec grim -g "$(slurp)" - | wl-copy
|
||||||
|
|
||||||
# Border
|
# Border
|
||||||
default_border pixel
|
client.focused "#4c00b0" "#4c00b0" "#ffffff" "#4c00b0"
|
||||||
|
default_border pixel 5
|
||||||
gaps inner 5
|
gaps inner 5
|
||||||
|
|
||||||
# Guesture
|
# Guesture
|
||||||
|
|
|
||||||
|
|
@ -23,10 +23,10 @@ set -g base-index 1
|
||||||
set -g pane-base-index 1
|
set -g pane-base-index 1
|
||||||
set-window-option -g pane-base-index 1
|
set-window-option -g pane-base-index 1
|
||||||
set-option -g renumber-windows on
|
set-option -g renumber-windows on
|
||||||
set-option -g @ssh-split-h-key "%"
|
set-option -g @ssh-split-h-key "%"
|
||||||
set-option -g @ssh-split-v-key '"'
|
set-option -g @ssh-split-v-key '"'
|
||||||
set-option -g @ssh-split-keep-cwd "true"
|
set-option -g @ssh-split-keep-cwd "true"
|
||||||
set-option -g @ssh-split-keep-remote-cwd "true"
|
set-option -g @ssh-split-keep-remote-cwd "true"
|
||||||
|
|
||||||
# resize windows
|
# resize windows
|
||||||
bind -n C-M-h resize-pane -L 5
|
bind -n C-M-h resize-pane -L 5
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 29b1149f69a29e708dfe91e130da8a159c467f78
|
Subproject commit bc76eedce68472e3408a8823d5ea5be33b132c4f
|
||||||
Loading…
Add table
Add a link
Reference in a new issue