Compare commits
No commits in common. "c140a385501f0a7ca82c933c8f179740cf944a04" and "fbe77a7063c3a85450cb19a42a1a06f81911614f" have entirely different histories.
c140a38550
...
fbe77a7063
8 changed files with 25 additions and 97 deletions
|
@ -9,7 +9,7 @@ window:
|
||||||
y: 5
|
y: 5
|
||||||
decorations: full
|
decorations: full
|
||||||
dynamic_title: true
|
dynamic_title: true
|
||||||
opacity: 0.85
|
opacity: 0.90
|
||||||
|
|
||||||
font:
|
font:
|
||||||
normal:
|
normal:
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
<prefer>
|
<prefer>
|
||||||
<family>Twemoji</family>
|
<family>Twemoji</family>
|
||||||
<family>Font Awesome 6 Pro Regular</family>
|
<family>Font Awesome 6 Pro Regular</family>
|
||||||
<family>Liberation Serif</family>
|
|
||||||
<family>Times New Roman</family>
|
<family>Times New Roman</family>
|
||||||
<family>DejaVu Serif</family>
|
<family>DejaVu Serif</family>
|
||||||
</prefer>
|
</prefer>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
#
|
||||||
# Copy this to ~/.config/sway/config and edit it to your liking.
|
# Copy this to ~/.config/sway/config and edit it to your liking.
|
||||||
#
|
#
|
||||||
# Read `man 5 sway` for a complete reference.
|
# Read `man 5 sway` for a complete reference.
|
||||||
|
@ -22,12 +22,11 @@ exec --no-startup-id webcord.sh
|
||||||
exec --no-startup-id autotiling
|
exec --no-startup-id autotiling
|
||||||
exec --no-startup-id nm-applet --indicator
|
exec --no-startup-id nm-applet --indicator
|
||||||
exec --no-startup-id element.sh
|
exec --no-startup-id element.sh
|
||||||
exec --no-startup-id thunderbird
|
|
||||||
|
|
||||||
assign [app_id="thunderbird"] workspace number 9
|
assign [class="Element"] workspace number 8
|
||||||
assign [app_id="Element"] workspace number 9
|
assign [app_id="WebCord"] workspace number 9
|
||||||
|
|
||||||
workspace 1 output DP-3
|
workspace 1 output DP-1
|
||||||
workspace 9 output eDP-1
|
workspace 9 output eDP-1
|
||||||
|
|
||||||
for_window [app_id="scratch_term"] move scratchpad, resize set 960 640
|
for_window [app_id="scratch_term"] move scratchpad, resize set 960 640
|
||||||
|
@ -35,8 +34,6 @@ 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_cmus"] move scratchpad, resize set 960 640
|
||||||
for_window [app_id="scratch_htop"] 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
|
# gnome time
|
||||||
set $gnome-schema org.gnome.desktop.interface
|
set $gnome-schema org.gnome.desktop.interface
|
||||||
exec_always {
|
exec_always {
|
||||||
|
@ -48,19 +45,15 @@ exec_always {
|
||||||
|
|
||||||
# swaymsg -t get_outputs
|
# swaymsg -t get_outputs
|
||||||
output eDP-1 resolution 3840x2400 position 2133,0
|
output eDP-1 resolution 3840x2400 position 2133,0
|
||||||
output DP-3 resolution 2560x1440 position 0,0 scale 1.2
|
output DP-1 resolution 2560x1440 position 0,0 scale 1.2
|
||||||
#output eDP-1 resolution 3840x2400 position 1920,0
|
#output eDP-1 resolution 3840x2400 position 1920,0
|
||||||
#output DP-3 resolution 1920x1080 position 0,0
|
#output DP-1 resolution 1920x1080 position 0,0
|
||||||
|
|
||||||
input "type:keyboard" {
|
input "type:keyboard" {
|
||||||
xkb_layout uscustom
|
xkb_layout us
|
||||||
xkb_options compose:menu,caps:escape
|
xkb_options compose:menu,caps:escape
|
||||||
}
|
}
|
||||||
|
|
||||||
input "type:touchpad" {
|
|
||||||
tap enable
|
|
||||||
}
|
|
||||||
|
|
||||||
# Idle configuration
|
# Idle configuration
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 300 'swaylock -f -c 14171d' \
|
timeout 300 'swaylock -f -c 14171d' \
|
||||||
|
@ -156,11 +149,8 @@ bindsym $mod+Shift+l move right
|
||||||
bindsym $mod+Ctrl+l resize grow width 10px
|
bindsym $mod+Ctrl+l resize grow width 10px
|
||||||
|
|
||||||
bindsym $mod+c exec dmenu_kblayout
|
bindsym $mod+c exec dmenu_kblayout
|
||||||
bindsym $mod+Shift+c layout tabbed
|
|
||||||
bindsym $mod+v splitv
|
|
||||||
bindsym $mod+Shift+v layout splitv
|
|
||||||
bindsym $mod+b splith
|
bindsym $mod+b splith
|
||||||
bindsym $mod+Shift+b layout splith
|
bindsym $mod+v splitv
|
||||||
|
|
||||||
bindsym $mod+n exec pkill -USR1 gammastep || gammastep -O 4000
|
bindsym $mod+n exec pkill -USR1 gammastep || gammastep -O 4000
|
||||||
bindsym $mod+Shift+n exec pkill -USR1 gammastep || gammastep -O 2500
|
bindsym $mod+Shift+n exec pkill -USR1 gammastep || gammastep -O 2500
|
||||||
|
@ -169,25 +159,24 @@ bindgesture swipe:right workspace next
|
||||||
bindgesture swipe:left workspace prev
|
bindgesture swipe:left workspace prev
|
||||||
|
|
||||||
|
|
||||||
# class border backgr. text indicator child_border
|
# class border backgr. text indicator child_border
|
||||||
client.background #14171d
|
client.focused #4d4754 #14171d #ffffff #ada0a8 #4d4754
|
||||||
client.focused #4d4754 #14171d #ffffff #ada0a8 #4d4754
|
client.focused_inactive #14171d #14171d #ffffff #4d4754 #14171d
|
||||||
client.focused_inactive #4d4754 #14171d #ffffff #4d4754 #14171d
|
client.unfocused #14171d #14171d #ffffff #4d4754 #14171d
|
||||||
client.focused_tab_title #4d4754 #14171d #ffffff
|
client.urgent #a63a3a #a63a3a #ffffff #cc5c5c #a63a3a
|
||||||
client.unfocused #14171d #14171d #ffffff #4d4754 #14171d
|
client.placeholder #14171d #14171d #ffffff #14171d #14171d
|
||||||
client.urgent #cc5c5c #a63a3a #ffffff #cc5c5c #a63a3a
|
|
||||||
|
client.background #14171d
|
||||||
|
|
||||||
# Status Bar:
|
# Status Bar:
|
||||||
bar swaybar_command waybar
|
bar swaybar_command waybar
|
||||||
|
|
||||||
# SwayFX
|
# SwayFX
|
||||||
shadows enable
|
shadows on
|
||||||
shadow_blur_radius 15
|
shadow_blur_radius 15
|
||||||
shadow_color #14171dff
|
shadow_color #14171dff
|
||||||
blur enable
|
blur enable
|
||||||
blur_radius 4
|
layer_effects "waybar" blur enable; shadows enable;
|
||||||
blur_passes 2
|
|
||||||
layer_effects "waybar" blur enable; shadows enable
|
|
||||||
layer_effects "wofi" blur enable; shadows enable
|
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
|
@ -9,14 +9,12 @@
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"custom/cmus",
|
"custom/cmus",
|
||||||
"custom/newsboat",
|
"custom/newsboat",
|
||||||
"wireplumber",
|
|
||||||
"backlight",
|
|
||||||
"cpu",
|
"cpu",
|
||||||
"memory",
|
"memory",
|
||||||
"temperature",
|
"temperature",
|
||||||
"battery",
|
"battery",
|
||||||
"clock",
|
"clock",
|
||||||
"tray",
|
"tray"
|
||||||
],
|
],
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
|
@ -54,15 +52,6 @@
|
||||||
"format-warning": " {capacity}%",
|
"format-warning": " {capacity}%",
|
||||||
"format-critical": " {capacity}%"
|
"format-critical": " {capacity}%"
|
||||||
},
|
},
|
||||||
"wireplumber": {
|
|
||||||
"format": " {volume}",
|
|
||||||
"format-muted": " mute",
|
|
||||||
"on-click": "pavucontrol",
|
|
||||||
"ignored-sinks": ["Easy Effects Sink"]
|
|
||||||
},
|
|
||||||
"backlight": {
|
|
||||||
"format": " {percent}%"
|
|
||||||
},
|
|
||||||
"custom/cmus": {
|
"custom/cmus": {
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "$HOME/.config/waybar/custom_cmus.lua 2> /dev/null"
|
"exec": "$HOME/.config/waybar/custom_cmus.lua 2> /dev/null"
|
||||||
|
|
|
@ -62,7 +62,6 @@ button {
|
||||||
#backlight,
|
#backlight,
|
||||||
#network,
|
#network,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#wireplumber,
|
|
||||||
#custom-media,
|
#custom-media,
|
||||||
#tray,
|
#tray,
|
||||||
#mode,
|
#mode,
|
||||||
|
@ -70,7 +69,6 @@ button {
|
||||||
#scratchpad,
|
#scratchpad,
|
||||||
#custom-cmus,
|
#custom-cmus,
|
||||||
#custom-newsboat,
|
#custom-newsboat,
|
||||||
#custom-unixtime,
|
|
||||||
#mpd {
|
#mpd {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
border-right: 1px solid #4d4754;
|
border-right: 1px solid #4d4754;
|
||||||
|
@ -92,17 +90,6 @@ button {
|
||||||
margin: 0 4px;
|
margin: 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wireplumber {
|
|
||||||
color: #97bd5e;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wireplumber.muted {
|
|
||||||
color: #cc5c5c;
|
|
||||||
}
|
|
||||||
|
|
||||||
#backlight {
|
|
||||||
color: #f0c767;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
color: #97bd5e;
|
color: #97bd5e;
|
||||||
|
@ -136,10 +123,6 @@ button {
|
||||||
color: #de7e54;
|
color: #de7e54;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-unixtime {
|
|
||||||
color: #f0c767;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray > .passive {
|
#tray > .passive {
|
||||||
-gtk-icon-effect: dim;
|
-gtk-icon-effect: dim;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,13 +3,9 @@
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
window {
|
|
||||||
opacity: 0.85;
|
|
||||||
}
|
|
||||||
|
|
||||||
#input {
|
#input {
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
background-color: #4d4754;
|
background-color: #14171d;
|
||||||
color: #c7c6c3;
|
color: #c7c6c3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,7 +15,7 @@ window {
|
||||||
|
|
||||||
#outer-box {
|
#outer-box {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
background-color: #14171d;
|
background-color: #4d4754;
|
||||||
}
|
}
|
||||||
|
|
||||||
#scroll {
|
#scroll {
|
||||||
|
|
4
.zshenv
4
.zshenv
|
@ -13,10 +13,6 @@ export FILE=/bin/thunar
|
||||||
export PAGER=/bin/less
|
export PAGER=/bin/less
|
||||||
export TERMINAL=/bin/alacritty
|
export TERMINAL=/bin/alacritty
|
||||||
|
|
||||||
export XMODIFIERS=@im=fcitx
|
|
||||||
export GTK_IM_MODULE=fcitx
|
|
||||||
export QT_IM_MODULE=fcitx
|
|
||||||
|
|
||||||
export GNUPGHOME="$HOME/.config/gnupg"
|
export GNUPGHOME="$HOME/.config/gnupg"
|
||||||
export CARGO_HOME="$HOME/.local/share/cargo"
|
export CARGO_HOME="$HOME/.local/share/cargo"
|
||||||
export RUSTUP_HOME="$HOME/.local/share/rustup"
|
export RUSTUP_HOME="$HOME/.local/share/rustup"
|
||||||
|
|
28
.zshrc
28
.zshrc
|
@ -3,16 +3,6 @@ HISTSIZE=10000
|
||||||
SAVEHIST=10000
|
SAVEHIST=10000
|
||||||
HISTFILE=~/.histfile
|
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
|
setopt extendedglob
|
||||||
bindkey -e
|
bindkey -e
|
||||||
tabs 4
|
tabs 4
|
||||||
|
@ -44,6 +34,8 @@ man() {
|
||||||
man "$@"
|
man "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[ $NOEXIT ] && alias exit="echo Exiting is disabled"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Plugins
|
# Plugins
|
||||||
#
|
#
|
||||||
|
@ -69,16 +61,6 @@ ZSH_THEME_GIT_PROMPT_PREFIX="%F{13} ["
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%}"
|
ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%}"
|
||||||
RPROMPT='[%(?.%F{10}.%F{9})%?%F{15}]'
|
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
|
# Aliases
|
||||||
#
|
#
|
||||||
|
@ -128,8 +110,6 @@ alias ssht="ssh -D 1080"
|
||||||
alias irc="ssh -t apiaceae tmux attach -t weechat"
|
alias irc="ssh -t apiaceae tmux attach -t weechat"
|
||||||
alias firefox=librewolf
|
alias firefox=librewolf
|
||||||
|
|
||||||
alias e="emacs -nw"
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Todo
|
# Todo
|
||||||
#
|
#
|
||||||
|
@ -138,7 +118,3 @@ todomsg=$(todo)
|
||||||
[ "$todomsg" != "" ] && printf "TODO: \n%s\n" "$todomsg"
|
[ "$todomsg" != "" ] && printf "TODO: \n%s\n" "$todomsg"
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Load Angular CLI autocompletion.
|
|
||||||
source <(ng completion script)
|
|
||||||
|
|
Loading…
Reference in a new issue