From 44729aadfe24e02ded35b119e120f73292cd5008 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Thu, 6 Jun 2024 16:55:08 -0500 Subject: [PATCH] update --- .config/lazygit/config.yml | 23 ------------------- .config/sway/config | 3 +-- .config/waybar/config | 3 +-- .zshrc | 2 ++ ansible/roles/customize/files/sleep.conf | 21 +++++++++++++++++ ansible/roles/packages/vars/Pop!_OS-22.04.yml | 6 ++++- ansible/scripts/install_brew.yml | 3 +-- 7 files changed, 31 insertions(+), 30 deletions(-) create mode 100644 ansible/roles/customize/files/sleep.conf diff --git a/.config/lazygit/config.yml b/.config/lazygit/config.yml index 5101a60..e69de29 100644 --- a/.config/lazygit/config.yml +++ b/.config/lazygit/config.yml @@ -1,23 +0,0 @@ -gui: - theme: - activeBorderColor: - - '#cba6f7' - - bold - inactiveBorderColor: - - '#a6adc8' - optionsTextColor: - - '#89b4fa' - selectedLineBgColor: - - '#313244' - cherryPickedCommitBgColor: - - '#45475a' - cherryPickedCommitFgColor: - - '#cba6f7' - unstagedChangesColor: - - '#f38ba8' - defaultFgColor: - - '#cdd6f4' - searchingActiveBorderColor: - - '#f9e2af' - authorColors: - '*': '#b4befe' diff --git a/.config/sway/config b/.config/sway/config index 0ec2f70..f5594ea 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -14,8 +14,7 @@ output * bg ~/.config/configfiles/wallpaper.png fill exec_always "pkill kanshi; kanshi" ### Idle configuration -#exec_always pkill swayidle -#exec swayidle -w \ +#exec_always pkill swayidle && swayidle -w \ # timeout 300 'swaylock -f' \ # timeout 600 'swaymsg "output * dpms off"' \ # resume 'swaymsg "output * dpms on"' \ diff --git a/.config/waybar/config b/.config/waybar/config index ae777f4..83302ad 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -13,7 +13,7 @@ "format": "{title}" }, "network": { - "interface": "wlan0", + "interface": "wlp0s20f3", "format-wifi": "󰖩 {essid}", "format-disconnected": "󰖪", "interval": 1 @@ -31,7 +31,6 @@ }, "clock": { "format": "{:%I:%M %p %m/%d/%Y}", - "tooltip-format": "{calendar}", "calendar": { "format": { "months": "{}", diff --git a/.zshrc b/.zshrc index acff1ed..19d4f21 100644 --- a/.zshrc +++ b/.zshrc @@ -9,6 +9,7 @@ export GEM_HOME="$HOME/gems" export PATH="$HOME/.local/bin:$HOME/gems/bin:/usr/local/go/bin:$HOME/go/bin:/home/linuxbrew/.linuxbrew/bin:$PATH" export GOBIN=~/go/bin export BAT_THEME="Catppuccin Mocha" +export HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND="bg=none,fg=white,bold" #eval $(thefuck --alias) # alias tf=terraform @@ -73,6 +74,7 @@ zinit snippet OMZP::copypath zinit snippet OMZP::copyfile zinit snippet OMZP::copybuffer zinit snippet OMZP::dirhistory +zinit snippet OMZP::history-substring-search # Load completions autoload -Uz compinit && compinit diff --git a/ansible/roles/customize/files/sleep.conf b/ansible/roles/customize/files/sleep.conf new file mode 100644 index 0000000..9047803 --- /dev/null +++ b/ansible/roles/customize/files/sleep.conf @@ -0,0 +1,21 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free +# Software Foundation; either version 2.1 of the License, or (at your option) +# any later version. +# +# Entries in this file show the compile time defaults. Local configuration +# should be created by either modifying this file (or a copy of it placed in +# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in +# the /etc/systemd/sleep.conf.d/ directory. The latter is generally +# recommended. Defaults can be restored by simply deleting the main +# configuration file and all drop-ins located in /etc/. +# +# Use 'systemd-analyze cat-config systemd/sleep.conf' to display the full config. +# +# See systemd-sleep.conf(5) for details. + +[Sleep] +AllowSuspend=yes +SuspendEstimationSec=20min diff --git a/ansible/roles/packages/vars/Pop!_OS-22.04.yml b/ansible/roles/packages/vars/Pop!_OS-22.04.yml index 2141f93..039aaaf 100644 --- a/ansible/roles/packages/vars/Pop!_OS-22.04.yml +++ b/ansible/roles/packages/vars/Pop!_OS-22.04.yml @@ -15,9 +15,10 @@ required_packages_brew: - hashicorp/tap/vault - ffmpeg - ttyd - - waybar - bat - eza + - podman + - fastfetch apt_keys: - https://packages.microsoft.com/keys/microsoft.asc @@ -32,6 +33,9 @@ required_packages_apt: - swayidle - swaylock - swayimg + - kanshi + - waybar + - libappindicator1 flatpak_remote: - {name: 'flathub', url: "https://dl.flathub.org/repo/flathub.flatpakrepo"} diff --git a/ansible/scripts/install_brew.yml b/ansible/scripts/install_brew.yml index e39a4f2..8ba6065 100644 --- a/ansible/scripts/install_brew.yml +++ b/ansible/scripts/install_brew.yml @@ -37,6 +37,5 @@ - name: Install Brew Packages become_user: user community.general.homebrew: - name: "{{ item }}" - with_items: "{{ required_packages_brew }}" + name: "{{ required_packages_brew }}" when: required_packages_brew is defined