From 41d249ca548d15ca0b491313c50634069d5df1c4 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Thu, 28 Mar 2024 13:02:51 -0400 Subject: Small changes --- .bashrc | 1 + .config/gtk-3.0/settings.ini | 2 ++ .config/sway/config | 16 ++++++++++++++-- .gnupg/gpg-agent.conf | 6 ------ .local/share/dbus-1/services/dunst.service | 3 --- .local/share/icons/default/index.theme | 2 ++ .profile | 2 +- 7 files changed, 20 insertions(+), 12 deletions(-) create mode 100644 .config/gtk-3.0/settings.ini delete mode 100644 .local/share/dbus-1/services/dunst.service create mode 100644 .local/share/icons/default/index.theme diff --git a/.bashrc b/.bashrc index 298bddd..039b88c 100644 --- a/.bashrc +++ b/.bashrc @@ -131,6 +131,7 @@ alias cp="cp -iv" alias mbsync='mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc' alias getmail='getmail --getmaildir "$XDG_CONFIG_HOME"/getmail --rcfile getmailrc' alias m="mbsync csclub; mbsync kelar; mbsync shemshak; mbsync gnub; getmail" +alias mc="mbsync canonical; m" # alias e="$EDITOR" alias se="SUDO_EDITOR=\"emacsclient\" sudo -e" diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini new file mode 100644 index 0000000..ac00256 --- /dev/null +++ b/.config/gtk-3.0/settings.ini @@ -0,0 +1,2 @@ +[Settings] +gtk-cursor-theme-name=DMZ-White diff --git a/.config/sway/config b/.config/sway/config index 9cf7b36..cedb123 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -141,6 +141,16 @@ mode "resize" { } bindsym $mod+r mode "resize" +mode notifications { + bindsym Return exec makoctl invoke; exec makoctl dismiss; mode default + bindsym d exec makoctl dismiss + bindsym Shift+d exec makoctl dismiss -a; mode default + bindsym r exec makoctl restore + bindsym Escape mode default + bindsym q mode default +} +bindsym $mod+n mode notifications + bar { position bottom @@ -155,6 +165,7 @@ bar { } seat seat0 hide_cursor 5000 +seat seat0 xcursor_theme DMZ-White default_border pixel 4 hide_edge_borders smart @@ -177,9 +188,10 @@ for_window [app_id="firefox" title="Choose User Profile"] \ for_window [app_id="firefox" title="Sharing Indicator"] \ floating enable, kill -include ~/.config/sway/`hostname` - +exec mako >/tmp/mako.log 2>&1 exec dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK exec pacify-pulseaudio exec [ -x "$(command -v nm-applet)" ] && nm-applet exec sleep 1 && xrdb -merge ~/.Xresources + +include ~/.config/sway/"$(hostname)" diff --git a/.gnupg/gpg-agent.conf b/.gnupg/gpg-agent.conf index 0f3242d..2503a1b 100644 --- a/.gnupg/gpg-agent.conf +++ b/.gnupg/gpg-agent.conf @@ -1,9 +1,3 @@ -default-cache-ttl 10000000 -max-cache-ttl 10000000 - -# default-cache-ttl-ssh 43200 -# max-cache-ttl-ssh 86400 - # pinentry-program /home/bandali/.guix-profile/bin/pinentry-emacs # pinentry-program /usr/bin/pinentry-gtk-2 # pinentry-program /usr/bin/pinentry-tty diff --git a/.local/share/dbus-1/services/dunst.service b/.local/share/dbus-1/services/dunst.service deleted file mode 100644 index 7e5c09f..0000000 --- a/.local/share/dbus-1/services/dunst.service +++ /dev/null @@ -1,3 +0,0 @@ -[D-BUS Service] -Name=org.freedesktop.Notifications -Exec=/usr/local/bin/dunst diff --git a/.local/share/icons/default/index.theme b/.local/share/icons/default/index.theme new file mode 100644 index 0000000..31691e7 --- /dev/null +++ b/.local/share/icons/default/index.theme @@ -0,0 +1,2 @@ +[icon theme] +Inherits=DMZ-White diff --git a/.profile b/.profile index 55ad595..1f12704 100644 --- a/.profile +++ b/.profile @@ -90,7 +90,7 @@ for p in $MY_GUIX_PROFILES/*; do unset profile done -export PATH="$HOME/u/local/bin:$HOME/.local/bin:$PATH" +export PATH="$HOME/.local/bin:$PATH" # start an ssh-agent (with guix's openssh) if [ -z "$IS_GUIX_SYSTEM" ]; then -- cgit v1.2.3-60-g2f50