Advertisement
Guest User

i3wm config

a guest
Apr 6th, 2018
438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.04 KB | None | 0 0
  1. #############################################
  2. # General Settings #
  3. #############################################
  4.  
  5. ## set $mod keys
  6. set $mod Mod4
  7. set $mod1 Mod1
  8.  
  9. ## Font for window titles.
  10. font pango:monospace 8
  11.  
  12. ## Use Mouse+$mod to drag floating windows to their wanted position
  13. floating_modifier $mod
  14.  
  15. ## kill focused window
  16. bindsym $mod+Shift+q kill
  17.  
  18. ## change focus
  19. bindsym $mod+j focus left
  20. bindsym $mod+k focus down
  21. bindsym $mod+l focus up
  22. bindsym $mod+ocircumflex focus right
  23.  
  24. ## alternatively, you can use the cursor keys:
  25. bindsym $mod+Left focus left
  26. bindsym $mod+Down focus down
  27. bindsym $mod+Up focus up
  28. bindsym $mod+Right focus right
  29.  
  30. ## move focused window
  31. bindsym $mod+Shift+j move left
  32. bindsym $mod+Shift+k move down
  33. bindsym $mod+Shift+l move up
  34. bindsym $mod+Shift+ocircumflex move right
  35.  
  36. ## alternatively, you can use the cursor keys:
  37. bindsym $mod+Shift+Left move left
  38. bindsym $mod+Shift+Down move down
  39. bindsym $mod+Shift+Up move up
  40. bindsym $mod+Shift+Right move right
  41.  
  42. ## split orientation
  43. bindsym $mod+h split h;exec notify-send 'Horizontálne rozloženie'
  44. bindsym $mod+v split v;exec notify-send 'Vertikálne rozloženie'
  45. bindsym $mod+q split toggle;exec notify-send 'Prepínač rozloženia'
  46.  
  47. #x enter fullscreen mode for the focused container
  48. bindsym $mod+f fullscreen toggle
  49. bindsym $mod+Shift+f fullscreen toggle global
  50.  
  51. ## change container layout (stacked, tabbed, toggle split)
  52. bindsym $mod+s layout stacking
  53. bindsym $mod+w layout tabbed
  54. bindsym $mod+e layout toggle split
  55.  
  56. ## toggle tiling / floating
  57. bindsym $mod+Shift+space floating toggle
  58. #bindsym $mod+Shift+space floating toggle, border pixel 2
  59.  
  60. ## change focus between tiling / floating windows
  61. bindsym $mod+space focus mode_toggle
  62.  
  63. # focus the parent container
  64. bindsym $mod+a focus parent
  65.  
  66. ## focus the child container
  67. #bindsym $mod+d focus child
  68.  
  69. ## reload the configuration file
  70. bindsym $mod+Shift+c reload
  71. ## restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  72. bindsym $mod+Shift+r restart
  73. ## exit i3 (logs you out of your X session)
  74. bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Skutočne chceš opustiť i3? Ukončíš tak súčasné sedenie.' -b 'Áno, opustiť i3' 'i3-msg exit'"
  75.  
  76. ## resize window (you can also use the mouse for that)
  77. mode "resize" {
  78. # These bindings trigger as soon as you enter the resize mode
  79.  
  80. # Pressing left will shrink the window’s width.
  81. # Pressing right will grow the window’s width.
  82. # Pressing up will shrink the window’s height.
  83. # Pressing down will grow the window’s height.
  84. bindsym j resize shrink width 5 px or 5 ppt
  85. bindsym k resize grow height 5 px or 5 ppt
  86. bindsym l resize shrink height 5 px or 5 ppt
  87. bindsym ocircumflex resize grow width 5 px or 5 ppt
  88.  
  89. # same bindings, but for the arrow keys
  90. bindsym Left resize shrink width 5 px or 5 ppt
  91. bindsym Down resize grow height 5 px or 5 ppt
  92. bindsym Up resize shrink height 5 px or 5 ppt
  93. bindsym Right resize grow width 5 px or 5 ppt
  94.  
  95. # back to normal: Enter or Escape
  96. bindsym Return mode "default"
  97. bindsym Escape mode "default"
  98. }
  99.  
  100. bindsym $mod+r mode "resize"
  101.  
  102.  
  103.  
  104. #############################################
  105. # Mouse bindings #
  106. #############################################
  107.  
  108. ## The middle button and a modifer kills the window
  109. bindsym --whole-window $mod+button2 kill
  110.  
  111. ## The right button and a modifer toggles floating
  112. bindsym --whole-window $mod+button3 floating toggle
  113.  
  114. ## The mousewheel and a modifer move the window around
  115. bindsym --whole-window $mod1+button4 move left
  116. bindsym --whole-window $mod1+button5 move right
  117.  
  118. ## The mousewheel and a modifer resize the window
  119. bindsym --whole-window $mod+button4 resize grow width 5 px or 5 ppt
  120. bindsym --whole-window $mod+button5 resize shrink width 5 px or 5 ppt
  121. bindsym --whole-window $mod+Shift+button4 resize grow height 5 px or 5 ppt
  122. bindsym --whole-window $mod+Shift+button5 resize shrink height 5 px or 5 ppt
  123.  
  124.  
  125.  
  126. #############################################
  127. # Workspaces #
  128. #############################################
  129.  
  130. ## workspaces from 1-10
  131. bindsym $mod+1 workspace 1
  132. bindsym $mod+2 workspace 2
  133. bindsym $mod+3 workspace 3
  134. bindsym $mod+4 workspace 4
  135. bindsym $mod+5 workspace 5
  136. bindsym $mod+6 workspace 6
  137. bindsym $mod+7 workspace 7
  138. bindsym $mod+8 workspace 8
  139. bindsym $mod+9 workspace 9
  140. bindsym $mod+0 workspace 10
  141.  
  142. ## workspaces from 11-20
  143. bindsym $mod+Ctrl+1 workspace 11
  144. bindsym $mod+Ctrl+2 workspace 12
  145. bindsym $mod+Ctrl+3 workspace 13
  146. bindsym $mod+Ctrl+4 workspace 14
  147. bindsym $mod+Ctrl+5 workspace 15
  148. bindsym $mod+Ctrl+6 workspace 16
  149. bindsym $mod+Ctrl+7 workspace 17
  150. bindsym $mod+Ctrl+8 workspace 18
  151. bindsym $mod+Ctrl+9 workspace 19
  152. bindsym $mod+Ctrl+0 workspace 20
  153.  
  154. ## specific worskpaces
  155. bindsym $mod+Ctrl+h workspace $WS1
  156. bindsym $mod+Ctrl+m workspace $WS2
  157. bindsym $mod+Ctrl+n workspace $WS3
  158. bindsym $mod+Ctrl+p workspace $WS4
  159. bindsym $mod+Ctrl+i workspace $WS5
  160. bindsym $mod+Ctrl+b workspace $WS6
  161. bindsym $mod+Ctrl+o workspace $WS7
  162. bindsym $mod+Ctrl+v workspace $WS10
  163. bindsym $mod+Ctrl+s workspace $WS11
  164.  
  165. ## switch to workspace
  166. bindsym $mod1+1 workspace 1
  167. bindsym $mod1+2 workspace 2
  168. bindsym $mod1+3 workspace 3
  169. bindsym $mod1+4 workspace 4
  170. bindsym $mod1+5 workspace 5
  171. bindsym $mod1+6 workspace 6
  172. bindsym $mod1+7 workspace 7
  173. bindsym $mod1+8 workspace 8
  174. bindsym $mod1+9 workspace 9
  175. bindsym $mod1+10 workspace 10
  176. bindsym $mod1+Ctrl+1 workspace 11
  177. bindsym $mod1+Ctrl+2 workspace 12
  178. bindsym $mod1+Ctrl+3 workspace 13
  179. bindsym $mod1+Ctrl+4 workspace 14
  180. bindsym $mod1+Ctrl+5 workspace 15
  181. bindsym $mod1+Ctrl+6 workspace 16
  182. bindsym $mod1+Ctrl+7 workspace 17
  183. bindsym $mod1+Ctrl+8 workspace 18
  184. bindsym $mod1+Ctrl+9 workspace 19
  185. bindsym $mod1+Ctrl+0 workspace 20
  186. bindsym $mod1+Ctrl+h workspace $WS1
  187. bindsym $mod1+Ctrl+m workspace $WS2
  188. bindsym $mod1+Ctrl+n workspace $WS3
  189. bindsym $mod1+Ctrl+p workspace $WS4
  190. bindsym $mod1+Ctrl+i workspace $WS5
  191. bindsym $mod1+Ctrl+b workspace $WS6
  192. bindsym $mod1+Ctrl+o workspace $WS7
  193. bindsym $mod1+Ctrl+v workspace $WS10
  194. bindsym $mod1+Ctrl+s workspace $WS11
  195.  
  196. ## move focused container to workspace
  197. bindsym $mod+Shift+1 move container to workspace 1
  198. bindsym $mod+Shift+2 move container to workspace 2
  199. bindsym $mod+Shift+3 move container to workspace 3
  200. bindsym $mod+Shift+4 move container to workspace 4
  201. bindsym $mod+Shift+5 move container to workspace 5
  202. bindsym $mod+Shift+6 move container to workspace 6
  203. bindsym $mod+Shift+7 move container to workspace 7
  204. bindsym $mod+Shift+8 move container to workspace 8
  205. bindsym $mod+Shift+9 move container to workspace 9
  206. bindsym $mod+Shift+10 move container to workspace 10
  207. bindsym $mod+Shift+Ctrl+1 move container to workspace 11
  208. bindsym $mod+Shift+Ctrl+2 move container to workspace 12
  209. bindsym $mod+Shift+Ctrl+3 move container to workspace 13
  210. bindsym $mod+Shift+Ctrl+4 move container to workspace 14
  211. bindsym $mod+Shift+Ctrl+5 move container to workspace 15
  212. bindsym $mod+Shift+Ctrl+6 move container to workspace 16
  213. bindsym $mod+Shift+Ctrl+7 move container to workspace 17
  214. bindsym $mod+Shift+Ctrl+8 move container to workspace 18
  215. bindsym $mod+Shift+Ctrl+9 move container to workspace 19
  216. bindsym $mod+Shift+Ctrl+10 move container to workspace 20
  217. bindsym $mod+Shift+Ctrl+h move container to workspace $WS1
  218. bindsym $mod+Shift+Ctrl+m move container to workspace $WS2
  219. bindsym $mod+Shift+Ctrl+n move container to workspace $WS3
  220. bindsym $mod+Shift+Ctrl+p move container to workspace $WS4
  221. bindsym $mod+Shift+Ctrl+i move container to workspace $WS5
  222. bindsym $mod+Shift+Ctrl+b move container to workspace $WS6
  223. bindsym $mod+Shift+Ctrl+o move container to workspace $WS7
  224. bindsym $mod+Shift+Ctrl+v move container to workspace $WS10
  225. bindsym $mod+Shift+Ctrl+s move container to workspace $WS11
  226.  
  227. ## set workspaces
  228. set $WS1 1:
  229. set $WS2 2:
  230. set $WS3 3:
  231. set $WS4 4:
  232. set $WS5 5:
  233. set $WS6 6:
  234. set $WS7 7:
  235. set $WS8 8:
  236. set $WS9 9:
  237. set $WS10 10:
  238. set $WS11 11:
  239. set $WS12 12:
  240.  
  241. ## navigate workspaces next / previous
  242. bindsym $mod+Ctrl+Right workspace next
  243. bindsym $mod+Ctrl+Left workspace prev
  244.  
  245.  
  246. #############################################
  247. # PulseAudio Settings #
  248. #############################################
  249.  
  250. ## increase sound volume
  251. bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.config/i3/Scripts/volume_dunst high && pkill -RTMIN+1 i3blocks
  252.  
  253. ## decrease sound volume
  254. bindsym XF86AudioLowerVolume exec --no-startup-id ~/.config/i3/Scripts/volume_dunst low && pkill -RTMIN+1 i3blocks
  255.  
  256. ## mute sound
  257. bindsym XF86AudioMute exec --no-startup-id ~/.config/i3/Scripts/volume_dunst mute && pkill -RTMIN+1 i3blocks
  258.  
  259.  
  260. ############################################
  261. # MOC Player Control #
  262. ############################################
  263.  
  264. bindsym XF86AudioPlay exec mocp --play-pause
  265. bindsym XF86AudioStop exec mocp --stop
  266. bindsym XF86AudioPrev exec mocp --previous
  267. bindsym XF86AudioNext exec mocp --next
  268. bindsym XF86Back exec mocp --previous
  269. bindsym XF86Forward exec mocp --next
  270.  
  271.  
  272. #########################################
  273. # i3bar Settings #
  274. #########################################
  275.  
  276. bar {
  277. i3bar_command i3bar -t
  278. status_command i3blocks -c ~/.config/i3/i3blocks.conf
  279. position top
  280. height 21
  281. workspace_buttons yes
  282. tray_output yes
  283. strip_workspace_numbers no
  284. bindsym button2 exec $HOME/.config/i3/Scripts/dmenu_history -i -p "Search >>" -fn 'Terminus-14:bold' -h 24 -w 1000 -x 340 -y 50 -nb '#303d44' -nf '#5994ad' -sb '#5994ad' -sf '#303d44'
  285. bindsym button3 exec $HOME/.config/i3/Scripts/morc_menu
  286. font pango:Hack 11
  287. colors {
  288. background #303d44ff
  289. statusline #303d44
  290. separator #303d44
  291. focused_workspace #5994ad #5994ad #303d44
  292. active_workspace #5994ad #5994ad #303d44
  293. inactive_workspace #303d44 #303d44 #5994ad
  294. urgent_workspace #303d44 #303d44 #4f6571
  295. }
  296. }
  297.  
  298.  
  299. #############################################
  300. # Theme colors #
  301. #############################################
  302.  
  303. ## class border backgr. text indicator child_border
  304. client.focused #5994ad #5994ad #eeeeee #5994ad #5994ad
  305. client.focused_inactive #5994ad #5994ad #eeeeee #5994ad #5994ad
  306. client.unfocused #303d44 #303d44 #eeeeee #303d44 #303d44
  307. client.urgent #d8d782 #d8d782 #eeeeee #d8d782 #d8d782
  308. client.placeholder #303d44 #303d44 #eeeeee #303d44 #303d44
  309. client.background #4f6571
  310.  
  311.  
  312. #############################################
  313. # Gaps Settings #
  314. #############################################
  315.  
  316. ## Window borders and gaps
  317. for_window [class="^.*"] border pixel 2
  318. new_window pixel 2
  319. new_float pixel 2
  320. hide_edge_borders smart
  321. smart_borders on
  322. gaps inner 6
  323. gaps outer 0
  324. font pango:Source Code Pro 12
  325.  
  326. # Press $mod+Shift+g to enter the gap mode. Choose o or i for modifying outer/inner gaps. Press one of + / - (in-/decrement for current workspace) or 0 (remove gaps for current workspace). If you also press Shift with these keys, the change will be global for all workspaces.
  327. set $mode_gaps Gaps: (o) outer, (i) inner
  328. set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
  329. set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
  330. bindsym $mod+Shift+g mode "$mode_gaps"
  331.  
  332. mode "$mode_gaps" {
  333. bindsym o mode "$mode_gaps_outer"
  334. bindsym i mode "$mode_gaps_inner"
  335. bindsym Return mode "default"
  336. bindsym Escape mode "default"
  337. }
  338. mode "$mode_gaps_inner" {
  339. bindsym plus gaps inner current plus 5
  340. bindsym minus gaps inner current minus 5
  341. bindsym 0 gaps inner current set 0
  342.  
  343. bindsym Shift+plus gaps inner all plus 5
  344. bindsym Shift+minus gaps inner all minus 5
  345. bindsym Shift+0 gaps inner all set 0
  346.  
  347. bindsym Return mode "default"
  348. bindsym Escape mode "default"
  349. }
  350. mode "$mode_gaps_outer" {
  351. bindsym plus gaps outer current plus 5
  352. bindsym minus gaps outer current minus 5
  353. bindsym 0 gaps outer current set 0
  354.  
  355. bindsym Shift+plus gaps outer all plus 5
  356. bindsym Shift+minus gaps outer all minus 5
  357. bindsym Shift+0 gaps outer all set 0
  358.  
  359. bindsym Return mode "default"
  360. bindsym Escape mode "default"
  361. }
  362.  
  363.  
  364. #############################################
  365. # Shutdown & Reboot & Logout #
  366. #############################################
  367.  
  368. set $powermenu (E)xit, (R)eboot, (P)oweroff
  369. bindsym $mod+Delete mode "$powermenu"
  370.  
  371. mode "$powermenu" {
  372. bindsym e exec --no-startup-id i3-msg exit, mode "default"
  373. #bindsym l exec --no-startup-id i3lock-fancy -g -f "Hack-Regular" -t "In the long run we are all dead.", mode "default"
  374. bindsym r exec --no-startup-id systemctl reboot, mode "default"
  375. bindsym p exec --no-startup-id systemctl poweroff, mode "default"
  376.  
  377. # back to normal: Enter or Escape
  378. bindsym Return mode "default"
  379. bindsym Escape mode "default"
  380. }
  381.  
  382.  
  383. #############################################
  384. # Autostart Applications #
  385. #############################################
  386.  
  387. #exec_always --no-startup-id $HOME/.config/polybar/launch.sh
  388. exec --no-startup-id i3-msg 'workspace $WS1; exec pcmanfm $HOME/Stiahnuté; workspace $WS2; exec xfce4-terminal --font=SourceCodeProforPowerline -e neomutt; workspace $WS3; exec xfce4-terminal --font=SourceCodeProforPowerline -e newsboat; workspace $WS1'
  389. #exec --no-startup-id nitrogen --restore
  390. exec --no-startup-id feh --bg-fill --no-xinerama ~/Obrázky/wallpaper.png
  391. exec --no-startup-id ~/.config/i3/Scripts/update_dunst
  392. #exec --no-startup-id compton --config ~/.config/compton-i3wm.conf
  393. #exec --no-startup-id nm-applet
  394.  
  395.  
  396. #############################################
  397. # Applications & Specific workspaces #
  398. #############################################
  399.  
  400. assign [class="^Firefox$"] $WS5
  401. assign [class="^Nightly$"] $WS5
  402. assign [class="^Pale moon$"] $WS5
  403. assign [class="^Google-chrome$"] $WS5
  404. assign [class="^Opera$"] $WS5
  405. assign [class="^Opera beta$"] $WS5
  406. assign [class="^Tixati$"] $WS6
  407. assign [class="^Hexchat$"] $WS6
  408. assign [class="^cz-vity-freerapid-core-MainApp$"] $WS6
  409. assign [class="^JDownloader$"] $WS6
  410. assign [class="^Wps$"] $WS7
  411. assign [class="^Et$"] $WS7
  412. assign [class="^Wpp$"] $WS7
  413. assign [class="^(?i)libreoffice-*"] $WS7
  414. assign [id="org.libreoffice"] $WS7
  415. assign [class="^Soffice*"] $WS7
  416. assign [class="Gimp" window_role = "gimp-image-window"] $WS8
  417. assign [class="Gimp" window_role = "gimp-preferences"] $WS8
  418. assign [class="Gimp" window_role="gimp-toolbox"] $WS9
  419. assign [class="Gimp" window_role="gimp-dock"] $WS9
  420.  
  421.  
  422. #############################################
  423. # Other keybinds #
  424. #############################################
  425.  
  426. bindsym $mod+Return exec exo-open --launch TerminalEmulator
  427. bindsym $mod+BackSpace exec exo-open --launch FileManager
  428. bindsym $mod+d exec $HOME/.config/i3/Scripts/dmenu_history -i -p "Search >>" -fn 'Terminus-14:bold' -h 24 -w 1000 -x 340 -y 50 -nb '#303d44' -nf '#5994ad' -sb '#5994ad' -sf '#303d44'
  429. bindsym $mod1+d exec $HOME/.config/i3/Scripts/morc_menu
  430. #bindsym $mod+d exec rofi -show run -sidebar-mode
  431. #bindsym $mod1+d exec jgmenu_run
  432. bindsym $mod+m exec xfce4-terminal --font=SourceCodeProforPowerline -e neomutt
  433. bindsym $mod+n exec xfce4-terminal --font=SourceCodeProforPowerline -e newsboat
  434. bindsym $mod+p exec xfce4-terminal --font=SourceCodeProforPowerline -e mocp
  435. bindsym $mod+i exec firefox
  436. bindsym $mod1+i exec google-chrome-stable
  437. bindsym $mod+Shift+i exec palemoon
  438. bindsym $mod1+Shift+i exec opera
  439. bindsym $mod+b exec tixati
  440. bindsym $mod+Shift+b exec JDownloader2
  441. bindsym $mod1+b exec freerapid
  442. #bindsym $mod1+Shift+b exec hexchat
  443. bindsym $mod+Shift+s exec mate-search-tool
  444. bindsym Print exec mate-screenshot --interactive
  445. bindsym $mod+Ctrl+Print exec "scrot -d 5 -q 100 ~/Obrázky/snímka_%Y-%m-%d_%H-%M-%S.png; exec notify-send 'Snímka plochy vytvorená'"
  446. bindsym $mod+Print exec "scrot -u -q 100 ~/Obrázky/snímka_%Y-%m-%d_%H-%M-%S.png; exec notify-send 'Snímka okna vytvorená'"
  447. bindsym $mod1+w exec feh --bg-fill ~/Obrázky/wallpaper.png
  448. bindsym $mod1+Delete exec "$HOME/.config/i3/Scripts/powermenu_dmenu"
  449. #bindsym $mod1+Delete exec "$HOME/.config/i3/Scripts/rofipower"
  450. #bindsym $mod1+v exec "$HOME/.config/i3/Scripts/vnstat_dunst"
  451. #bindsym $mod1+l exec "$HOME/.config/i3/Scripts/i3lock-fancy/lock -g -f "Hack-Regular" -t "In the long run we are all dead.""
  452. bindsym $mod1+s exec xfce4-terminal -H -x "$HOME/.config/i3/Scripts/sys-info-full"
  453. bindsym $mod1+Shift+s exec xfce4-terminal -H -x "$HOME/.config/i3/Scripts/sys-info"
  454. bindsym $mod1+c exec xfce4-terminal -H -x "$HOME/.config/i3/Scripts/color-scheme"
  455. bindsym $mod+x exec "xrandr --output HDMI-0 --mode 1920x1080 --rate 60.05 --output DVI-I-1 --mode 1366x768 --rate 59.79 --left-of HDMI-0 && nitrogen --restore; exec notify-send 'Sekundárny monitor pripojený'"
  456. bindsym $mod1+x exec "xrandr --output HDMI-0 --off --output DVI-I-1 --auto; exec notify-send 'Sekundárny monitor odpojený'"
  457. bindsym $mod1+Ctrl+d --release exec "killall dunst; exec notify-send 'Dunst reštartovaný'"
  458. bindsym $mod+Shift+d exec "gvfs-trash --empty; exec notify-send 'Kôš vyprázdnený'"
  459. bindsym $mod1+Shift+d exec "gvfs-trash $HOME/.cache/watch_later; exec notify-send 'História mpv odstránená'"
  460.  
  461. ## Multimedia keys
  462. bindsym XF86Mail exec xfce4-terminal --font=SourceCodeProforPowerline -e neomutt
  463. bindsym XF86HomePage exec xfce4-terminal --font=SourceCodeProforPowerline -e newsboat
  464. bindsym XF86Tools exec xfce4-terminal --font=SourceCodeProforPowerline -e mocp
  465. bindsym XF86Search exec firefox
  466.  
  467.  
  468. #############################################
  469. # Floating #
  470. #############################################
  471.  
  472. for_window [class="Pinentry"] floating enable
  473. for_window [class="Yad"] floating enable
  474. for_window [class="Pamac-install"] floating enable
  475. for_window [class="Lxappearance"] floating enable
  476. for_window [class="Pavucontrol"] floating enable
  477. for_window [class="Bleachbit"] floating enable
  478. for_window [class="mpv"] floating enable, border none
  479. for_window [class="Galculator"] floating enable
  480. for_window [class="mate-search-tool"] floating enable
  481. for_window [class ="Firefox" instance="Navigator"] floating disable
  482. for_window [class ="Firefox" instance="Places"] floating enable
  483. for_window [class ="Nightly" instance="Toplevel"] floating disable
  484. for_window [class ="Nightly" title="Knižnica"] floating enable
  485. for_window [class ="Pale moon" instance="Navigator"] floating disable
  486. for_window [class ="Pale moon" instance="Places"] floating enable
  487. for_window [class="Viewnior"] floating enable
  488. for_window [class="Evince"] floating enable
  489. for_window [instance="cz-vity-freerapid-core-MainApp"] floating disable
  490. for_window [instance="sun-awt-X11-XFramePeer"] floating disable
  491. for_window [instance="sun-awt-X11-XDialogPeer"] floating disable
  492. for_window [class="Gimp" window_role = "gimp-dock"] floating disable
  493. for_window [class="Gimp" window_role = "gimp-toolbox"] floating disable
  494. for_window [class="Gimp" window_role = "gimp-toolbox-color-dialog"] floating enable
  495.  
  496.  
  497. #############################################
  498. # Resize & Position & Move to worspace #
  499. #############################################
  500.  
  501. for_window [class="Viewnior"] resize set 1280 720
  502. for_window [class="Viewnior"] move absolute position 50 25
  503. for_window [class="Evince"] resize set 1150 700
  504. for_window [class="Evince"] move absolute position 10 25
  505. for_window [class="mate-search-tool"] resize set 850 550
  506. for_window [class="mate-search-tool"] move absolute position 250 100
  507. for_window [class="Pavucontrol"] resize set 850 550
  508. for_window [class="Pavucontrol"] move absolute position 250 100
  509. for_window [class="Pamac-install"] resize set 550 350
  510. for_window [class="Pamac-install"] move absolute position 450 200
  511. for_window [class ="Pale moon" instance="Places"] resize set 1024 600
  512. for_window [class ="Pale moon" instance="Places"] move absolute position 135 100
  513. for_window [class ="Firefox" instance="Places"] resize set 1024 600
  514. for_window [class ="Firefox" instance="Places"] move absolute position 135 100
  515. for_window [class ="Nightly" title="Knižnica"] resize set 1024 600
  516. for_window [class ="Nightly" title="Knižnica"] move absolute position 135 100
  517. for_window [class="Gimp" window_role = "gimp-file-open"] resize set 1024 600
  518. for_window [class="Gimp" window_role = "gimp-file-open"] move absolute position 135 100
  519. for_window [class="Gimp" window_role = "gimp-file-save"] resize set 1024 600
  520. for_window [class="Gimp" window_role = "gimp-file-save"] move absolute position 135 100
  521. for_window [class="Gimp" window_role = "gimp-file-export"] resize set 1024 600
  522. for_window [class="Gimp" window_role = "gimp-file-export"] move absolute position 135 100
  523. for_window [class="Gimp" window_role = "gimp-toolbox-color-dialog"] resize set 600 400
  524. for_window [class="Gimp" window_role = "gimp-toolbox-color-dialog"] move absolute position 135 100
  525. for_window [window_role = "GtkFileChooserDialog"] resize set 1024 600
  526. for_window [window_role = "GtkFileChooserDialog"] move absolute position 135 100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement