From 0982f4c6551c90ba4b4093fb6ebf1ee2d6ffd7c4 Mon Sep 17 00:00:00 2001 From: Joachim Nielandt Date: Thu, 25 May 2023 10:02:22 +0200 Subject: [PATCH] Added work in progress --- dot_config/sway/config | 9 ++++++--- dot_config/sway/variables.conf | 2 +- dot_zshrc.tmpl | 7 +++++++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/dot_config/sway/config b/dot_config/sway/config index 4b04d40..f741caa 100644 --- a/dot_config/sway/config +++ b/dot_config/sway/config @@ -11,7 +11,8 @@ include $swaydir/settings.conf # Hide borders for single window hide_edge_borders smart -default_border normal +# default_border normal # border + title +default_border pixel # Font font pango:Hasklig Medium 9 @@ -21,6 +22,8 @@ font pango:Hasklig Medium 9 exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK exec hash dbus-update-activation-environment 2>/dev/null && \ dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK +# make idea work - should be fine now +exec wmname LG3D ### Idle configuration # @@ -145,8 +148,8 @@ bar swaybar_command waybar ################### exec --no-startup-id gammastep # overrule mako and start mako -# exec --no-startup-id pkill dunst -# exec --no-startup-id mako +exec --no-startup-id pkill dunst +exec --no-startup-id mako # start multi touch support exec --no-startup-id libinput-gestures-setup start # start greenclip, this somehow fails to start at launch (sometimes?) diff --git a/dot_config/sway/variables.conf b/dot_config/sway/variables.conf index 8b67d72..2cf73aa 100644 --- a/dot_config/sway/variables.conf +++ b/dot_config/sway/variables.conf @@ -133,7 +133,7 @@ set $scale_down $swayscripts/scale.sh down set $wlsunset '[ -x "$(command -v wlsunset)" ] && $swayscripts/scripts/sunset.sh "on"' #set $autotiling '[ -x "$(command -v autotiling-rs)" ] && autotiling-rs' #set $foot_server '[ -x "$(command -v foot)" ] && /usr/share/sway/scripts/foot.sh --server' -set $workspace_icons '[ -x "$(command -v sworkstyle)" ] && sworkstyle -d -l info &> /tmp/sworkstyle.log' +set $workspace_icons '[ -x "$(command -v sworkstyle)" ] && sworkstyle -d -l info -c $HOME/.config/sworkstyle/config.toml &> /tmp/sworkstyle.log' #set $mounting_daemon '[ -x "$(command -v pcmanfm)" ] && pcmanfm -d' ## restart kanshi https://github.com/emersion/kanshi/issues/43#issuecomment-531679213 #set $kanshi '[ -x "$(command -v kanshi)" ] && pkill kanshi; exec kanshi' diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 135c07a..92c8215 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -7,9 +7,13 @@ fi # set wayland specific settings if [ "$XDG_SESSION_TYPE" = "wayland" ]; then + # make firefox work export MOZ_ENABLE_WAYLAND=1 + # make idea work + wmname LG3D fi + # To check # Uncomment the following line to disable bi-weekly auto-update checks. # DISABLE_AUTO_UPDATE="true" @@ -84,6 +88,9 @@ if ! zgenom saved; then # This ZSH plugin enables using fzf to search your command history and do file searches. zgenom load unixorn/fzf-zsh-plugin + # Provide tips about aliases, give hint when using a command that has one + zgenom load djui/alias-tips + # generate the init script from plugins above zgenom save fi