Advertisement
samicrusader

Untitled

Apr 13th, 2023
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.70 KB | None | 0 0
  1. # samicrusader's i3 config
  2.  
  3. # Variables
  4. set $mod Mod1
  5. set $wsn1 "1:一"
  6. set $wsn2 "2:二"
  7. set $wsn3 "3:三"
  8. set $wsn4 "4:四"
  9. set $wsn5 "5:五"
  10. set $wsn6 "6:六"
  11. set $wsn7 "7:七"
  12. set $wsn8 "8:八"
  13. set $wsn9 "9:九"
  14. set $wsn10 "10:十"
  15. set $wallchange "/usr/bin/feh --bg-fill /home/samicrusader/Pictures/walls/mika.png /home/samicrusader/Pictures/walls/mika-mon3.png /home/samicrusader/Pictures/walls/mika-mon2.png"
  16. set $wallchange2 "/usr/bin/feh --bg-fill /home/samicrusader/Pictures/walls/kidsseeghosts.jpg"
  17.  
  18. # Customization
  19. font pango:Koruri 10
  20.  
  21. ## class border backgr. text indicator child_border
  22. #client.focused #000000 #060606 #42a0ff #000000 #000000
  23. #client.focused_inactive #060606 #363636 #ffffff #060606 #060606
  24. #client.unfocused #060606 #363636 #ffffff #060606 #060606
  25. #client.urgent #ff1212 #ff1212 #000000 #ff1212 #ff1212
  26. #client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
  27. #client.background #000000
  28.  
  29. ## class border backgr. text indicator child_border
  30. client.focused #000000 #060606 #ff0000 #000000 #000000
  31. client.focused_inactive #060606 #363636 #ffffff #060606 #060606
  32. client.unfocused #060606 #363636 #ffffff #060606 #060606
  33. client.urgent #ff1212 #ff1212 #000000 #ff1212 #ff1212
  34. client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
  35. client.background #000000
  36.  
  37. # Hotkeys
  38. floating_modifier $mod
  39.  
  40. ## Window control
  41. bindsym $mod+Left focus left
  42. bindsym $mod+Down focus down
  43. bindsym $mod+Up focus up
  44. bindsym $mod+Right focus right
  45. bindsym $mod+Shift+Left move left
  46. bindsym $mod+Shift+Down move down
  47. bindsym $mod+Shift+Up move up
  48. bindsym $mod+Shift+Right move right
  49. bindsym $mod+h split h
  50. bindsym $mod+v split v
  51. bindsym $mod+s layout stacking
  52. bindsym $mod+w layout tabbed
  53. bindsym $mod+e layout toggle split
  54. bindsym $mod+Shift+space floating toggle
  55. bindsym $mod+space focus mode_toggle
  56. bindsym $mod+Shift+1 move container to workspace $wsn1
  57. bindsym $mod+Shift+2 move container to workspace $wsn2
  58. bindsym $mod+Shift+3 move container to workspace $wsn3
  59. bindsym $mod+Shift+4 move container to workspace $wsn4
  60. bindsym $mod+Shift+5 move container to workspace $wsn5
  61. bindsym $mod+Shift+6 move container to workspace $wsn6
  62. bindsym $mod+Shift+7 move container to workspace $wsn7
  63. bindsym $mod+Shift+8 move container to workspace $wsn8
  64. bindsym $mod+Shift+9 move container to workspace $wsn9
  65. bindsym $mod+Shift+0 move container to workspace $wsn10
  66.  
  67. ## Workspace control
  68. bindsym $mod+1 workspace $wsn1
  69. bindsym $mod+2 workspace $wsn2
  70. bindsym $mod+3 workspace $wsn3
  71. bindsym $mod+4 workspace $wsn4
  72. bindsym $mod+5 workspace $wsn5
  73. bindsym $mod+6 workspace $wsn6
  74. bindsym $mod+7 workspace $wsn7
  75. bindsym $mod+8 workspace $wsn8
  76. bindsym $mod+9 workspace $wsn9
  77. bindsym $mod+0 workspace $wsn10
  78.  
  79. ## Desktop control
  80. bindsym $mod+Shift+c kill
  81. bindsym $mod+Shift+e exec $wallchange
  82. bindsym $mod+Shift+t exec $wallchange2
  83. bindsym $mod+Shift+r reload
  84. bindsym $mod+Shift+q exec "/home/samicrusader/.config/i3/logout.sh"
  85. bindsym $mod+Shift+w exec "/usr/bin/dm-tool lock"
  86.  
  87. ## Applications
  88. bindsym $mod+p exec "/usr/bin/xfce4-popup-whiskermenu -p"
  89. bindsym Mod4+r exec "/usr/local/bin/dmenu_run"
  90. bindsym Ctrl+Alt+t exec "/usr/bin/sakura"
  91. bindsym Ctrl+Shift+Escape exec "/usr/bin/xfce4-taskmanager"
  92.  
  93. ## Screenshot
  94. bindsym Print exec "/usr/bin/flameshot full -c"
  95. bindsym $mod+Sys_Req exec "/usr/bin/deepin-screen-recorder --shot --top-window"
  96. bindsym Shift+Print exec "/usr/bin/flameshot screen -c -n 0"
  97. bindsym Ctrl+Print exec "/usr/bin/flameshot gui -c"
  98.  
  99. # Window-specific tweaks
  100. for_window [class="steam_app_1182480"] floating enable
  101. for_window [class="steam_app_1222680"] floating enable
  102. for_window [instance="origin.exe"] floating enable
  103. for_window [class="Weston Compositor"] floating enable
  104. for_window [title=" - Wine desktop$"] floating enable
  105. for_window [class="ida.exe" title="About"] floating enable
  106. for_window [class="ida.exe" title="IDA: Quick start"] floating enable
  107. for_window [class="ida64.exe" title="About"] floating enable
  108. for_window [class="ida64.exe" title="IDA: Quick start"] floating enable
  109.  
  110. # Startup programs
  111. exec_always --no-startup-id /usr/bin/nvidia-settings --load-config-only
  112. #exec_always --no-startup-id /usr/bin/nvidia-settings -a '[gpu:0]/GPUFanControlState=1'
  113. #exec_always --no-startup-id /usr/bin/nvidia-settings -a '[fan:0]/GPUTargetFanSpeed=100'
  114. #exec_always --no-startup-id /usr/bin/nvidia-settings -a '[fan:1]/GPUTargetFanSpeed=100'
  115. exec_always --no-startup-id /usr/bin/picom -b
  116. exec_always --no-startup-id $wallchange
  117. exec_always --no-startup-id /usr/bin/xfsettingsd
  118. exec_always --no-startup-id /usr/bin/xfce4-session
  119. exec_always --no-startup-id /usr/bin/xfce4-panel
  120. exec_always --no-startup-id /usr/bin/gnome-keyring-daemon --start
  121. exec_always --no-startup-id /usr/bin/conky
  122. exec_always --no-startup-id /usr/bin/polychromatic-helper --autostart
  123. exec_always --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
  124. exec_always --no-startup-id /usr/bin/xscreensaver
  125. exec_always --no-startup-id /usr/bin/DesktopVideoUpdater
  126. exec_always --no-startup-id /usr/bin/1password --silent
  127. exec_always --no-startup-id /opt/bluemail/bluemail
  128. exec_always --no-startup-id /usr/bin/blueman-applet
  129. exec_always --no-startup-id /usr/bin/discord --start-minimized
  130. exec_always --no-startup-id /usr/bin/easyeffects --gapplication-service
  131. exec_always --no-startup-id /usr/bin/firewall-applet
  132. exec_always --no-startup-id /usr/bin/flameshot
  133. exec_always --no-startup-id /usr/bin/env KEYBASE_AUTOSTART=1 /usr/bin/run_keybase
  134. exec_always --no-startup-id /usr/bin/remmina -i
  135. exec_always --no-startup-id /usr/bin/signal-desktop --start-in-tray --use-tray-icon
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement