32 changed files with 1482 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||||||
|
{ |
||||||
|
"1": "terminator", |
||||||
|
"2": "qtcreator || eclipse || emacs ", |
||||||
|
"3": "firefox", |
||||||
|
"4": "pcmanfm", |
||||||
|
"5": "thunderbird", |
||||||
|
"6": "slack || telegram", |
||||||
|
"7": "kodi", |
||||||
|
"8": "howl || kate || gedit", |
||||||
|
"9": "howl || kate || gedit", |
||||||
|
"0": "clementine", |
||||||
|
"vm": "virtualbox || openxenmanager" |
||||||
|
} |
||||||
@ -0,0 +1,612 @@ |
|||||||
|
|
||||||
|
#---------------------------------------------------------------- |
||||||
|
# DO NOT EDIT THIS FILE |
||||||
|
# |
||||||
|
# This file has been generated by rfreload script. |
||||||
|
# Source files can be edited before calling rfreload in: |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d |
||||||
|
# |
||||||
|
# Run 'rfreload -i' to print complete config file list. |
||||||
|
# |
||||||
|
# Use ${{<command>}} syntax to include shell command result |
||||||
|
# in configuration file content. Environment variables can be |
||||||
|
# added to <profile>/env file. Run 'rfreload' to reload |
||||||
|
# current profile. See 'rfreload --help' to learn more. |
||||||
|
# |
||||||
|
#---------------------------------------------------------------- |
||||||
|
|
||||||
|
|
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/01-variables: |
||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# variable definitions |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# what will be yout mod key? Use Mod4 for "window" key, Mod1 for "alt" |
||||||
|
set $mod Mod4 |
||||||
|
#set $mod Mod1 |
||||||
|
|
||||||
|
# helper scripts location |
||||||
|
set $scriptsDir /usr/share/ratflow/scripts |
||||||
|
|
||||||
|
# config dir |
||||||
|
set $configDir /home/chodak/.config/ratflow |
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/10-workspaces: |
||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# workspace settings |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# workspaces |
||||||
|
set $workspace1 1: >_ |
||||||
|
set $workspace2 2: dev |
||||||
|
set $workspace3 3: www |
||||||
|
set $workspace4 4: files |
||||||
|
set $workspace5 5: e-mail |
||||||
|
set $workspace6 6: IM |
||||||
|
set $workspace7 7: video |
||||||
|
set $workspace8 8: workspace |
||||||
|
set $workspace9 9: workspace |
||||||
|
set $workspace10 10: Music |
||||||
|
set $workspace11 V: VM |
||||||
|
|
||||||
|
# switch to workspace |
||||||
|
bindsym $mod+1 workspace $workspace1 |
||||||
|
bindsym $mod+2 workspace $workspace2 |
||||||
|
bindsym $mod+3 workspace $workspace3 |
||||||
|
bindsym $mod+4 workspace $workspace4 |
||||||
|
bindsym $mod+5 workspace $workspace5 |
||||||
|
bindsym $mod+6 workspace $workspace6 |
||||||
|
bindsym $mod+7 workspace $workspace7 |
||||||
|
bindsym $mod+8 workspace $workspace8 |
||||||
|
bindsym $mod+9 workspace $workspace9 |
||||||
|
bindsym $mod+0 workspace $workspace10 |
||||||
|
#bindsym $mod+Mod1+v workspace $workspace11 |
||||||
|
|
||||||
|
# move focused container to workspace |
||||||
|
bindsym $mod+Shift+1 move container to workspace $workspace1 |
||||||
|
bindsym $mod+Shift+2 move container to workspace $workspace2 |
||||||
|
bindsym $mod+Shift+3 move container to workspace $workspace3 |
||||||
|
bindsym $mod+Shift+4 move container to workspace $workspace4 |
||||||
|
bindsym $mod+Shift+5 move container to workspace $workspace5 |
||||||
|
bindsym $mod+Shift+6 move container to workspace $workspace6 |
||||||
|
bindsym $mod+Shift+7 move container to workspace $workspace7 |
||||||
|
bindsym $mod+Shift+8 move container to workspace $workspace8 |
||||||
|
bindsym $mod+Shift+9 move container to workspace $workspace9 |
||||||
|
bindsym $mod+Shift+0 move container to workspace $workspace10 |
||||||
|
|
||||||
|
# next/prev workspace |
||||||
|
bindsym $mod+x workspace next |
||||||
|
bindsym $mod+Shift+x move container to workspace next |
||||||
|
bindsym $mod+z workspace prev |
||||||
|
bindsym $mod+Shift+z move container to workspace prev |
||||||
|
|
||||||
|
# moving workspace across monitors |
||||||
|
bindsym $mod+Control+Left move workspace to output left |
||||||
|
bindsym $mod+Control+Right move workspace to output right |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/11-outputs: |
||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# video output management |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# monitors - use "xrandr --listmonitors" to obtain your output names |
||||||
|
set $rightOutput DP-1 |
||||||
|
set $leftOutput HDMI-1 |
||||||
|
|
||||||
|
# setup monitors |
||||||
|
exec --no-startup-id xrandr --output $rightOutput --primary |
||||||
|
exec --no-startup-id xrandr --output $leftOutput --left-of $rightOutput |
||||||
|
|
||||||
|
mode "outputs" { |
||||||
|
# mod + shift + 1 to turn off left monitor, mod + 1 to turn it on |
||||||
|
bindsym $mod+Shift+1 exec xrandr --output $leftOutput --off; mode "default"; restart |
||||||
|
bindsym $mod+1 exec xrandr --output $leftOutput --auto --left-of $rightOutput;mode "default"; restart |
||||||
|
|
||||||
|
# mod + shift + 2 to turn off right monitor, mod + 2 to turn it on |
||||||
|
bindsym $mod+Shift+2 exec xrandr --output $rightOutput --off; mode "default", restart |
||||||
|
bindsym $mod+2 exec xrandr --output $rightOutput --auto --right-of $leftOutput; mode "default"; restart |
||||||
|
|
||||||
|
|
||||||
|
bindsym Return mode "default" |
||||||
|
bindsym Escape mode "default" |
||||||
|
} |
||||||
|
|
||||||
|
bindsym $mod+m mode "outputs" |
||||||
|
|
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/13-wallpaper: |
||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# wallpaper settings |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# wallpapers (second for multihead) |
||||||
|
#set $wallpaper1 /usr/share/ratflow/images/rf_wp_06.jpg |
||||||
|
#set $wallpaper2 /usr/share/ratflow/images/rf_wp_06.jpg |
||||||
|
|
||||||
|
#set $wallpaper1 /home/chodak/Pictures/wallpapers/enso02.png |
||||||
|
#set $wallpaper2 /home/chodak/Pictures/wallpapers/enso02.png |
||||||
|
#set $wallpaper1 /home/chodak/.config/ratflow/basil02-up.jpeg |
||||||
|
#set $wallpaper2 /home/chodak/.config/ratflow/basil02-up.jpeg |
||||||
|
set $wallpaper1 /home/chodak/.config/ratflow/chill-idg2-s.jpeg |
||||||
|
set $wallpaper2 /home/chodak/.config/ratflow/chilli-idg2-s.jpeg |
||||||
|
|
||||||
|
# set wallpapers |
||||||
|
exec_always --no-startup-id sleep 2 && feh --bg-scale $wallpaper1 --bg-scale $wallpaper2 |
||||||
|
|
||||||
|
# apply xrandr settings |
||||||
|
exec_always --no-startup-id sleep 2 && xrandr --output $leftOutput --left-of $rightOutput |
||||||
|
|
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/20-keys-apps-core: |
||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# application running bindings |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# start a terminal |
||||||
|
#bindsym $mod+Return exec i3-sensible-terminal |
||||||
|
#bindsym $mod+Return exec terminator -p ratflow-terminator |
||||||
|
bindsym $mod+Return exec kitty |
||||||
|
|
||||||
|
# start dmenu (a program launcher) |
||||||
|
#bindsym $mod+d exec dmenu_run |
||||||
|
#bindsym Mod1+F2 exec dmenu_run |
||||||
|
|
||||||
|
#let's replace dmenu by custom launcher: |
||||||
|
bindsym $mod+d exec ulauncher |
||||||
|
bindsym Mod1+F2 exec ulauncher |
||||||
|
|
||||||
|
# run app assigned to current workspace |
||||||
|
bindsym $mod+Shift+a exec $scriptsDir/autoapp |
||||||
|
|
||||||
|
bindsym Ctrl+Mod1+h exec diodon |
||||||
|
|
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/20-keys-wm: |
||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# window management bindings |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# Use Mouse+$mod to drag floating windows to their wanted position |
||||||
|
floating_modifier $mod |
||||||
|
|
||||||
|
# kill focused window |
||||||
|
bindsym $mod+Shift+q kill |
||||||
|
|
||||||
|
# change focus |
||||||
|
bindsym $mod+j focus left |
||||||
|
bindsym $mod+k focus down |
||||||
|
bindsym $mod+l focus up |
||||||
|
bindsym $mod+semicolon focus right |
||||||
|
|
||||||
|
# alternatively, you can use the cursor keys: |
||||||
|
bindsym $mod+Left focus left |
||||||
|
bindsym $mod+Down focus down |
||||||
|
bindsym $mod+Up focus up |
||||||
|
bindsym $mod+Right focus right |
||||||
|
|
||||||
|
# move focused window |
||||||
|
bindsym $mod+Shift+j move left |
||||||
|
bindsym $mod+Shift+k move down |
||||||
|
bindsym $mod+Shift+l move up |
||||||
|
bindsym $mod+Shift+semicolon move right |
||||||
|
|
||||||
|
# alternatively, you can use the cursor keys: |
||||||
|
bindsym $mod+Shift+Left move left |
||||||
|
bindsym $mod+Shift+Down move down |
||||||
|
bindsym $mod+Shift+Up move up |
||||||
|
bindsym $mod+Shift+Right move right |
||||||
|
|
||||||
|
# nested split in horizontal orientation |
||||||
|
bindsym $mod+h split h |
||||||
|
|
||||||
|
# nested split in vertical orientation |
||||||
|
bindsym $mod+v split v |
||||||
|
|
||||||
|
# enter fullscreen mode for the focused container |
||||||
|
bindsym $mod+f fullscreen |
||||||
|
|
||||||
|
# change container layout (stacked, tabbed, toggle split) |
||||||
|
bindsym $mod+s layout stacking |
||||||
|
bindsym $mod+w layout tabbed |
||||||
|
bindsym $mod+e layout toggle split |
||||||
|
|
||||||
|
# toggle tiling / floating |
||||||
|
bindsym $mod+Shift+space floating toggle |
||||||
|
bindsym --whole-window $mod+button2 floating toggle |
||||||
|
|
||||||
|
# change focus between tiling / floating windows |
||||||
|
bindsym $mod+space focus mode_toggle |
||||||
|
|
||||||
|
# focus the parent container |
||||||
|
bindsym $mod+a focus parent |
||||||
|
|
||||||
|
|
||||||
|
# resize window (you can also use the mouse for that) |
||||||
|
mode "resize" { |
||||||
|
# These bindings trigger as soon as you enter the resize mode |
||||||
|
|
||||||
|
# Pressing left will shrink the window’s width. |
||||||
|
# Pressing right will grow the window’s width. |
||||||
|
# Pressing up will shrink the window’s height. |
||||||
|
# Pressing down will grow the window’s height. |
||||||
|
bindsym j resize shrink width 10 px or 10 ppt |
||||||
|
bindsym k resize grow height 10 px or 10 ppt |
||||||
|
bindsym l resize shrink height 10 px or 10 ppt |
||||||
|
bindsym semicolon resize grow width 10 px or 10 ppt |
||||||
|
|
||||||
|
# same bindings, but for the arrow keys |
||||||
|
bindsym Left resize shrink width 10 px or 10 ppt |
||||||
|
bindsym Down resize grow height 10 px or 10 ppt |
||||||
|
bindsym Up resize shrink height 10 px or 10 ppt |
||||||
|
bindsym Right resize grow width 10 px or 10 ppt |
||||||
|
|
||||||
|
# back to normal: Enter or Escape |
||||||
|
bindsym Return mode "default" |
||||||
|
bindsym Escape mode "default" |
||||||
|
} |
||||||
|
|
||||||
|
bindsym $mod+r mode "resize" |
||||||
|
|
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/21-always-float: |
||||||
|
|
||||||
|
bindsym $mod+Shift+f exec $scriptsDir/always-float |
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/21-keys-apps: |
||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# application running bindings |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# calendar |
||||||
|
bindsym $mod+c exec osmo -c |
||||||
|
|
||||||
|
# screenshots (full, region, active) |
||||||
|
bindsym Print exec screengrab --fullscreen |
||||||
|
bindsym Shift+Print exec screengrab --region |
||||||
|
bindsym Control+Print exec screengrab --active |
||||||
|
|
||||||
|
# redshift |
||||||
|
bindsym $mod+Control+Next exec $scriptsDir/redshift-adjust -100 |
||||||
|
bindsym $mod+Control+Prior exec $scriptsDir/redshift-adjust +100 |
||||||
|
bindsym $mod+Control+l exec bash -c 'pgrep redshift && killall redshift || redshift -x' |
||||||
|
|
||||||
|
# translation of selected text |
||||||
|
bindsym $mod+t exec bash -c "$scriptsDir/trans-xsel en:pl &" |
||||||
|
bindsym $mod+Shift+t exec bash -c "$scriptsDir/trans-xsel pl:en &" |
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/21-keys-imagemagick: |
||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# imagemagick bindings |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# silent screenshot of active window |
||||||
|
bindsym $mod+Shift+s exec bash -c 'mkdir $HOME/screenshots'; exec bash -c 'import -window "$(xdotool getwindowfocus -f)" $HOME/screenshots/$(date +%s).png' |
||||||
|
|
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/21-keys-media: |
||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# media player bindings |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
set $defaultAudioSink alsa_output.pci-0000_00_1b.0.analog-stereo |
||||||
|
|
||||||
|
# Pulse Audio controls |
||||||
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume $defaultAudioSink +5% |
||||||
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume $defaultAudioSink -5% |
||||||
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute $defaultAudioSink toggle |
||||||
|
|
||||||
|
# Sreen brightness controls |
||||||
|
bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness |
||||||
|
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness |
||||||
|
|
||||||
|
|
||||||
|
# Media player controls |
||||||
|
#bindsym XF86AudioPlay exec playerctl play |
||||||
|
#bindsym XF86AudioPause exec playerctl pause |
||||||
|
#bindsym XF86AudioNext exec playerctl next |
||||||
|
#bindsym XF86AudioPrev exec playerctl previous |
||||||
|
|
||||||
|
# Clementine player controls |
||||||
|
#bindsym XF86AudioPlay exec clementine --play-pause |
||||||
|
bindsym XF86AudioPlay exec playerctl play-pause |
||||||
|
#bindsym XF86AudioPause exec clementine --pause |
||||||
|
bindsym XF86AudioPause exec playerctl pause |
||||||
|
bindsym XF86AudioNext exec clementine --next |
||||||
|
bindsym XF86AudioPrev exec clementine --previous |
||||||
|
bindsym Shift+XF86AudioRaiseVolume exec clementine --volume-up |
||||||
|
bindsym Shift+XF86AudioLowerVolume exec clementine --volume-down |
||||||
|
|
||||||
|
bindsym $mod+b exec sleep 0.5 && xset dpms force off |
||||||
|
|
||||||
|
bindsym $mod+Mod1+r exec recordmydesktop -o ~/Pictures/recordmydesktop/$(date +%Y%m%d).ogv |
||||||
|
bindsym $mod+Shift+Mod1+r exec killall -SIGTERM recordmydesktop |
||||||
|
|
||||||
|
|
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/21-keys-session: |
||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# session/power management |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# regenerate and reload i3 configuration file |
||||||
|
bindsym $mod+Shift+c exec rfreload |
||||||
|
|
||||||
|
# regenerate i3 configuration file and restart i3 (preserves your layout/session, can be used to upgrade i3) |
||||||
|
bindsym $mod+Shift+r exec rfreload --restart |
||||||
|
|
||||||
|
# exit i3 (logs you out of your X session) |
||||||
|
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" |
||||||
|
|
||||||
|
# use i3exit script from https://github.com/giacomos/i3wm-config/blob/master/i3exit |
||||||
|
set $exitScript /usr/share/ratflow/scripts/i3exit |
||||||
|
|
||||||
|
mode "session_management" { |
||||||
|
bindsym l exec --no-startup-id $exitScript lock, mode "default" |
||||||
|
bindsym e exec --no-startup-id $exitScript logout, mode "default" |
||||||
|
bindsym s exec --no-startup-id $exitScript suspend, mode "default" |
||||||
|
bindsym h exec --no-startup-id $exitScript hibernate, mode "default" |
||||||
|
bindsym r exec --no-startup-id $exitScript reboot, mode "default" |
||||||
|
bindsym Shift+s exec --no-startup-id $exitScript shutdown, mode "default" |
||||||
|
|
||||||
|
# back to normal: Enter or Escape |
||||||
|
bindsym Return mode "default" |
||||||
|
bindsym Escape mode "default" |
||||||
|
} |
||||||
|
bindsym $mod+Pause mode "session_management" |
||||||
|
|
||||||
|
bindsym $mod+Escape exec systemctl suspend |
||||||
|
|
||||||
|
bindsym $mod+Shift+b exec xscreensaver-command -activate |
||||||
|
|
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/21-new-workspace: |
||||||
|
|
||||||
|
# create temporary workspace |
||||||
|
bindsym $mod+n exec name=$(yad --entry --splash --title "Create workspace" --text "Name of temporary workspace:") && i3-msg workspace $name |
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/30-theme: |
||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# appearance |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# font |
||||||
|
#set $fontName Source Sans Pro Semi-Bold |
||||||
|
set $fontName Bitstream Vera Sans |
||||||
|
#set $fontName Source Sans Pro Semi-Bold |
||||||
|
set $fontSize 10 |
||||||
|
set $barFontSize 10 |
||||||
|
|
||||||
|
# colors |
||||||
|
set $clFocusedActiveBorder #252525 |
||||||
|
set $clFocusedActiveBackground #252525 |
||||||
|
set $clFocusedActiveText #75B0D0 |
||||||
|
set $clFocusedInactiveBorder #101010 |
||||||
|
set $clFocusedinactiveBackground #101010 |
||||||
|
set $clFocusedInactiveText #606060 |
||||||
|
set $clUnfocusedBorder #101010 |
||||||
|
set $clUnfocusedBackground #000000 |
||||||
|
set $clUnfocusedText #606060 |
||||||
|
set $clUrgentBorder #F05000 |
||||||
|
set $clUrgentBackground #F05000 |
||||||
|
set $clUrgentText #F0F0F0 |
||||||
|
set $clIndicator #101010 |
||||||
|
|
||||||
|
|
||||||
|
# --------- fonts --------- |
||||||
|
|
||||||
|
# Font for window titles. Will also be used by the bar unless a different font |
||||||
|
# is used in the bar {} block below. |
||||||
|
|
||||||
|
font pango: $fontName $fontSize |
||||||
|
#font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 |
||||||
|
|
||||||
|
# This font is widely installed, provides lots of unicode glyphs, right-to-left |
||||||
|
# text rendering and scalability on retina/hidpi displays (thanks to pango). |
||||||
|
#font pango:DejaVu Sans Mono 8 |
||||||
|
|
||||||
|
|
||||||
|
# --------- windows --------- |
||||||
|
|
||||||
|
# Widow Colours |
||||||
|
# border background text indicator |
||||||
|
client.focused $clFocusedActiveBorder $clFocusedActiveBackground $clFocusedActiveText $clIndicator |
||||||
|
client.focused_inactive $clFocusedInactiveBorder $clFocusedinactiveBackground $clFocusedInactiveText $clIndicator |
||||||
|
client.unfocused $clUnfocusedBorder $clUnfocusedBackground $clUnfocusedText $clIndicator |
||||||
|
client.urgent $clUrgentBorder $clUrgentBackground $clUrgentText $clIndicator |
||||||
|
|
||||||
|
|
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/31-bar: |
||||||
|
|
||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# i3 bar |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# Start i3bar to display a workspace bar (plus the system information i3status |
||||||
|
# finds out, if available) |
||||||
|
bar { |
||||||
|
position top |
||||||
|
i3bar_command i3bar -t |
||||||
|
status_command py3status -c $configDir/profiles/current/py3status.conf |
||||||
|
font xft:$fontName, FontAwesome $barFontsize |
||||||
|
tray_padding 0 |
||||||
|
|
||||||
|
#Use tray_output primary/none/<output name> to define where the tray should be (multiple tray_output can be used) |
||||||
|
#Remember to set any of your displays to primary (i.e. using xrandr) |
||||||
|
tray_output primary |
||||||
|
|
||||||
|
colors { |
||||||
|
separator $clFocusedActiveText |
||||||
|
#background $clUnfocusedBackground |
||||||
|
background #00000070 |
||||||
|
#statusline #FFFFFF99 |
||||||
|
statusline $clFocusedActiveText |
||||||
|
|
||||||
|
# border background text |
||||||
|
focused_workspace $clFocusedActiveBackground $clFocusedActiveBackground $clFocusedActiveText |
||||||
|
active_workspace $clFocusedActiveBorder $clFocusedActiveBackground $clFocusedActiveText |
||||||
|
inactive_workspace $clUnfocusedBackground $clUnfocusedBackground $clUnfocusedText |
||||||
|
urgent_workspace $clUrgentBorder $clUrgentBackground $clUrgentText |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/40-assignments: |
||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# assign applications to workspaces |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
assign [class="Qtcreator"] $workspace2 |
||||||
|
assign [class="Eclipse"] $workspace2 |
||||||
|
#assign [class="Kate"] $workspace2 |
||||||
|
#assign [class="Gedit"] $workspace2 |
||||||
|
#assign [class="Emacs"] $workspace2 |
||||||
|
|
||||||
|
assign [class="Iceweasel"] $workspace3 |
||||||
|
assign [class="Firefox"] $workspace3 |
||||||
|
assign [class="Chromium-browser"] $workspace3 |
||||||
|
assign [class="Chrome"] $workspace3 |
||||||
|
|
||||||
|
assign [class="Pcmanfm"] $workspace4 |
||||||
|
assign [class="Dolphin"] $workspace4 |
||||||
|
assign [class="Nautilus"] $workspace4 |
||||||
|
assign [class="Thunar"] $workspace4 |
||||||
|
|
||||||
|
assign [class="Thunderbird"] $workspace5 |
||||||
|
|
||||||
|
assign [class="Kadu"] $workspace6 |
||||||
|
assign [class="Skype"] $workspace6 |
||||||
|
assign [class="Pidgin"] $workspace6 |
||||||
|
assign [class="Kopete"] $workspace6 |
||||||
|
assign [class="Telegram"] $workspace6 |
||||||
|
|
||||||
|
#assign [class="Smplayer"] $workspace7 |
||||||
|
#assign [class="Smplayer2"] $workspace7 |
||||||
|
#assign [class="Mplayer"] $workspace7 |
||||||
|
#assign [class="Vlc"] $workspace7 |
||||||
|
#assign [class="dragonplayer"] $workspace7 |
||||||
|
assign [class="Kodi"] $workspace7 |
||||||
|
|
||||||
|
assign [class="Clementine"] $workspace10 |
||||||
|
assign [class="Rhythmbox"] $workspace10 |
||||||
|
assign [class="Spotify"] $workspace10 |
||||||
|
|
||||||
|
assign [class="VirtualBox"] $workspace11 |
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/50-floating: |
||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# floating windows |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
for_window [class="Gsimplecal"] floating enable |
||||||
|
for_window [class="Osmo"] floating enable |
||||||
|
for_window [class="QNapi"] floating enable |
||||||
|
for_window [class="Vncviewer"] floating enable |
||||||
|
for_window [class="Yad"] floating enable |
||||||
|
for_window [class="graviglass-sim"] floating enable |
||||||
|
for_window [class="qhourglass"] floating enable |
||||||
|
for_window [class="screengrab"] floating enable |
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/90-exec: |
||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# autostart - login command execution |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# ensure that notification daemon is running |
||||||
|
exec --no-startup-id dunst |
||||||
|
|
||||||
|
# run window composer (with 2ms per step while faiding) |
||||||
|
exec --no-startup-id picom -f -D 2 -C --vsync |
||||||
|
#exec --no-startup-id compton --config ~/.config/compton.conf -b |
||||||
|
|
||||||
|
# enable touchpad with tapping and two-finger scroll |
||||||
|
exec --no-startup-id synclient TouchpadOff=0 |
||||||
|
exec --no-startup-id synclient TapButton1=1 |
||||||
|
exec --no-startup-id synclient VertTwoFingerScroll=1 |
||||||
|
exec --no-startup-id synclient VertHysteresis=30 |
||||||
|
exec --no-startup-id synclient HorizHysteresis=30 |
||||||
|
|
||||||
|
# tune down screen colors with redshift |
||||||
|
# exec --no-startup-id redshift -l 52.43:15.15 -m randr |
||||||
|
|
||||||
|
# run network manager |
||||||
|
exec --no-startup-id nm-applet |
||||||
|
|
||||||
|
# run clipboard manager |
||||||
|
# exec --no-startup-id bash -c "/usr/bin/clipit &" |
||||||
|
exec --no-startup-id bash -c "/usr/bin/diodon &" |
||||||
|
#exec --no-startup-id clipit |
||||||
|
#exec --no-startup-id qlipper |
||||||
|
|
||||||
|
# run bluetooth manager |
||||||
|
#exec blueman-applet |
||||||
|
|
||||||
|
# run tray icon with calendar |
||||||
|
#exec gtrayicon --activate="gsimplecal" --deactivate="killall gsimplecal" --activate-icon="/usr/share/ratflow/icons/cal-activate.png" --deactivate-icon="/usr/share/ratflow/icons/cal-deactivate.png" |
||||||
|
|
||||||
|
# other autostart apps |
||||||
|
#exec terminator -p ratflow-terminator |
||||||
|
#exec pcmanfm |
||||||
|
#exec firefox |
||||||
|
#exec thunderbird |
||||||
|
|
||||||
|
|
||||||
|
################################################################# |
||||||
|
# /home/chodak/.config/ratflow/profiles/current/config.d/91-exec_always: |
||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# autostart - (re)load command execution |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
|
||||||
@ -0,0 +1,15 @@ |
|||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# variable definitions |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# what will be yout mod key? Use Mod4 for "window" key, Mod1 for "alt" |
||||||
|
set $mod ${{echo $RF_MOD_KEY}} |
||||||
|
#set $mod Mod1 |
||||||
|
|
||||||
|
# helper scripts location |
||||||
|
set $scriptsDir /usr/share/ratflow/scripts |
||||||
|
|
||||||
|
# config dir |
||||||
|
set $configDir ${{echo "$HOME/.config/ratflow"}} |
||||||
@ -0,0 +1,56 @@ |
|||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# workspace settings |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# workspaces |
||||||
|
set $workspace1 1: >_ |
||||||
|
set $workspace2 2: dev |
||||||
|
set $workspace3 3: www |
||||||
|
set $workspace4 4: files |
||||||
|
set $workspace5 5: e-mail |
||||||
|
set $workspace6 6: IM |
||||||
|
set $workspace7 7: video |
||||||
|
set $workspace8 8: workspace |
||||||
|
set $workspace9 9: workspace |
||||||
|
set $workspace10 10: Music |
||||||
|
set $workspace11 V: VM |
||||||
|
|
||||||
|
# switch to workspace |
||||||
|
bindsym $mod+1 workspace $workspace1 |
||||||
|
bindsym $mod+2 workspace $workspace2 |
||||||
|
bindsym $mod+3 workspace $workspace3 |
||||||
|
bindsym $mod+4 workspace $workspace4 |
||||||
|
bindsym $mod+5 workspace $workspace5 |
||||||
|
bindsym $mod+6 workspace $workspace6 |
||||||
|
bindsym $mod+7 workspace $workspace7 |
||||||
|
bindsym $mod+8 workspace $workspace8 |
||||||
|
bindsym $mod+9 workspace $workspace9 |
||||||
|
bindsym $mod+0 workspace $workspace10 |
||||||
|
#bindsym $mod+Mod1+v workspace $workspace11 |
||||||
|
|
||||||
|
# move focused container to workspace |
||||||
|
bindsym $mod+Shift+1 move container to workspace $workspace1 |
||||||
|
bindsym $mod+Shift+2 move container to workspace $workspace2 |
||||||
|
bindsym $mod+Shift+3 move container to workspace $workspace3 |
||||||
|
bindsym $mod+Shift+4 move container to workspace $workspace4 |
||||||
|
bindsym $mod+Shift+5 move container to workspace $workspace5 |
||||||
|
bindsym $mod+Shift+6 move container to workspace $workspace6 |
||||||
|
bindsym $mod+Shift+7 move container to workspace $workspace7 |
||||||
|
bindsym $mod+Shift+8 move container to workspace $workspace8 |
||||||
|
bindsym $mod+Shift+9 move container to workspace $workspace9 |
||||||
|
bindsym $mod+Shift+0 move container to workspace $workspace10 |
||||||
|
|
||||||
|
# next/prev workspace |
||||||
|
bindsym $mod+x workspace next |
||||||
|
bindsym $mod+Shift+x move container to workspace next |
||||||
|
bindsym $mod+z workspace prev |
||||||
|
bindsym $mod+Shift+z move container to workspace prev |
||||||
|
|
||||||
|
# moving workspace across monitors |
||||||
|
bindsym $mod+Control+Left move workspace to output left |
||||||
|
bindsym $mod+Control+Right move workspace to output right |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -0,0 +1,30 @@ |
|||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# video output management |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# monitors - use "xrandr --listmonitors" to obtain your output names |
||||||
|
set $rightOutput ${{xrandr | grep ' connected' | awk 'NR==2{print $1}'}} |
||||||
|
set $leftOutput ${{xrandr | grep ' connected' | awk 'NR==1{print $1}'}} |
||||||
|
|
||||||
|
# setup monitors |
||||||
|
exec --no-startup-id xrandr --output $rightOutput --primary |
||||||
|
exec --no-startup-id xrandr --output $leftOutput --left-of $rightOutput |
||||||
|
|
||||||
|
mode "outputs" { |
||||||
|
# mod + shift + 1 to turn off left monitor, mod + 1 to turn it on |
||||||
|
bindsym $mod+Shift+1 exec xrandr --output $leftOutput --off; mode "default"; restart |
||||||
|
bindsym $mod+1 exec xrandr --output $leftOutput --auto --left-of $rightOutput;mode "default"; restart |
||||||
|
|
||||||
|
# mod + shift + 2 to turn off right monitor, mod + 2 to turn it on |
||||||
|
bindsym $mod+Shift+2 exec xrandr --output $rightOutput --off; mode "default", restart |
||||||
|
bindsym $mod+2 exec xrandr --output $rightOutput --auto --right-of $leftOutput; mode "default"; restart |
||||||
|
|
||||||
|
|
||||||
|
bindsym Return mode "default" |
||||||
|
bindsym Escape mode "default" |
||||||
|
} |
||||||
|
|
||||||
|
bindsym $mod+m mode "outputs" |
||||||
|
|
||||||
@ -0,0 +1,23 @@ |
|||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# wallpaper settings |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# wallpapers (second for multihead) |
||||||
|
#set $wallpaper1 /usr/share/ratflow/images/rf_wp_06.jpg |
||||||
|
#set $wallpaper2 /usr/share/ratflow/images/rf_wp_06.jpg |
||||||
|
|
||||||
|
#set $wallpaper1 /home/chodak/Pictures/wallpapers/enso02.png |
||||||
|
#set $wallpaper2 /home/chodak/Pictures/wallpapers/enso02.png |
||||||
|
#set $wallpaper1 /home/chodak/.config/ratflow/basil02-up.jpeg |
||||||
|
#set $wallpaper2 /home/chodak/.config/ratflow/basil02-up.jpeg |
||||||
|
set $wallpaper1 /home/chodak/.config/ratflow/chill-idg2-s.jpeg |
||||||
|
set $wallpaper2 /home/chodak/.config/ratflow/chilli-idg2-s.jpeg |
||||||
|
|
||||||
|
# set wallpapers |
||||||
|
exec_always --no-startup-id sleep 2 && feh --bg-scale $wallpaper1 --bg-scale $wallpaper2 |
||||||
|
|
||||||
|
# apply xrandr settings |
||||||
|
exec_always --no-startup-id sleep 2 && xrandr --output $leftOutput --left-of $rightOutput |
||||||
|
|
||||||
@ -0,0 +1,24 @@ |
|||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# application running bindings |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# start a terminal |
||||||
|
#bindsym $mod+Return exec i3-sensible-terminal |
||||||
|
#bindsym $mod+Return exec terminator -p ratflow-terminator |
||||||
|
bindsym $mod+Return exec kitty |
||||||
|
|
||||||
|
# start dmenu (a program launcher) |
||||||
|
#bindsym $mod+d exec dmenu_run |
||||||
|
#bindsym Mod1+F2 exec dmenu_run |
||||||
|
|
||||||
|
#let's replace dmenu by custom launcher: |
||||||
|
bindsym $mod+d exec ulauncher |
||||||
|
bindsym Mod1+F2 exec ulauncher |
||||||
|
|
||||||
|
# run app assigned to current workspace |
||||||
|
bindsym $mod+Shift+a exec $scriptsDir/autoapp |
||||||
|
|
||||||
|
bindsym Ctrl+Mod1+h exec diodon |
||||||
|
|
||||||
@ -0,0 +1,87 @@ |
|||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# window management bindings |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# Use Mouse+$mod to drag floating windows to their wanted position |
||||||
|
floating_modifier $mod |
||||||
|
|
||||||
|
# kill focused window |
||||||
|
bindsym $mod+Shift+q kill |
||||||
|
|
||||||
|
# change focus |
||||||
|
bindsym $mod+j focus left |
||||||
|
bindsym $mod+k focus down |
||||||
|
bindsym $mod+l focus up |
||||||
|
bindsym $mod+semicolon focus right |
||||||
|
|
||||||
|
# alternatively, you can use the cursor keys: |
||||||
|
bindsym $mod+Left focus left |
||||||
|
bindsym $mod+Down focus down |
||||||
|
bindsym $mod+Up focus up |
||||||
|
bindsym $mod+Right focus right |
||||||
|
|
||||||
|
# move focused window |
||||||
|
bindsym $mod+Shift+j move left |
||||||
|
bindsym $mod+Shift+k move down |
||||||
|
bindsym $mod+Shift+l move up |
||||||
|
bindsym $mod+Shift+semicolon move right |
||||||
|
|
||||||
|
# alternatively, you can use the cursor keys: |
||||||
|
bindsym $mod+Shift+Left move left |
||||||
|
bindsym $mod+Shift+Down move down |
||||||
|
bindsym $mod+Shift+Up move up |
||||||
|
bindsym $mod+Shift+Right move right |
||||||
|
|
||||||
|
# nested split in horizontal orientation |
||||||
|
bindsym $mod+h split h |
||||||
|
|
||||||
|
# nested split in vertical orientation |
||||||
|
bindsym $mod+v split v |
||||||
|
|
||||||
|
# enter fullscreen mode for the focused container |
||||||
|
bindsym $mod+f fullscreen |
||||||
|
|
||||||
|
# change container layout (stacked, tabbed, toggle split) |
||||||
|
bindsym $mod+s layout stacking |
||||||
|
bindsym $mod+w layout tabbed |
||||||
|
bindsym $mod+e layout toggle split |
||||||
|
|
||||||
|
# toggle tiling / floating |
||||||
|
bindsym $mod+Shift+space floating toggle |
||||||
|
bindsym --whole-window $mod+button2 floating toggle |
||||||
|
|
||||||
|
# change focus between tiling / floating windows |
||||||
|
bindsym $mod+space focus mode_toggle |
||||||
|
|
||||||
|
# focus the parent container |
||||||
|
bindsym $mod+a focus parent |
||||||
|
|
||||||
|
|
||||||
|
# resize window (you can also use the mouse for that) |
||||||
|
mode "resize" { |
||||||
|
# These bindings trigger as soon as you enter the resize mode |
||||||
|
|
||||||
|
# Pressing left will shrink the window’s width. |
||||||
|
# Pressing right will grow the window’s width. |
||||||
|
# Pressing up will shrink the window’s height. |
||||||
|
# Pressing down will grow the window’s height. |
||||||
|
bindsym j resize shrink width 10 px or 10 ppt |
||||||
|
bindsym k resize grow height 10 px or 10 ppt |
||||||
|
bindsym l resize shrink height 10 px or 10 ppt |
||||||
|
bindsym semicolon resize grow width 10 px or 10 ppt |
||||||
|
|
||||||
|
# same bindings, but for the arrow keys |
||||||
|
bindsym Left resize shrink width 10 px or 10 ppt |
||||||
|
bindsym Down resize grow height 10 px or 10 ppt |
||||||
|
bindsym Up resize shrink height 10 px or 10 ppt |
||||||
|
bindsym Right resize grow width 10 px or 10 ppt |
||||||
|
|
||||||
|
# back to normal: Enter or Escape |
||||||
|
bindsym Return mode "default" |
||||||
|
bindsym Escape mode "default" |
||||||
|
} |
||||||
|
|
||||||
|
bindsym $mod+r mode "resize" |
||||||
|
|
||||||
@ -0,0 +1 @@ |
|||||||
|
bindsym $mod+Shift+f exec $scriptsDir/always-float |
||||||
@ -0,0 +1,22 @@ |
|||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# application running bindings |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# calendar |
||||||
|
bindsym $mod+c exec osmo -c |
||||||
|
|
||||||
|
# screenshots (full, region, active) |
||||||
|
bindsym Print exec screengrab --fullscreen |
||||||
|
bindsym Shift+Print exec screengrab --region |
||||||
|
bindsym Control+Print exec screengrab --active |
||||||
|
|
||||||
|
# redshift |
||||||
|
bindsym $mod+Control+Next exec $scriptsDir/redshift-adjust -100 |
||||||
|
bindsym $mod+Control+Prior exec $scriptsDir/redshift-adjust +100 |
||||||
|
bindsym $mod+Control+l exec bash -c 'pgrep redshift && killall redshift || redshift -x' |
||||||
|
|
||||||
|
# translation of selected text |
||||||
|
bindsym $mod+t exec bash -c "$scriptsDir/trans-xsel en:pl &" |
||||||
|
bindsym $mod+Shift+t exec bash -c "$scriptsDir/trans-xsel pl:en &" |
||||||
@ -0,0 +1,9 @@ |
|||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# imagemagick bindings |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# silent screenshot of active window |
||||||
|
bindsym $mod+Shift+s exec bash -c 'mkdir $HOME/screenshots'; exec bash -c 'import -window "$(xdotool getwindowfocus -f)" $HOME/screenshots/$(date +%s).png' |
||||||
|
|
||||||
@ -0,0 +1,40 @@ |
|||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# media player bindings |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
set $defaultAudioSink ${{pactl info | grep "Default Sink" | awk '{print $NF}' }} |
||||||
|
|
||||||
|
# Pulse Audio controls |
||||||
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume $defaultAudioSink +5% |
||||||
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume $defaultAudioSink -5% |
||||||
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute $defaultAudioSink toggle |
||||||
|
|
||||||
|
# Sreen brightness controls |
||||||
|
bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness |
||||||
|
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness |
||||||
|
|
||||||
|
|
||||||
|
# Media player controls |
||||||
|
#bindsym XF86AudioPlay exec playerctl play |
||||||
|
#bindsym XF86AudioPause exec playerctl pause |
||||||
|
#bindsym XF86AudioNext exec playerctl next |
||||||
|
#bindsym XF86AudioPrev exec playerctl previous |
||||||
|
|
||||||
|
# Clementine player controls |
||||||
|
#bindsym XF86AudioPlay exec clementine --play-pause |
||||||
|
bindsym XF86AudioPlay exec playerctl play-pause |
||||||
|
#bindsym XF86AudioPause exec clementine --pause |
||||||
|
bindsym XF86AudioPause exec playerctl pause |
||||||
|
bindsym XF86AudioNext exec clementine --next |
||||||
|
bindsym XF86AudioPrev exec clementine --previous |
||||||
|
bindsym Shift+XF86AudioRaiseVolume exec clementine --volume-up |
||||||
|
bindsym Shift+XF86AudioLowerVolume exec clementine --volume-down |
||||||
|
|
||||||
|
bindsym $mod+b exec sleep 0.5 && xset dpms force off |
||||||
|
|
||||||
|
bindsym $mod+Mod1+r exec recordmydesktop -o ~/Pictures/recordmydesktop/$(date +%Y%m%d).ogv |
||||||
|
bindsym $mod+Shift+Mod1+r exec killall -SIGTERM recordmydesktop |
||||||
|
|
||||||
|
|
||||||
@ -0,0 +1,36 @@ |
|||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# session/power management |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# regenerate and reload i3 configuration file |
||||||
|
bindsym $mod+Shift+c exec rfreload |
||||||
|
|
||||||
|
# regenerate i3 configuration file and restart i3 (preserves your layout/session, can be used to upgrade i3) |
||||||
|
bindsym $mod+Shift+r exec rfreload --restart |
||||||
|
|
||||||
|
# exit i3 (logs you out of your X session) |
||||||
|
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" |
||||||
|
|
||||||
|
# use i3exit script from https://github.com/giacomos/i3wm-config/blob/master/i3exit |
||||||
|
set $exitScript /usr/share/ratflow/scripts/i3exit |
||||||
|
|
||||||
|
mode "session_management" { |
||||||
|
bindsym l exec --no-startup-id $exitScript lock, mode "default" |
||||||
|
bindsym e exec --no-startup-id $exitScript logout, mode "default" |
||||||
|
bindsym s exec --no-startup-id $exitScript suspend, mode "default" |
||||||
|
bindsym h exec --no-startup-id $exitScript hibernate, mode "default" |
||||||
|
bindsym r exec --no-startup-id $exitScript reboot, mode "default" |
||||||
|
bindsym Shift+s exec --no-startup-id $exitScript shutdown, mode "default" |
||||||
|
|
||||||
|
# back to normal: Enter or Escape |
||||||
|
bindsym Return mode "default" |
||||||
|
bindsym Escape mode "default" |
||||||
|
} |
||||||
|
bindsym $mod+Pause mode "session_management" |
||||||
|
|
||||||
|
bindsym $mod+Escape exec systemctl suspend |
||||||
|
|
||||||
|
bindsym $mod+Shift+b exec xscreensaver-command -activate |
||||||
|
|
||||||
@ -0,0 +1,2 @@ |
|||||||
|
# create temporary workspace |
||||||
|
bindsym $mod+n exec name=$(yad --entry --splash --title "Create workspace" --text "Name of temporary workspace:") && i3-msg workspace $name |
||||||
@ -0,0 +1,52 @@ |
|||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# appearance |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# font |
||||||
|
#set $fontName Source Sans Pro Semi-Bold |
||||||
|
set $fontName Bitstream Vera Sans |
||||||
|
#set $fontName Source Sans Pro Semi-Bold |
||||||
|
set $fontSize 10 |
||||||
|
set $barFontSize 10 |
||||||
|
|
||||||
|
# colors |
||||||
|
set $clFocusedActiveBorder #252525 |
||||||
|
set $clFocusedActiveBackground #252525 |
||||||
|
set $clFocusedActiveText #75B0D0 |
||||||
|
set $clFocusedInactiveBorder #101010 |
||||||
|
set $clFocusedinactiveBackground #101010 |
||||||
|
set $clFocusedInactiveText #606060 |
||||||
|
set $clUnfocusedBorder #101010 |
||||||
|
set $clUnfocusedBackground #000000 |
||||||
|
set $clUnfocusedText #606060 |
||||||
|
set $clUrgentBorder #F05000 |
||||||
|
set $clUrgentBackground #F05000 |
||||||
|
set $clUrgentText #F0F0F0 |
||||||
|
set $clIndicator #101010 |
||||||
|
|
||||||
|
|
||||||
|
# --------- fonts --------- |
||||||
|
|
||||||
|
# Font for window titles. Will also be used by the bar unless a different font |
||||||
|
# is used in the bar {} block below. |
||||||
|
|
||||||
|
font pango: $fontName $fontSize |
||||||
|
#font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 |
||||||
|
|
||||||
|
# This font is widely installed, provides lots of unicode glyphs, right-to-left |
||||||
|
# text rendering and scalability on retina/hidpi displays (thanks to pango). |
||||||
|
#font pango:DejaVu Sans Mono 8 |
||||||
|
|
||||||
|
|
||||||
|
# --------- windows --------- |
||||||
|
|
||||||
|
# Widow Colours |
||||||
|
# border background text indicator |
||||||
|
client.focused $clFocusedActiveBorder $clFocusedActiveBackground $clFocusedActiveText $clIndicator |
||||||
|
client.focused_inactive $clFocusedInactiveBorder $clFocusedinactiveBackground $clFocusedInactiveText $clIndicator |
||||||
|
client.unfocused $clUnfocusedBorder $clUnfocusedBackground $clUnfocusedText $clIndicator |
||||||
|
client.urgent $clUrgentBorder $clUrgentBackground $clUrgentText $clIndicator |
||||||
|
|
||||||
|
|
||||||
@ -0,0 +1,35 @@ |
|||||||
|
|
||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# i3 bar |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# Start i3bar to display a workspace bar (plus the system information i3status |
||||||
|
# finds out, if available) |
||||||
|
bar { |
||||||
|
position top |
||||||
|
i3bar_command i3bar -t |
||||||
|
status_command py3status -c $configDir/profiles/current/py3status.conf |
||||||
|
font xft:$fontName, FontAwesome $barFontsize |
||||||
|
tray_padding 0 |
||||||
|
|
||||||
|
#Use tray_output primary/none/<output name> to define where the tray should be (multiple tray_output can be used) |
||||||
|
#Remember to set any of your displays to primary (i.e. using xrandr) |
||||||
|
tray_output primary |
||||||
|
|
||||||
|
colors { |
||||||
|
separator $clFocusedActiveText |
||||||
|
#background $clUnfocusedBackground |
||||||
|
background #00000070 |
||||||
|
#statusline #FFFFFF99 |
||||||
|
statusline $clFocusedActiveText |
||||||
|
|
||||||
|
# border background text |
||||||
|
focused_workspace $clFocusedActiveBackground $clFocusedActiveBackground $clFocusedActiveText |
||||||
|
active_workspace $clFocusedActiveBorder $clFocusedActiveBackground $clFocusedActiveText |
||||||
|
inactive_workspace $clUnfocusedBackground $clUnfocusedBackground $clUnfocusedText |
||||||
|
urgent_workspace $clUrgentBorder $clUrgentBackground $clUrgentText |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
@ -0,0 +1,42 @@ |
|||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# assign applications to workspaces |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
assign [class="Qtcreator"] $workspace2 |
||||||
|
assign [class="Eclipse"] $workspace2 |
||||||
|
#assign [class="Kate"] $workspace2 |
||||||
|
#assign [class="Gedit"] $workspace2 |
||||||
|
#assign [class="Emacs"] $workspace2 |
||||||
|
|
||||||
|
assign [class="Iceweasel"] $workspace3 |
||||||
|
assign [class="Firefox"] $workspace3 |
||||||
|
assign [class="Chromium-browser"] $workspace3 |
||||||
|
assign [class="Chrome"] $workspace3 |
||||||
|
|
||||||
|
assign [class="Pcmanfm"] $workspace4 |
||||||
|
assign [class="Dolphin"] $workspace4 |
||||||
|
assign [class="Nautilus"] $workspace4 |
||||||
|
assign [class="Thunar"] $workspace4 |
||||||
|
|
||||||
|
assign [class="Thunderbird"] $workspace5 |
||||||
|
|
||||||
|
assign [class="Kadu"] $workspace6 |
||||||
|
assign [class="Skype"] $workspace6 |
||||||
|
assign [class="Pidgin"] $workspace6 |
||||||
|
assign [class="Kopete"] $workspace6 |
||||||
|
assign [class="Telegram"] $workspace6 |
||||||
|
|
||||||
|
#assign [class="Smplayer"] $workspace7 |
||||||
|
#assign [class="Smplayer2"] $workspace7 |
||||||
|
#assign [class="Mplayer"] $workspace7 |
||||||
|
#assign [class="Vlc"] $workspace7 |
||||||
|
#assign [class="dragonplayer"] $workspace7 |
||||||
|
assign [class="Kodi"] $workspace7 |
||||||
|
|
||||||
|
assign [class="Clementine"] $workspace10 |
||||||
|
assign [class="Rhythmbox"] $workspace10 |
||||||
|
assign [class="Spotify"] $workspace10 |
||||||
|
|
||||||
|
assign [class="VirtualBox"] $workspace11 |
||||||
@ -0,0 +1,7 @@ |
|||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# floating windows |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
${{fdir="$HOME/.config/ratflow/profiles/current/config.d/floating.d" && test -d $fdir && cat $fdir/*.float}} |
||||||
@ -0,0 +1,45 @@ |
|||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# autostart - login command execution |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
# ensure that notification daemon is running |
||||||
|
exec --no-startup-id dunst |
||||||
|
|
||||||
|
# run window composer (with 2ms per step while faiding) |
||||||
|
exec --no-startup-id picom -f -D 2 -C --vsync |
||||||
|
#exec --no-startup-id compton --config ~/.config/compton.conf -b |
||||||
|
|
||||||
|
# enable touchpad with tapping and two-finger scroll |
||||||
|
exec --no-startup-id synclient TouchpadOff=0 |
||||||
|
exec --no-startup-id synclient TapButton1=1 |
||||||
|
exec --no-startup-id synclient VertTwoFingerScroll=1 |
||||||
|
exec --no-startup-id synclient VertHysteresis=30 |
||||||
|
exec --no-startup-id synclient HorizHysteresis=30 |
||||||
|
|
||||||
|
# tune down screen colors with redshift |
||||||
|
# exec --no-startup-id redshift -l 52.43:15.15 -m randr |
||||||
|
|
||||||
|
# run network manager |
||||||
|
exec --no-startup-id nm-applet |
||||||
|
|
||||||
|
# run clipboard manager |
||||||
|
# exec --no-startup-id bash -c "/usr/bin/clipit &" |
||||||
|
exec --no-startup-id bash -c "/usr/bin/diodon &" |
||||||
|
#exec --no-startup-id clipit |
||||||
|
#exec --no-startup-id qlipper |
||||||
|
|
||||||
|
# run bluetooth manager |
||||||
|
#exec blueman-applet |
||||||
|
|
||||||
|
# run tray icon with calendar |
||||||
|
#exec gtrayicon --activate="gsimplecal" --deactivate="killall gsimplecal" --activate-icon="/usr/share/ratflow/icons/cal-activate.png" --deactivate-icon="/usr/share/ratflow/icons/cal-deactivate.png" |
||||||
|
|
||||||
|
# other autostart apps |
||||||
|
#exec terminator -p ratflow-terminator |
||||||
|
#exec pcmanfm |
||||||
|
#exec firefox |
||||||
|
#exec thunderbird |
||||||
|
|
||||||
|
|
||||||
@ -0,0 +1,7 @@ |
|||||||
|
#------------------------------------------------ |
||||||
|
# |
||||||
|
# autostart - (re)load command execution |
||||||
|
# |
||||||
|
#------------------------------------------------ |
||||||
|
|
||||||
|
|
||||||
@ -0,0 +1 @@ |
|||||||
|
for_window [class="Gsimplecal"] floating enable |
||||||
@ -0,0 +1 @@ |
|||||||
|
for_window [class="Osmo"] floating enable |
||||||
@ -0,0 +1 @@ |
|||||||
|
for_window [class="QNapi"] floating enable |
||||||
@ -0,0 +1 @@ |
|||||||
|
for_window [class="Vncviewer"] floating enable |
||||||
@ -0,0 +1 @@ |
|||||||
|
for_window [class="Yad"] floating enable |
||||||
@ -0,0 +1 @@ |
|||||||
|
for_window [class="graviglass-sim"] floating enable |
||||||
@ -0,0 +1 @@ |
|||||||
|
for_window [class="qhourglass"] floating enable |
||||||
@ -0,0 +1 @@ |
|||||||
|
for_window [class="screengrab"] floating enable |
||||||
@ -0,0 +1,47 @@ |
|||||||
|
# i3status configuration file. |
||||||
|
# see "man i3status" for documentation. |
||||||
|
|
||||||
|
# It is important that this file is edited as UTF-8. |
||||||
|
# The following line should contain a sharp s: |
||||||
|
# ß |
||||||
|
# If the above line is not correctly displayed, fix your editor first! |
||||||
|
|
||||||
|
general { |
||||||
|
colors = true |
||||||
|
interval = 5 |
||||||
|
} |
||||||
|
|
||||||
|
order += "ipv6" |
||||||
|
order += "disk /" |
||||||
|
order += "wireless _first_" |
||||||
|
order += "ethernet _first_" |
||||||
|
order += "battery all" |
||||||
|
order += "load" |
||||||
|
order += "tztime local" |
||||||
|
|
||||||
|
wireless _first_ { |
||||||
|
format_up = "W: (%quality at %essid) %ip" |
||||||
|
format_down = "W: down" |
||||||
|
} |
||||||
|
|
||||||
|
ethernet _first_ { |
||||||
|
# if you use %speed, i3status requires root privileges |
||||||
|
format_up = "E: %ip (%speed)" |
||||||
|
format_down = "E: down" |
||||||
|
} |
||||||
|
|
||||||
|
battery all { |
||||||
|
format = "%status %percentage %remaining" |
||||||
|
} |
||||||
|
|
||||||
|
tztime local { |
||||||
|
format = "%Y-%m-%d %H:%M:%S" |
||||||
|
} |
||||||
|
|
||||||
|
load { |
||||||
|
format = "%1min" |
||||||
|
} |
||||||
|
|
||||||
|
disk "/" { |
||||||
|
format = "%avail" |
||||||
|
} |
||||||
Loading…
Reference in new issue