From 5cad0c945ff3d6e2e415c19dbff60df7e68500ac Mon Sep 17 00:00:00 2001 From: Antoine Phan Date: Thu, 12 Sep 2024 11:53:18 -0400 Subject: [PATCH] update configs --- alacritty/.config/alacritty/alacritty.toml | 11 +++++++---- dunst/.config/dunst/dunstrc | 20 +++++++++---------- gtk-3.0/.config/gtk-3.0/bookmarks | 5 +---- hypr/.config/hypr/hyprland.conf | 9 ++++++--- xinit/.xinitrc | 23 +++++++++++----------- zsh/.zshrc | 12 +++++------ 6 files changed, 41 insertions(+), 39 deletions(-) diff --git a/alacritty/.config/alacritty/alacritty.toml b/alacritty/.config/alacritty/alacritty.toml index 454529b..3595a95 100644 --- a/alacritty/.config/alacritty/alacritty.toml +++ b/alacritty/.config/alacritty/alacritty.toml @@ -1,10 +1,13 @@ import = [ - "~/.config/alacritty/themes/themes/deep_space.toml" + # "~/.config/alacritty/themes/themes/nord.toml" + # "~/.config/alacritty/themes/themes/enfocado_dark.toml" + "~/.config/alacritty/themes/themes/wombat.toml" + # "~/.config/alacritty/themes/themes/catppuccin_macchiato.toml" ] -[colors.cursor] -cursor = "CellForeground" -text = "CellBackground" +# [colors.cursor] +# cursor = "CellForeground" +# text = "CellBackground" # [colors.primary] # background = "#1d1f21" diff --git a/dunst/.config/dunst/dunstrc b/dunst/.config/dunst/dunstrc index 3c132c2..f3856fe 100644 --- a/dunst/.config/dunst/dunstrc +++ b/dunst/.config/dunst/dunstrc @@ -163,7 +163,7 @@ # %n progress value if set without any extra characters # %% Literal % # Markup is allowed - format = "%s%p" + format = "%s\n%b" # Alignment of message text. # Possible values are "left", "center" and "right". @@ -201,7 +201,7 @@ enable_recursive_icon_lookup = true # Set icon theme (only used for recursive icon lookup) - icon_theme = Adwaita + icon_theme = Tela-purple-dark, Adwaita # You can also set multiple icon themes, with the leftmost one being used first. # icon_theme = "Adwaita, breeze" @@ -212,10 +212,8 @@ # for e.g. small files or high-dpi screens. In case of conflict, # max_icon_size takes precedence over this. min_icon_size = 32 - - # Scale larger icons down to this size, set to 0 to disable - max_icon_size = 128 - + max_icon_size = 64 + # Paths to default icons (only neccesary when not using recursive icon lookup) icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ @@ -234,7 +232,7 @@ dmenu = /usr/bin/dmenu -p dunst: # Browser for opening urls in context menu. - browser = /usr/bin/xdg-open + browser = vivaldi-snapshot # Always run rule-defined scripts, even if the notification is suppressed always_run_script = true @@ -250,7 +248,7 @@ # corners. # The radius will be automatically lowered if it exceeds half of the # notification height to avoid clipping text and/or icons. - corner_radius = 12 + corner_radius = 10 # Ignore the dbus closeNotification message. # Useful to enforce the timeout set by dunst configuration. Without this @@ -315,14 +313,14 @@ # Otherwise the "#" and following would be interpreted as a comment. background = "#222222" foreground = "#888888" - timeout = 1 + timeout = 3 # Icon for notifications with low urgency, uncomment to enable #default_icon = /path/to/icon [urgency_normal] background = "#3b2e94ee" foreground = "#ffffff" - timeout = 1 + timeout = 7 # Icon for notifications with normal urgency, uncomment to enable #default_icon = /path/to/icon @@ -330,7 +328,7 @@ background = "#900000" foreground = "#ffffff" frame_color = "#ff0000" - timeout = 0 + timeout = 30 # Icon for notifications with critical urgency, uncomment to enable #default_icon = /path/to/icon diff --git a/gtk-3.0/.config/gtk-3.0/bookmarks b/gtk-3.0/.config/gtk-3.0/bookmarks index 1191f42..7a7e582 100644 --- a/gtk-3.0/.config/gtk-3.0/bookmarks +++ b/gtk-3.0/.config/gtk-3.0/bookmarks @@ -1,10 +1,7 @@ +file:///home/antoine/Partage/McGill/U3-F2024 file:///home/antoine/Partage/McGill/Extracurricular/ECSESS file:///home/antoine/Partage/Pictures -file:///home/antoine/Partage/Housing -file:///home/antoine/Documents/DoingTaxes -file:///home/antoine/Partage/SchengenVisa file:///home/antoine/Partage/ECHOES -file:///home/antoine/Music file:///home/antoine/Documents file:///home/antoine/Partage/McGill/Extracurricular/IEEE file:///home/antoine/Partage diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf index 51e6877..2541929 100644 --- a/hypr/.config/hypr/hyprland.conf +++ b/hypr/.config/hypr/hyprland.conf @@ -236,6 +236,9 @@ bind = , XF86AudioPlay, exec, playerctl play-pause binde = , XF86AudioNext, exec, playerctl next binde = , XF86AudioPrev, exec, playerctl previous +# Bluetooth +bind = $mainMod, B, exec, blueberry + bind = $mainMod, Z, exec, playerctl play-pause bind = $mainMod, X, exec, playerctl next @@ -266,9 +269,9 @@ env = GDK_BACKEND,wayland,x11,* env = QT_QPA_PLATFORM,wayland;xcb env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_QPA_PLATFORM,wayland;xcb -env = GTK_IM_MODULE, fcitx -env = QT_IM_MODULE, fcitx -env = XMODIFIERS, @im=fcitx +# env = GTK_IM_MODULE, fcitx +# env = QT_IM_MODULE, fcitx +# env = XMODIFIERS, @im=fcitx # NVIDIA #env = LIBVA_DRIVER_NAME,nvidia diff --git a/xinit/.xinitrc b/xinit/.xinitrc index 3859ad0..4112f86 100644 --- a/xinit/.xinitrc +++ b/xinit/.xinitrc @@ -28,17 +28,18 @@ if [ -f "$usermodmap" ]; then fi # start some nice programs -if [ -d /etc/X11/xinit/xinitrc.d ] ; then - for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do - [ -x "$f" ] && . "$f" - done - unset f -fi +# if [ -d /etc/X11/xinit/xinitrc.d ] ; then +# for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do +# [ -x "$f" ] && . "$f" +# done +# unset f +#fi # exec numlockx & -exec ibus-daemon -rxR & -export GTK_THEME=adw-gtk3-dark:dark +# exec ibus-daemon -rxR & +# export GTK_THEME=adw-gtk3-dark:dark -exec i3 -c /home/antoine/.config/i3/config -exec autorandr --change -exec autotiling & +# exec i3 -c /home/antoine/.config/i3/config +exec i3 +# exec autorandr --change +# exec autotiling & diff --git a/zsh/.zshrc b/zsh/.zshrc index a6cb179..3bea19b 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -99,11 +99,11 @@ then # Autostart Hyprland export GTK_THEME=adw-gtk3-dark:dark exec Hyprland -elif [ -z $DISPLAY ] && [ $(tty) = /dev/tty2 ] -then +# elif [ -z $DISPLAY ] && [ $(tty) = /dev/tty2 ] +# then # Autostart X at login for tty2, using i3 WM - export GTK_THEME=adw-gtk3-dark:dark - exec startx +# export GTK_THEME=adw-gtk3-dark:dark +# exec startx fi ## Auto start Wayland at login, using Sway on Wayland tty2 @@ -148,8 +148,8 @@ alias ibus-vn='ibus engine Bamboo' # export XMODIFIERS=@im=ibus export XMODIFIERS=@im=fcitx -export GTK_IM_MODULE=fcitx -export QT_IM_MODULE=fcitx +# export GTK_IM_MODULE=fcitx +# export QT_IM_MODULE=fcitx export GPG_TTY=$(tty)