diff --git a/hosts/desktop/i3/layout.sh b/hosts/desktop/i3/layout.sh index 6507f64..31173fc 100644 --- a/hosts/desktop/i3/layout.sh +++ b/hosts/desktop/i3/layout.sh @@ -1,24 +1,10 @@ -# Exit layout script if Firefox or Discord is open, -# i3 has been reloaded -pgrep firefox || pgrep Discord && exit 0 - -# Switch to workspace 1 i3-msg workspace 1 -# Start up Firefox in the background firefox & -# Give Firefox some time to start up -sleep 1 -# Switch to workspace 2, load layout, and open blank space i3-msg "workspace 2; append_layout @tree@; open" -# Move blank space to appropriate space, -# i3 layout files don't support blank space for i in {1..4}; do i3-msg move left done -# Start up Discord in the background -discord & -# Open YouTube for music +discord firefox --new-window https://youtube.com -# Go back to primary workspace i3-msg workspace 1 diff --git a/hosts/desktop/i3/tree.json b/hosts/desktop/i3/tree.json index 0215807..c88ea20 100644 --- a/hosts/desktop/i3/tree.json +++ b/hosts/desktop/i3/tree.json @@ -7,10 +7,6 @@ "swallows": [{ "class": "^firefox$" }], "type": "con" }, - { - "swallows": [{ "title": "Discord Updater" }], - "type": "con" - }, { "swallows": [{ "class": "^discord$" }], "type": "con" diff --git a/modules/fcitx5/theme.conf b/modules/fcitx5/theme.conf index 636c50d..ac6f54e 100644 --- a/modules/fcitx5/theme.conf +++ b/modules/fcitx5/theme.conf @@ -5,8 +5,8 @@ ScaleWithDPI=True Font=Sans 13 NormalColor=@fg0@ HighlightCandidateColor=@fg1@; -HighlightColor=@fg0@ -HighlightBackgroundColor=@highlight@ +HighlightColor=@undefined@ +HighlightBackgroundColor=@undefined@ Spacing=3 [InputPanel/TextMargin]