From 464ee8593d3e143221fd7883c651f35a23874c0f Mon Sep 17 00:00:00 2001 From: TriMill Date: Thu, 21 Sep 2023 11:47:51 -0400 Subject: [PATCH] made changes --- .config/alacritty/alacritty.yml | 2 +- .config/sway/config | 35 ++++++++++++++++++++------------- .config/wofi/style.css | 8 ++++++-- .zshrc | 26 ++++++++++++++++++++++++ 4 files changed, 54 insertions(+), 17 deletions(-) diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 04a3562..275697b 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -9,7 +9,7 @@ window: y: 5 decorations: full dynamic_title: true - opacity: 0.90 + opacity: 0.85 font: normal: diff --git a/.config/sway/config b/.config/sway/config index b0ff191..f039ef4 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -22,9 +22,10 @@ exec --no-startup-id webcord.sh exec --no-startup-id autotiling exec --no-startup-id nm-applet --indicator exec --no-startup-id element.sh +exec --no-startup-id thunderbird -assign [class="Element"] workspace number 8 -assign [app_id="WebCord"] workspace number 9 +assign [app_id="thunderbird"] workspace number 9 +assign [app_id="Element"] workspace number 9 workspace 1 output DP-1 workspace 9 output eDP-1 @@ -34,6 +35,8 @@ for_window [app_id="scratch_calc"] move scratchpad, resize set 960 640 for_window [app_id="scratch_cmus"] move scratchpad, resize set 960 640 for_window [app_id="scratch_htop"] move scratchpad, resize set 960 640 +for_window [app_id="wofi"] opacity 0.8 + # gnome time set $gnome-schema org.gnome.desktop.interface exec_always { @@ -50,7 +53,7 @@ output DP-1 resolution 2560x1440 position 0,0 scale 1.2 #output DP-1 resolution 1920x1080 position 0,0 input "type:keyboard" { - xkb_layout us + xkb_layout uscustom xkb_options compose:menu,caps:escape } @@ -149,8 +152,11 @@ bindsym $mod+Shift+l move right bindsym $mod+Ctrl+l resize grow width 10px bindsym $mod+c exec dmenu_kblayout -bindsym $mod+b splith +bindsym $mod+Shift+c layout tabbed bindsym $mod+v splitv +bindsym $mod+Shift+v layout splitv +bindsym $mod+b splith +bindsym $mod+Shift+b layout splith bindsym $mod+n exec pkill -USR1 gammastep || gammastep -O 4000 bindsym $mod+Shift+n exec pkill -USR1 gammastep || gammastep -O 2500 @@ -159,14 +165,13 @@ bindgesture swipe:right workspace next bindgesture swipe:left workspace prev -# class border backgr. text indicator child_border -client.focused #4d4754 #14171d #ffffff #ada0a8 #4d4754 -client.focused_inactive #14171d #14171d #ffffff #4d4754 #14171d -client.unfocused #14171d #14171d #ffffff #4d4754 #14171d -client.urgent #a63a3a #a63a3a #ffffff #cc5c5c #a63a3a -client.placeholder #14171d #14171d #ffffff #14171d #14171d - -client.background #14171d +# class border backgr. text indicator child_border +client.background #14171d +client.focused #4d4754 #14171d #ffffff #ada0a8 #4d4754 +client.focused_inactive #4d4754 #14171d #ffffff #4d4754 #14171d +client.focused_tab_title #4d4754 #14171d #ffffff +client.unfocused #14171d #14171d #ffffff #4d4754 #14171d +client.urgent #cc5c5c #a63a3a #ffffff #cc5c5c #a63a3a # Status Bar: bar swaybar_command waybar @@ -176,7 +181,9 @@ shadows on shadow_blur_radius 15 shadow_color #14171dff blur enable -layer_effects "waybar" blur enable; shadows enable; - +blur_radius 4 +blur_passes 2 +layer_effects "waybar" blur enable; shadows enable +layer_effects "wofi" blur enable; shadows enable include /etc/sway/config.d/* diff --git a/.config/wofi/style.css b/.config/wofi/style.css index 70eb5c3..1214aab 100644 --- a/.config/wofi/style.css +++ b/.config/wofi/style.css @@ -3,9 +3,13 @@ font-family: monospace; } +window { + opacity: 0.85; +} + #input { margin: 2px; - background-color: #14171d; + background-color: #4d4754; color: #c7c6c3; } @@ -15,7 +19,7 @@ #outer-box { padding: 2px; - background-color: #4d4754; + background-color: #14171d; } #scroll { diff --git a/.zshrc b/.zshrc index b54566f..beee46b 100755 --- a/.zshrc +++ b/.zshrc @@ -3,6 +3,16 @@ HISTSIZE=10000 SAVEHIST=10000 HISTFILE=~/.histfile +gpg-connect-agent updatestartuptty /bye &> /dev/null +export GPG_TTY=$(tty) +SSH_AUTH_SOCK="/run/user/$(id -u)/gnupg/S.gpg-agent.ssh" +export SSH_AUTH_SOCK +gpgconf --launch gpg-agent + +# opam configuration +[[ ! -r /home/trimill/.opam/opam-init/init.zsh ]] || source /home/trimill/.opam/opam-init/init.zsh > /dev/null 2> /dev/null +eval $(opam env) + setopt extendedglob bindkey -e tabs 4 @@ -61,6 +71,16 @@ ZSH_THEME_GIT_PROMPT_PREFIX="%F{13} [" ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%}" RPROMPT='[%(?.%F{10}.%F{9})%?%F{15}]' +# +# Window title +# +function precmd () { + printf "\e]0;%s\a" "$(basename "$PWD")$ zsh" +} +function preexec () { + printf "\e]0;%s\a" "$(basename "$PWD")$ $1" +} + # # Aliases # @@ -110,6 +130,8 @@ alias ssht="ssh -D 1080" alias irc="ssh -t apiaceae tmux attach -t weechat" alias firefox=librewolf +alias e="emacs -nw" + # # Todo # @@ -118,3 +140,7 @@ todomsg=$(todo) [ "$todomsg" != "" ] && printf "TODO: \n%s\n" "$todomsg" return 0 + + +# Load Angular CLI autocompletion. +source <(ng completion script)