浏览代码

do not set TERM

update sway floating windows
Casey DeLorme 1 周之前
父节点
当前提交
7767b283d5
共有 2 个文件被更改,包括 1 次插入5 次删除
  1. 0 1
      install/etc/skel/.bash_profile
  2. 1 4
      install/etc/skel/.config/sway/config

+ 0 - 1
install/etc/skel/.bash_profile

@@ -11,7 +11,6 @@ export XDG_DATA_DIRS="$XDG_DATA_DIRS:$HOME/.local/share"
 # set language, editor, augment history behavior, enable dynamic resize
 export LANG=en_US.UTF-8
 export LANGUAGE=en_US.UTF-8
-#export TERM=alacritty
 export TerminalEmulator=alacritty
 export EDITOR=/usr/bin/vim
 export BROWSER=/usr/bin/brave

+ 1 - 4
install/etc/skel/.config/sway/config

@@ -126,7 +126,7 @@ bindsym --release $mod+m exec pactl set-source-mute @DEFAULT_SOURCE@ 1 # unmute
 bindsym $mod+Shift+m exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
 
 # Tag xwayland windows with [X]
-for_window [shell="xwayland"] title_format "<span>[X] %title゜</span>"
+# for_window [shell="xwayland"] title_format "<span>[X] %title゜</span>"
 
 # classify sane defaults for window management
 for_window [window_role="About"] floating enable
@@ -139,7 +139,6 @@ for_window [window_role="Preferences"] floating enable
 for_window [window_type="dialog"] floating enable
 for_window [window_type="menu"] floating enable
 
-for_window [class="xdg-desktop-portal-kde"] floating enable
 for_window [class="Wine"] floating enable
 
 for_window [app_id="pavucontrol"] floating enable
@@ -148,8 +147,6 @@ for_window [app_id="floating"] floating enable
 for_window [title="(?i)(?:copying|deleting|moving)"] floating enable
 for_window [title="Save File"] floating enable
 for_window [title="^Open File$"] floating enable
-for_window [title="Firefox - Choose User Profile" ] floating enable
-for_window [title="About Mozilla Firefox"] floating enable
 
 # https://github.com/ValveSoftware/steam-for-linux/issues/1040
 for_window [class="^Steam$" title="^Friends$"] floating enable