zoukankan      html  css  js  c++  java
  • i3wm配置

    .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
  • 相关阅读:
    并发容器和框架之ConcurrentHashMap
    Java的LockSupport工具,Condition接口和ConditionObject
    从源码来看ReentrantLock和ReentrantReadWriteLock
    VMWARE虚拟机上Terminal中使用sudo出现”** 不在sudoers文件中,此事将被警告 “错误
    mac下idea运行项目慢问题解决
    Idea 只修改编辑区主题
    redis内部数据结构的数据结构
    mysql存储过程详解
    HashMap中resize()剖析
    谈Redis的refash的增量式扩容
  • 原文地址:https://www.cnblogs.com/fieldtianye/p/9651591.html
Copyright © 2011-2022 走看看