diff options
| author | LMBishop <me@leonardobishop.com> | 2023-04-21 19:06:50 +0100 |
|---|---|---|
| committer | LMBishop <me@leonardobishop.com> | 2023-04-21 19:06:50 +0100 |
| commit | 410dca7c0be863d5e250e51caa6104e66238a09d (patch) | |
| tree | 123455b71e6ab76f0da554ad1cb6fbd10b5b4aa2 | |
| parent | 2e67201f4100ecd95e051618c1969348e207408f (diff) | |
Add shit
| -rw-r--r-- | info.yml | 14 | ||||
| -rw-r--r-- | sway/config | 3 | ||||
| -rw-r--r-- | swaylock/config | 35 | ||||
| -rw-r--r-- | waybar/config | 6 | ||||
| -rw-r--r-- | zsh/config/aliases.zsh | 2 |
5 files changed, 58 insertions, 2 deletions
@@ -181,3 +181,17 @@ sections: - ==: link from: scripts/mediaplayer.py to: ~/.config/waybar/scripts/mediaplayer.py + + # Copy swaylock configurations + configure-swaylock: + directory: "swaylock" + tags: ["config"] + preconditions: + os: "linux" + steps: + - ==: run + command: "mkdir -p ~/.config/swaylock" + - ==: link + from: config + to: ~/.config/swaylock/config + diff --git a/sway/config b/sway/config index 153260c..706f2b9 100644 --- a/sway/config +++ b/sway/config @@ -140,7 +140,8 @@ bindsym $mod+minus scratchpad show # Screenshot bindsym Print exec /usr/share/sway/scripts/grimshot copy area -bindsym $mod+Shift+equal exec /usr/share/sway/scripts/grimshot copy area +bindsym $mod+Shift+equal exec /usr/share/sway/scripts/grimshot --notify copy area +bindsym $mod+Control+equal exec /usr/share/sway/scripts/grimshot --notify save area bindsym $mod+bracketleft exec pactl set-sink-volume @DEFAULT_SINK@ -5% bindsym $mod+bracketright exec pactl set-sink-volume @DEFAULT_SINK@ +5% diff --git a/swaylock/config b/swaylock/config new file mode 100644 index 0000000..49cac89 --- /dev/null +++ b/swaylock/config @@ -0,0 +1,35 @@ +font=Iosevka Term Nerd Font + +image=/home/leonardo/.config/sway/wallpaper.jpg +clock +indicator +show-failed-attempts + +indicator-radius=100 +indicator-thickness=7 + +effect-blur=7x5 +effect-vignette=0.5:0.5 + +key-hl-color=dddddd + +ring-color=1c1c1c +ring-ver-color=dddddd +ring-wrong-color=ff4136 + +line-color=00000000 +line-ver-color=00000000 +line-clear-color=00000000 +line-wrong-color=00000000 + +inside-color=1c1c1c88 +inside-ver-color=1c1c1c88 +inside-clear-color=1c1c1c88 +inside-wrong-color=1c1c1c88 + +text-color=eeeeee +text-clear-color=eeeeee +text-ver-color=eeeeee +text-wrong-color=eeeeee + +separator-color=00000000 diff --git a/waybar/config b/waybar/config index 7e7b530..d36331c 100644 --- a/waybar/config +++ b/waybar/config @@ -2,7 +2,11 @@ "height": 30, "spacing": 4, "modules-left": ["sway/workspaces", "sway/mode"], - "modules-right": ["tray", "custom/spotify", "idle_inhibitor", "network", "cpu", "memory", "backlight", "pulseaudio", "battery", "clock"], + "modules-right": ["tray", "custom/lock", "custom/spotify", "idle_inhibitor", "network", "cpu", "memory", "backlight", "pulseaudio", "battery", "clock"], + "custom/lock": { + "format": " ", + "on-click": "swaylock" + }, "custom/spotify": { "exec": "/usr/bin/python3 ~/.config/waybar/scripts/mediaplayer.py --player spotify", "format": "{}", diff --git a/zsh/config/aliases.zsh b/zsh/config/aliases.zsh index 261161f..e57419a 100644 --- a/zsh/config/aliases.zsh +++ b/zsh/config/aliases.zsh @@ -16,3 +16,5 @@ alias lx="exa -lbhHigUmuSa@ --icons --time-style=long-iso --git --color-scale" alias lS="exa -1" alias lt="exa --tree --level=2" +# ParUI +alias pi="parui -p=yay" |
