i3wm配置
阿新 • • 發佈:2018-09-15
randomize util syn gre lsp def borde round sca
.devilspie配置
(if (contains (window_class) "Gnome-terminal" ) ( begin ( spawn_async (str "transset -i " (window_xid) " -t 0.8")) ) )
i3wm配置
#**************************************************主題設置********************************************* # 窗口顏色 邊框 背景 文字 提示 # client.focused #333333 #333333 #FFFFFF #333333 # client.focused_inactive #999999 #999999 #FFFFFF #3399FF # client.unfocused #999999 #999999 #FFFFFF #3399FF # client.urgent #990000 #990000 #FFFFFF #990000 # client.placeholder #000000 #000000 #FFFFFF #000000 # client.background #FFFFFF #i3bar設置 bar { status_command i3status i3bar_command i3bar-t height 30 #禁止systemtray tray_output none # 顯示位置top/bottom position bottom # 是否隱藏 # mode hide # 拆解工作區名(隱藏前面的1:2:3:……) strip_workspace_numbers yes # 定義分隔符∥? separator_symbol " | " colors { background #10101000 statusline #FFFFFF separator #3399FF # 工作區顏色 邊框 背景 文字 focused_workspace #3297FD #11111100 #FFFFFF active_workspace #FFFFFF #FFFFFF00 #FFFFFF inactive_workspace #111111 #11111100 #FFFFFF urgent_workspace #990000 #11111100 #FFFFFF binding_mode #990000 #99000000 #FFFFFF } } #********************************************i3-gaps********************************* for_window [class="^.*"] border pixel 0 gaps inner 8 gaps outer 6 set $mode_gaps Gaps: (o) outer, (i) inner set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) bindsym $mod+Shift+g mode "$mode_gaps" mode "$mode_gaps" { bindsym o mode "$mode_gaps_outer" bindsym i mode "$mode_gaps_inner" bindsym Return mode "default" bindsym Escape mode "default" } mode "$mode_gaps_inner" { bindsym plus gaps inner current plus 5 bindsym minus gaps inner current minus 5 bindsym 0 gaps inner current set 0 bindsym Shift+plus gaps inner all plus 5 bindsym Shift+minus gaps inner all minus 5 bindsym Shift+0 gaps inner all set 0 bindsym Return mode "default" bindsym Escape mode "default" } mode "$mode_gaps_outer" { bindsym plus gaps outer current plus 5 bindsym minus gaps outer current minus 5 bindsym 0 gaps outer current set 0 bindsym Shift+plus gaps outer all plus 5 bindsym Shift+minus gaps outer all minus 5 bindsym Shift+0 gaps outer all set 0 bindsym Return mode "default" bindsym Escape mode "default" } # exec_always --no-startup-id feh --bg-scale "/path/xxx.jpg" # wallpaper=~/Pictures/153561923466.jpg # feh --bg-scale --randomize $wallpaper exec_always --no-startup-id feh --bg-scale "/home/tianye/Pictures/1535619242840.jpg" exec_always --no-startup-id xcompmgr exec_always --no-startup-id devilspie -a exec i3-sensible-terminal exec i3-sensible-terminal exec chromium-browser exec goland #**************************************************工作區********************************************* #打開軟件時自動移至相應工作區,可用 xprop | grep WM_CLASS 命令獲取wm_class assign [class="Gnome-terminal"] 1 # assign [class="Firefox"] 2 assign [class="^Chromium-browser$"] 2 assign [class="^jetbrains-goland$"] 3 assign [class="Thunar"] 4 assign [class="Nautilus"] 4 assign [class="Gedit"] 5
i3wm配置