Update configs due to newer programs (hypr, eza@aliasrc)
Add new features to ansible-vault-manager Add search engines to qutebrowser Add location to waybar weather
This commit is contained in:
parent
7300c7a813
commit
6f6ca6f79d
9 changed files with 49 additions and 16 deletions
|
@ -25,5 +25,22 @@ if ! pass "ansible/$project" >/dev/null 2>&1; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
pass "ansible/$project"
|
||||
pass_content=$(pass "ansible/$project")
|
||||
pass_path=$project_dir/$(echo "$pass_content" | grep "path:" | cut -d' ' -f2-)
|
||||
|
||||
case "$1" in
|
||||
edit)
|
||||
pass edit "ansible/$project"
|
||||
exit 0
|
||||
;;
|
||||
deploy)
|
||||
pass show "ansible/$project.file" > "$pass_path"
|
||||
exit 0
|
||||
;;
|
||||
save)
|
||||
pass insert -m "ansible/$project.file" < "$pass_path"
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "$pass_content" | head -n 1
|
|
@ -73,7 +73,7 @@ alias xdebug='XDEBUG_CONFIG="remote_host=127.0.0.1 remote_port=9003"'
|
|||
|
||||
test -x "$(command -v bat)" && alias cat='bat -pp'
|
||||
|
||||
test -x "$(command -v eza)" && alias ls='eza -lhF --git --icons --color=always --color-scale --time-style=long-iso --group-directories-first'
|
||||
test -x "$(command -v eza)" && alias ls='eza -lhF --git --icons --color=always --color-scale --color-scale-mode=fixed --time-style=long-iso --group-directories-first'
|
||||
|
||||
test -x "$(command -v moar)" && alias less='moar'
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
export ANSIBLE_VAULT_PASSWORD_FILE="$HOME/.bin/ansible-vault-pass.sh"
|
||||
export ANSIBLE_VAULT_PASSWORD_FILE="$HOME/.bin/ansible-vault-manager"
|
||||
export ANSIBLE_PYTHON_INTERPRETER='auto_silent'
|
||||
|
|
|
@ -9,6 +9,7 @@ bind = $main_mod, F, fullscreen,
|
|||
|
||||
bind = $main_mod, D, exec, j4-dmenu-desktop --dmenu="$DMENU"
|
||||
bind = $main_mod, Pause, exec, menu-shutdown
|
||||
bind = $main_mod, T, exec, ts-control
|
||||
|
||||
bind = $main_mod, Print, exec, screenshot
|
||||
bind = $main_mod CTRL, Print, exec, screenshot --no-upload
|
||||
|
|
|
@ -1,18 +1,32 @@
|
|||
# dracula/hyprland
|
||||
general {
|
||||
col.active_border = rgb(bd93f9)
|
||||
col.active_border = rgb(44475a) rgb(bd93f9) 90deg
|
||||
col.inactive_border = rgba(44475aaa)
|
||||
col.group_border = rgba(282a36dd)
|
||||
col.group_border_active = rgb(bd93f9)
|
||||
# non-gradient alternative
|
||||
#col.active_border = rgb(bd93f9)
|
||||
#col.inactive_border = rgba(44475aaa)
|
||||
#col.group_border = rgba(282a36dd)
|
||||
#col.group_border_active = rgb(bd93f9)
|
||||
# darker alternative
|
||||
#col.active_border = rgb(44475a) # or rgb(6272a4)
|
||||
#col.inactive_border = rgb(282a36)
|
||||
#col.group_border = rgb(282a36)
|
||||
#col.group_border_active = rgb(44475a) # or rgb(6272a4)
|
||||
|
||||
}
|
||||
decoration {
|
||||
col.shadow = rgba(1E202966)
|
||||
# suggested shadow setting
|
||||
drop_shadow = yes
|
||||
shadow_range = 60
|
||||
shadow_offset = 1 2
|
||||
shadow_render_power = 3
|
||||
shadow_scale = 0.97
|
||||
#drop_shadow = yes
|
||||
#shadow_range = 60
|
||||
#shadow_offset = 1 2
|
||||
#shadow_render_power = 3
|
||||
#shadow_scale = 0.97
|
||||
}
|
||||
group {
|
||||
groupbar {
|
||||
col.active = rgb(bd93f9) rgb(44475a) 90deg
|
||||
col.inactive = rgba(282a36dd)
|
||||
}
|
||||
}
|
||||
#windowrulev2 = bordercolor rgb(ff5555),xwayland:1 # check if window is xwayland
|
||||
|
|
|
@ -30,6 +30,8 @@ def init(c):
|
|||
|
||||
c.url.searchengines = {
|
||||
'DEFAULT': 'https://duckduckgo.com/?q={}',
|
||||
'ddg': 'https://duckduckgo.com/?q={}',
|
||||
'kagi': 'https://kagi.com/search?q={}'
|
||||
}
|
||||
c.url.start_pages = ['rss.serguzim.me', 'open.spotify.com']
|
||||
|
||||
|
|
|
@ -23,9 +23,6 @@
|
|||
"on-click": "activate",
|
||||
"all-outputs": true,
|
||||
"sort-by-number": true,
|
||||
"persistent_workspaces": {
|
||||
"*": 10
|
||||
}
|
||||
},
|
||||
"hyprland/window": {
|
||||
"max-length": 128
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#!nix-shell -i python -p python3 python3Packages.requests
|
||||
|
||||
import json
|
||||
import os
|
||||
import requests
|
||||
from datetime import datetime
|
||||
|
||||
|
@ -58,8 +59,9 @@ WEATHER_CODES = {
|
|||
|
||||
data = {}
|
||||
|
||||
|
||||
weather = requests.get("https://wttr.in/?format=j1").json()
|
||||
place = os.environ.get('WTTR_PLACE', 'Berlin')
|
||||
url = "https://wttr.in/" + place + "?format=j1"
|
||||
weather = requests.get(url).json()
|
||||
|
||||
|
||||
def format_time(time):
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue