Compare commits

...

2 Commits

Author SHA1 Message Date
5861e2da9b
update zshrc 2020-09-07 17:41:54 +02:00
877b5069a6
update sway config 2020-09-07 15:20:53 +02:00
2 changed files with 28 additions and 8 deletions

@ -14,7 +14,8 @@ set {
$menu wofi --show drun | xargs swaymsg exec -- $menu wofi --show drun | xargs swaymsg exec --
$runmenu wofi --show run | xargs swaymsg exec -- $runmenu wofi --show run | xargs swaymsg exec --
$gnome-schema org.gnome.desktop.interface $gnome-schema org.gnome.desktop.interface
$gtk_theme "Adapta-Nokto-Eta" #$gtk_theme "Adapta-Nokto-Eta"
$gtk_theme "Matcha-dark-azul"
$icon_theme "Papirus-Dark" $icon_theme "Papirus-Dark"
$bg ~/Pictures/drain.png $bg ~/Pictures/drain.png
#$lockscreen exec '~/.local/bin/lockscreen' #$lockscreen exec '~/.local/bin/lockscreen'
@ -34,19 +35,24 @@ set {
# #
exec_always --no-startup-id { exec_always --no-startup-id {
pkill flashfocus pkill flashfocus
pkill autotiling
pulseaudio --daemonize
eval $(/usr/bin/gnome-keyring-daemon --start --components=ssh)
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
gsettings set $gnome-schema gtk-theme $gtk_theme gsettings set $gnome-schema gtk-theme $gtk_theme
gsettings set $gnome-schema icon-theme $icon_theme gsettings set $gnome-schema icon-theme $icon_theme
gsettings set $gnome-schema font-name 'Cantarell 10' gsettings set $gnome-schema font-name 'Cantarell 10'
gsettings set $gnome-schema monospace=font-name 'Anka/Coder 11' gsettings set $gnome-schema monospace=font-name 'Anka/Coder 11'
mako --anchor top-right > /tmp/mako.log 2>&1 mako --anchor top-right > /tmp/mako.log 2>&1
flashfocus flashfocus
autotiling
swaymsg focus output $primary swaymsg focus output $primary
evolution evolution
telegram-desktop Telegram
swayidle -w timeout 1200 exec $lockscreen\ swayidle -w timeout 1200 exec $lockscreen\
timeout 1201 'swaymsg "output * dpms off"'\ timeout 1201 'swaymsg "output * dpms off"'\
resume 'swaymsg "output * dpms on"'\ resume 'swaymsg "output * dpms on"'\
before-sleep exec $lockscreen before-sleep exec $lockscreen
} }
# #
@ -92,10 +98,10 @@ output * bg $bg fill
bindsym $mod+Shift+c reload bindsym $mod+Shift+c reload
# Exit sway (logs you out of your Wayland session) # Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e exec swaynag -t warning -m 'Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit' bindsym $mod+Shift+e exec wlogout #swaynag -t warning -m 'Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
#Lock the session #Lock the session
bindsym Control+Shift+l exec $lockscreen bindsym Control+alt+l exec $lockscreen
# #
# Program shortcuts # Program shortcuts
@ -227,7 +233,7 @@ bindsym {
# Assign programs to workspaces # Assign programs to workspaces
assign [app_id="evolution"] comm assign [app_id="evolution"] comm
assign [instance="telegram-desktop"] comm assign [app_id="telegramdesktop"] comm
# #
# Layout stuff: # Layout stuff:
# #

14
.zshrc

@ -45,6 +45,19 @@ COMPLETION_WAITING_DOTS="true"
# see 'man strftime' for details. # see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy" # HIST_STAMPS="mm/dd/yyyy"
# ssh auth stuffs
if [ ! -S ~/.ssh/ssh_auth_sock ]; then
eval `ssh-agent` > /dev/null
ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock
fi
export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock
ssh-add -l > /dev/null || ssh-add > /dev/null
if [ -n "$DESKTOP_SESSION" ];then
eval $(gnome-keyring-daemon --start --components=ssh)
export SSH_AUTH_SOCK
fi
# Would you like to use another custom folder than $ZSH/custom? # Would you like to use another custom folder than $ZSH/custom?
ZSH_CUSTOM=~/.config/zsh ZSH_CUSTOM=~/.config/zsh
@ -67,6 +80,7 @@ source $ZSH/oh-my-zsh.sh
# User configuration # User configuration
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
export MOZ_ENABLE_WAYLAND=1
# Compilation flags # Compilation flags
# export ARCHFLAGS="-arch x86_64" # export ARCHFLAGS="-arch x86_64"