Update i3 config and rofi theme
This commit is contained in:
@ -140,7 +140,7 @@
|
||||
close_all = mod4+shift+m
|
||||
|
||||
# redisplay last message(s)
|
||||
history = mod4+n
|
||||
#history = mod4+n
|
||||
|
||||
# context menu
|
||||
context = mod4+shift+i
|
||||
|
||||
@ -1,271 +1,309 @@
|
||||
# This file has been auto-generated by i3-config-wizard(1).
|
||||
# It will not be overwritten, so edit it as you like.
|
||||
#
|
||||
# Should you change your keyboard layout some time, delete
|
||||
# this file and re-run i3-config-wizard(1).
|
||||
#
|
||||
##### i3-config / RESLOVED #######################
|
||||
|
||||
|
||||
|
||||
# i3 config file (v4)
|
||||
#
|
||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||
##### GENERAL #####################################
|
||||
|
||||
set $mod Mod4
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:Go Mono 10
|
||||
font pango:Go Mono 8
|
||||
|
||||
# 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
|
||||
# APP VARIABLES
|
||||
set $browser qutebrowser
|
||||
set $term kitty
|
||||
|
||||
# Before i3 v4.8, we used to recommend this one as the default:
|
||||
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
||||
# The font above is very space-efficient, that is, it looks good, sharp and
|
||||
# clear in small sizes. However, its unicode glyph coverage is limited, the old
|
||||
# X core fonts rendering does not support right-to-left and this being a bitmap
|
||||
# font, it doesn’t scale on retina/hidpi displays.
|
||||
# DIR VARIABLES
|
||||
set $bin ~/bin
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
# RESIZE VARIABLES
|
||||
set $center move absolute position center
|
||||
|
||||
# FLOATING
|
||||
floating_modifier $mod
|
||||
|
||||
# Set our background
|
||||
set $thick 2
|
||||
#border_radius 2
|
||||
|
||||
# DEFAULT BORDER
|
||||
for_window [class="^.*"] border pixel $thick
|
||||
for_window [title="^.*"] border pixel $thick
|
||||
|
||||
# APPLICATION BORDERS
|
||||
for_window [class="Emacs"] border pixel $thick
|
||||
for_window [class="st"] border pixel $thick
|
||||
|
||||
# FLOATING APPLICATIONS
|
||||
#for_window [class="Orca"] floating enable
|
||||
|
||||
# GAP VARIABLES
|
||||
set $inner 10
|
||||
set $outer 14
|
||||
|
||||
# SET GAPS
|
||||
gaps inner $inner
|
||||
gaps outer $outer
|
||||
|
||||
# SET BACKGROUND
|
||||
exec feh --bg-scale ~/var/inbox/ng_photos/`ls -Ar ~/var/inbox/ng_photos | tail -n 1`
|
||||
|
||||
# polybar
|
||||
# START POLYBAR
|
||||
exec_always --no-startup-id ~/.config/polybar/launch.sh
|
||||
#
|
||||
# panel
|
||||
#bar {
|
||||
# colors {
|
||||
# background #2f343f
|
||||
# statusline #2f343f
|
||||
# separator #4b5262
|
||||
#
|
||||
# # colour of border, background, and text
|
||||
# focused_workspace #2f343f #bf616a #d8dee8
|
||||
# active_workspace #2f343f #2f343f #d8dee8
|
||||
# inactive_workspace #2f343f #2f343f #d8dee8
|
||||
# urgent_workspacei #2f343f #ebcb8b #2f343f
|
||||
# }
|
||||
# position top
|
||||
# status_command i3status
|
||||
#}
|
||||
|
||||
#exec --no-startup-id betterlockscreen -w
|
||||
#bindsym $mod+shift+x exec --no-startup-id betterlockscreen -l dimblur
|
||||
# binds
|
||||
bindsym $mod+Return exec --no-startup-id kitty
|
||||
bindsym $mod+shift+Return exec --no-startup-id qutebrowser
|
||||
bindsym $mod+shift+space exec --no-startup-id rofi-pass --insert
|
||||
bindsym $mod+m exec --no-startup-id surf play.unbl.ink/iris
|
||||
bindsym $mod+shift+m exec --no-startup-id surf https://15five-dev.atlassian.net/secure/Dashboard.jspa
|
||||
bindsym $mod+i exec --no-startup-id surf https://15five.15five.com/report/current/
|
||||
bindsym $mod+g exec --no-startup-id surf https://github.com/15five/fifteen5/pulls?utf8=%E2%9C%93&q=is%3Aopen+is%3Apr+label%3Abackend+-reviewed-by%3Apowellc
|
||||
bindsym Print exec --no-startup-id gnome-screenshot
|
||||
bindsym $mod+Delete exec --no-startup-id "i3lock-fancy"
|
||||
bindsym $mod+End exec --no-startup-id "i3lock-fancy" && systemctl suspend
|
||||
# CUSTOM BINDINGS
|
||||
#bindsym $mod+Return exec --no-startup-id kitty
|
||||
#bindsym $mod+shift+Return exec --no-startup-id qutebrowser
|
||||
#bindsym $mod+shift+space exec --no-startup-id rofi-pass --insert
|
||||
#bindsym $mod+m exec --no-startup-id surf play.unbl.ink/iris
|
||||
#bindsym $mod+shift+m exec --no-startup-id surf https://15five-dev.atlassian.net/secure/Dashboard.jspa
|
||||
#bindsym $mod+i exec --no-startup-id surf https://15five.15five.com/report/current/
|
||||
#bindsym $mod+g exec --no-startup-id surf https://github.com/15five/fifteen5/pulls?utf8=%E2%9C%93&q=is%3Aopen+is%3Apr+label%3Abackend+-reviewed-by%3Apowellc
|
||||
#bindsym Print exec --no-startup-id gnome-screenshot
|
||||
#bindsym $mod+Delete exec --no-startup-id "i3lock-fancy"
|
||||
#bindsym $mod+End exec --no-startup-id "i3lock-fancy" && systemctl suspend
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
# SCRATCHPAD
|
||||
bindsym $mod+Return exec $term
|
||||
#bindsym $mod+BackSpace scratchpad show
|
||||
#bindsym $mod+Shift+BackSpace floating enable, move position 48 px 48 px, move scratchpad
|
||||
#bindsym $mod+Ctrl+BackSpace exec $term -e tmux new-session -A -s scratch
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+space exec --no-startup-id rofi -show combi
|
||||
bindsym XF86LaunchA exec --no-startup-id rofi -show combi
|
||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
# installed.
|
||||
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||
# KILL
|
||||
bindsym $mod+Shift+q kill
|
||||
bindsym $mod+Ctrl+x exec rofi-exit
|
||||
|
||||
# change focus
|
||||
# RELOAD
|
||||
bindsym $mod+Shift+BackSpace reload
|
||||
# RESTART
|
||||
bindsym $mod+Shift+r restart
|
||||
|
||||
bindsym $mod+w layout toggle split
|
||||
bindsym $mod+Ctrl+w layout stacked
|
||||
bindsym $mod+Shift+w layout tabbed
|
||||
title_align center
|
||||
|
||||
##### MOVEMENT ####################################
|
||||
|
||||
# FOCUS
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l 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+h move left
|
||||
bindsym $mod+Shift+j move down
|
||||
bindsym $mod+Shift+k move up
|
||||
bindsym $mod+Shift+l move right
|
||||
# MOVE
|
||||
bindsym $mod+Ctrl+h move left
|
||||
bindsym $mod+Ctrl+j move down
|
||||
bindsym $mod+Ctrl+k move up
|
||||
bindsym $mod+Ctrl+l 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
|
||||
bindsym $mod+Ctrl+Left move left
|
||||
bindsym $mod+Ctrl+Down move down
|
||||
bindsym $mod+Ctrl+Up move up
|
||||
bindsym $mod+Ctrl+Right move right
|
||||
|
||||
# split in horizontal orientation
|
||||
bindsym $mod+v split h
|
||||
# RESIZE
|
||||
bindsym $mod+Shift+h resize shrink width 10px or 10 ppt
|
||||
bindsym $mod+Shift+j resize shrink height 10px or 10 ppt
|
||||
bindsym $mod+Shift+k resize grow height 10px or 10 ppt
|
||||
bindsym $mod+Shift+l resize grow width 10px or 10 ppt
|
||||
|
||||
# split in vertical orientation
|
||||
bindsym $mod+s split v
|
||||
bindsym $mod+Shift+Left resize shrink width 10px or 10 ppt
|
||||
bindsym $mod+Shift+Down resize shrink height 10px or 10 ppt
|
||||
bindsym $mod+Shift+Up resize grow height 10px or 10 ppt
|
||||
bindsym $mod+Shift+Right resize grow width 10px or 10 ppt
|
||||
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym $mod+Shift+Ctrl+h resize shrink width 1px or 1 ppt
|
||||
bindsym $mod+Shift+Ctrl+j resize shrink height 1px or 1 ppt
|
||||
bindsym $mod+Shift+Ctrl+k resize grow height 1px or 1 ppt
|
||||
bindsym $mod+Shift+Ctrl+l resize grow width 1px or 1 ppt
|
||||
|
||||
bindsym $mod+Shift+Ctrl+Left resize shrink width 1px or 1 ppt
|
||||
bindsym $mod+Shift+Ctrl+Down resize shrink height 1px or 1 ppt
|
||||
bindsym $mod+Shift+Ctrl+Up resize grow height 1px or 1 ppt
|
||||
bindsym $mod+Shift+Ctrl+Right resize grow width 1px or 1 ppt
|
||||
|
||||
# VERTICAL SPLIT
|
||||
bindsym $mod+v split v
|
||||
|
||||
# HORIZONTAL SPLIT
|
||||
bindsym $mod+b split h
|
||||
|
||||
# FULLSCREEN
|
||||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
# change container layout (stacked, tabbed, toggle split)
|
||||
#bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+q layout stacked
|
||||
bindsym $mod+e layout toggle split
|
||||
# TOGGLE FLOATING
|
||||
#bindsym $mod+escape floating toggle; $center
|
||||
|
||||
# toggle tiling / floating
|
||||
# bindsym $mod+Shift+space floating toggle
|
||||
# MODE TOGGLE
|
||||
bindsym $mod+Shift+space focus mode_toggle
|
||||
|
||||
# change focus between tiling / floating windows
|
||||
# bindsym $mod+space focus mode_toggle
|
||||
# PAPER MODE
|
||||
bindsym $mod+Ctrl+space floating toggle; resize set 700px 975px; $center
|
||||
|
||||
# focus the parent container
|
||||
bindsym $mod+a focus parent
|
||||
# CENTER FLOATING
|
||||
bindsym $mod+c $center
|
||||
|
||||
# focus the child container
|
||||
bindsym $mod+d focus child
|
||||
##### WORKSPACES ##################################
|
||||
|
||||
# switch to workspace
|
||||
#
|
||||
bindsym $mod+1 workspace number 1
|
||||
bindsym $mod+2 workspace number 2
|
||||
bindsym $mod+3 workspace number 3
|
||||
bindsym $mod+4 workspace number 4
|
||||
bindsym $mod+5 workspace number 5
|
||||
bindsym $mod+6 workspace number 6
|
||||
bindsym $mod+7 workspace number 7
|
||||
bindsym $mod+8 workspace number 8
|
||||
bindsym $mod+9 workspace number 9
|
||||
bindsym $mod+0 workspace number 10
|
||||
# WORKSPACES
|
||||
set $ws1 number 1
|
||||
set $ws2 number 2
|
||||
set $ws3 number 3
|
||||
set $ws4 number 4
|
||||
set $ws5 number 5
|
||||
set $ws6 number 6
|
||||
set $ws7 number 7
|
||||
set $ws8 number 8
|
||||
set $ws9 number 9
|
||||
#set $ws10 "10"
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace number 1
|
||||
bindsym $mod+Shift+2 move container to workspace number 2
|
||||
bindsym $mod+Shift+3 move container to workspace number 3
|
||||
bindsym $mod+Shift+4 move container to workspace number 4
|
||||
bindsym $mod+Shift+5 move container to workspace number 5
|
||||
bindsym $mod+Shift+6 move container to workspace number 6
|
||||
bindsym $mod+Shift+7 move container to workspace number 7
|
||||
bindsym $mod+Shift+8 move container to workspace number 8
|
||||
bindsym $mod+Shift+9 move container to workspace number 9
|
||||
bindsym $mod+Shift+0 move container to workspace number 10
|
||||
# SWITCH TO WORKSPACE
|
||||
bindsym $mod+1 workspace $ws1
|
||||
bindsym $mod+2 workspace $ws2
|
||||
bindsym $mod+3 workspace $ws3
|
||||
bindsym $mod+4 workspace $ws4
|
||||
bindsym $mod+5 workspace $ws5
|
||||
bindsym $mod+6 workspace $ws6
|
||||
bindsym $mod+7 workspace $ws7
|
||||
bindsym $mod+8 workspace $ws8
|
||||
bindsym $mod+9 workspace $ws9
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r 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'"
|
||||
bindsym $mod+Mod2+KP_1 workspace $ws1
|
||||
bindsym $mod+Mod2+KP_2 workspace $ws2
|
||||
bindsym $mod+Mod2+KP_3 workspace $ws3
|
||||
bindsym $mod+Mod2+KP_4 workspace $ws4
|
||||
bindsym $mod+Mod2+KP_5 workspace $ws5
|
||||
bindsym $mod+Mod2+KP_6 workspace $ws6
|
||||
bindsym $mod+Mod2+KP_7 workspace $ws7
|
||||
bindsym $mod+Mod2+KP_8 workspace $ws8
|
||||
bindsym $mod+Mod2+KP_9 workspace $ws9
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
# MOVE WINDOW TO WORKSPACE
|
||||
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||
bindsym $mod+Shift+2 move container to workspace $ws2
|
||||
bindsym $mod+Shift+3 move container to workspace $ws3
|
||||
bindsym $mod+Shift+4 move container to workspace $ws4
|
||||
bindsym $mod+Shift+5 move container to workspace $ws5
|
||||
bindsym $mod+Shift+6 move container to workspace $ws6
|
||||
bindsym $mod+Shift+7 move container to workspace $ws7
|
||||
bindsym $mod+Shift+8 move container to workspace $ws8
|
||||
bindsym $mod+Shift+9 move container to workspace $ws9
|
||||
|
||||
# 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 h resize shrink width 10 px or 10 ppt
|
||||
bindsym j resize grow height 10 px or 10 ppt
|
||||
bindsym k resize shrink height 10 px or 10 ppt
|
||||
bindsym l resize grow width 10 px or 10 ppt
|
||||
bindsym $mod+Ctrl+Mod2+KP_1 move container to workspace $ws1
|
||||
bindsym $mod+Ctrl+Mod2+KP_2 move container to workspace $ws2
|
||||
bindsym $mod+Ctrl+Mod2+KP_3 move container to workspace $ws3
|
||||
bindsym $mod+Ctrl+Mod2+KP_4 move container to workspace $ws4
|
||||
bindsym $mod+Ctrl+Mod2+KP_5 move container to workspace $ws5
|
||||
bindsym $mod+Ctrl+Mod2+KP_6 move container to workspace $ws6
|
||||
bindsym $mod+Ctrl+Mod2+KP_7 move container to workspace $ws7
|
||||
bindsym $mod+Ctrl+Mod2+KP_8 move container to workspace $ws8
|
||||
bindsym $mod+Ctrl+Mod2+KP_9 move container to workspace $ws9
|
||||
|
||||
# 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
|
||||
##### COLORS #######################################
|
||||
|
||||
# back to normal: Enter or Escape or $mod+r
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+r mode "default"
|
||||
}
|
||||
# XRESOURCES
|
||||
set $fg "#000066"
|
||||
set $bg "#666666"
|
||||
set $tx "#FFFFFF"
|
||||
set $ltx "#CCCCCC"
|
||||
|
||||
# CLASS BORDER BACK TEXT INDICATOR
|
||||
client.focused $fg $fg $tx $fg
|
||||
client.focused_inactive $fg $fg $fg $fg
|
||||
client.unfocused $bg $bg $ltx $bg
|
||||
client.urgent $bg $bg $bg $bg
|
||||
client.placeholder $bg $bg $bg $bg
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
bindsym $mod+c exec compton --config ~/.config/compton/compton.conf
|
||||
bindsym $mod+x exec pkill compton
|
||||
##### TOOLS ########################################
|
||||
|
||||
gaps inner 6 gaps outer 6
|
||||
for_window [class="^.*"] border pixel 3
|
||||
# class border backgr. text indicator child_border
|
||||
client.focused #000000 #009900 #ffffff #2e9ef4 #990000
|
||||
client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
|
||||
client.unfocused #333333 #222222 #888888 #292d2e #222222
|
||||
client.urgent #2f343a #900000 #ffffff #900000 #900000
|
||||
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
|
||||
# SCREENSHOT
|
||||
set $shots ~/var/images
|
||||
|
||||
client.background #ffffff
|
||||
bindsym $mod+Print exec maim --hidecursor $shots/$(date +%s).png
|
||||
bindsym $mod+Ctrl+Print exec maim -s $shots/$(date +%s).png
|
||||
bindsym $mod+Shift+Print exec feh $(last $shots)
|
||||
|
||||
# Setup Russian layout siwtching with Alt+Shift
|
||||
# CAST
|
||||
set $casts ~/videos/casts
|
||||
|
||||
exec --no-startup-id xrdb ~/.Xresources
|
||||
bindsym $mod+F12 exec cast
|
||||
bindsym $mod+Ctrl+F12 exec cast -s
|
||||
#bindsym $mod+Shift+F12 exec
|
||||
|
||||
## Volume control
|
||||
# Path to volume control, without trailing slash
|
||||
set $volumepath ~/.config/i3/i3-volume
|
||||
bindsym $mod+Ctrl+F11 exec anypaste -x -s -p streamable $(last $casts)
|
||||
bindsym $mod+Shift+F11 exec ffplay -loop 0 $(last $casts)
|
||||
|
||||
# Command for the status line (used with -t, requires -u)
|
||||
# ie: i3blocks, i3status
|
||||
set $statuscmd i3status
|
||||
# MEDIA CONTROLS
|
||||
bindsym $mod+slash exec amixer sset Master toggle
|
||||
bindsym $mod+comma exec amixer sset Master 5%-
|
||||
bindsym $mod+period exec amixer sset Master 5%+
|
||||
|
||||
# Signal used to update the status line (used with -u, requires -t)
|
||||
# i3blocks uses SIGRTMIN+10 by default
|
||||
# i3status uses SIGUSR1 by default
|
||||
set $statussig SIGUSR1
|
||||
bindsym $mod+Shift+slash exec amixer set Capture toggle
|
||||
bindsym $mod+Shift+comma exec amixer set Capture 5%-
|
||||
bindsym $mod+Shift+period exec amixer set Capture 5%+
|
||||
|
||||
# Amount to increase/decrease volume as a percentage (used with -i, -d)
|
||||
set $volumestep 10
|
||||
|
||||
# alsa-utils settings when not using pulseaudio-utils
|
||||
#
|
||||
# To configure a default card, see https://www.alsa-project.org/main/index.php/Asoundrc
|
||||
#
|
||||
# Card number to control. (used with -a and -c)
|
||||
# If not specified, i3-volume will let `amixer` use a default.
|
||||
# List cards: aplay -l
|
||||
#set $alsacard 1
|
||||
|
||||
# Uncomment to use alsa-utils (append "-c $alsacard" without quotes to override default card)
|
||||
#bindsym XF86AudioRaiseVolume exec $volumepath/volume -anp -i $volumestep -t $statuscmd -u $statussig
|
||||
#bindsym XF86AudioLowerVolume exec $volumepath/volume -anp -d $volumestep -t $statuscmd -u $statussig
|
||||
#bindsym XF86AudioMute exec $volumepath/volume -amn -t $statuscmd -u $statussig
|
||||
|
||||
# pulseaudio-utils settings when not using alsa-utils
|
||||
#
|
||||
# Symbolic name for sink (numeric index not supported) (used with -s $sinkname)
|
||||
# Recommended: comment out this setting and omit the -s option to use default sink
|
||||
# List sink names: pacmd list-sinks | awk -F "[<>]" '/^\s+name: <.*>/{print $2}'
|
||||
#set $sinkname alsa_output.pci-0000_00_1b.0.analog-stereo
|
||||
|
||||
# Using pulseaudio-utils (append "-s $sinkname" without quotes to override default sink)
|
||||
bindsym XF86AudioRaiseVolume exec $volumepath/volume -np -i $volumestep -t $statuscmd -u $statussig
|
||||
bindsym XF86AudioLowerVolume exec $volumepath/volume -np -d $volumestep -t $statuscmd -u $statussig
|
||||
bindsym $mod+y exec $volumepath/volume -np -i $volumestep -t $statuscmd -u $statussig
|
||||
bindsym $mod+t exec $volumepath/volume -np -d $volumestep -t $statuscmd -u $statussig
|
||||
bindsym XF86AudioMute exec $volumepath/volume -mn -t $statuscmd -u $statussig
|
||||
bindsym XF86AudioRaiseVolume exec amixer sset Master 5%+
|
||||
bindsym XF86AudioLowerVolume exec amixer sset Master 5%-
|
||||
bindsym XF86AudioMute exec amixer sset Master toggle
|
||||
bindsym XF86AudioMicMute exec amixer sset Capture toggle
|
||||
|
||||
# Sreen brightness controls
|
||||
bindsym XF86MonBrightnessUp exec ~/.config/i3/bright.sh -u # increase screen brightness
|
||||
bindsym XF86MonBrightnessDown exec ~/.config/i3/bright.sh -d # decrease screen brightness
|
||||
bindsym XF86Search exec ~/.config/i3/bright.sh 1 # decrease screen brightness
|
||||
|
||||
bindsym XF86Explorer exec arandr
|
||||
# ROFI
|
||||
bindsym $mod+Tab exec rofi -show window -theme list -display-window ""
|
||||
bindsym $mod+space exec rofi -show run -theme list
|
||||
#bindsym $mod+Shift+d exec
|
||||
|
||||
assign [class="Emacs"] number 1
|
||||
assign [class="qutebrowser"] number 2
|
||||
assign [class="kitty"] number 3
|
||||
assign [class="Ripcord"] number 4
|
||||
assign [class="Firefox"] number 4
|
||||
assign [class="calibre"] number 5
|
||||
assign [class="evince"] number 5
|
||||
# BACKGROUND
|
||||
#exec_always hsetroot -add "#c79081" -add "#dfa579" -gradient 0
|
||||
exec_always hsetroot -add "#DAD299" -add "#B0DAB9" -gradient 0
|
||||
#exec_always hsetroot -solid "#c79081"
|
||||
|
||||
##### APP BINDS ###################################
|
||||
|
||||
# Add names to workspaces
|
||||
exec_always --no-startup-id exec i3-workspace-names-daemon
|
||||
bindsym $mod+n exec $browser
|
||||
bindsym $mod+Ctrl+n exec rofi-search "$browser --new-window"
|
||||
bindsym $mod+Shift+n exec rofi-web "$browser --new-window"
|
||||
|
||||
#bindsym $mod+y exec
|
||||
#bindsym $mod+Ctrl+y exec
|
||||
#bindsym $mod+Shift+y exec
|
||||
|
||||
#bindsym $mod+u exec dolphin-emu
|
||||
#bindsym $mod+Ctrl+u exec
|
||||
#bindsym $mod+Shift+u exec
|
||||
|
||||
bindsym $mod+i exec emacsclient -c
|
||||
bindsym $mod+Ctrl+i exec pkill emacs && emacs --daemon && emacsclient -c
|
||||
bindsym $mod+Shift+i exec emacs -ib 16
|
||||
|
||||
bindsym $mod+o exec rofi-now
|
||||
bindsym $mod+Ctrl+o exec rofi-vol
|
||||
bindsym $mod+Shift+o exec rofi-bat
|
||||
|
||||
bindsym $mod+m exec surf https://play.unbl.ink/iris
|
||||
bindsym $mod+Shift+p exec surf https://15five-dev.atlassian.net/secure/Dashboard.jspa
|
||||
##### LAUNCH ######################################
|
||||
|
||||
# STARTUP
|
||||
exec --no-startup-id emacs --daemon
|
||||
exec --no-startup-id unclutter -grab
|
||||
|
||||
# RELOAD
|
||||
exec_always --no-startup-id ~/code/compton/build/src/compton
|
||||
#exec_always --no-startup-id compton
|
||||
exec_always --no-startup-id dunst
|
||||
exec_always xrdb --merge ~/.Xresoureces
|
||||
#exec_always xrandr --auto --output eDP-1 --below HDMI-1 --auto
|
||||
|
||||
# Setup Russian layout siwtching with Alt+Shift
|
||||
exec --no-startup-id xrdb ~/.Xresources
|
||||
|
||||
## Volume control
|
||||
# Path to volume control, without trailing slash
|
||||
set $volumepath ~/.config/i3/i3-volume
|
||||
|
||||
41
rofi/.config/rofi/combi.rasi
Normal file
41
rofi/.config/rofi/combi.rasi
Normal file
@ -0,0 +1,41 @@
|
||||
/* -*- mode: css; -*- */
|
||||
|
||||
/***** Rofi / RESLOVED ****************************/
|
||||
|
||||
configuration {
|
||||
window-format: "{n}";
|
||||
}
|
||||
|
||||
#window {
|
||||
anchor: north;
|
||||
location: north;
|
||||
width: 100%;
|
||||
padding: 35px 6px 0px 15px;
|
||||
children: [ horibox ];
|
||||
}
|
||||
|
||||
#horibox {
|
||||
orientation: horizontal;
|
||||
children: [ entry, listview ];
|
||||
}
|
||||
|
||||
#listview {
|
||||
layout: horizontal;
|
||||
spacing: 4px;
|
||||
lines: 100;
|
||||
}
|
||||
|
||||
#entry {
|
||||
color: rgba(0, 0, 0, 0);
|
||||
expand: false;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
#element {
|
||||
padding-right: 2px;
|
||||
color: #ffffff44;
|
||||
}
|
||||
|
||||
#element selected {
|
||||
color: #ffffffff;
|
||||
}
|
||||
48
rofi/.config/rofi/config.rasi
Normal file
48
rofi/.config/rofi/config.rasi
Normal file
@ -0,0 +1,48 @@
|
||||
/* -*- mode: css; -*- */
|
||||
|
||||
/***** Rofi / RESLOVED ****************************/
|
||||
|
||||
configuration {
|
||||
window-format: "{n}";
|
||||
}
|
||||
|
||||
* {
|
||||
background-color: #1b1d1e00;
|
||||
text-color: #ffffff;
|
||||
font: "Go Mono 10";
|
||||
}
|
||||
|
||||
#window {
|
||||
anchor: north;
|
||||
location: north;
|
||||
width: 100%;
|
||||
padding: 14px 48px 0 48px;
|
||||
children: [ horibox ];
|
||||
}
|
||||
|
||||
#horibox {
|
||||
orientation: horizontal;
|
||||
children: [ prompt, entry, listview ];
|
||||
}
|
||||
|
||||
#listview {
|
||||
layout: horizontal;
|
||||
spacing: 4px;
|
||||
lines: 100;
|
||||
}
|
||||
|
||||
#entry {
|
||||
padding: 0px 4px;
|
||||
expand: false;
|
||||
width: 10em;
|
||||
font: "Product Sans Bold 14";
|
||||
}
|
||||
|
||||
#element {
|
||||
padding: 0px 2px;
|
||||
}
|
||||
|
||||
#element selected {
|
||||
background-color: #f8f8f800;
|
||||
color: #ffffff;
|
||||
}
|
||||
32
rofi/.config/rofi/entry.rasi
Normal file
32
rofi/.config/rofi/entry.rasi
Normal file
@ -0,0 +1,32 @@
|
||||
/* -*- mode: css; -*- */
|
||||
|
||||
/***** Rofi / RESLOVED ****************************/
|
||||
|
||||
configuration {
|
||||
window-format: "{n}";
|
||||
}
|
||||
|
||||
* {
|
||||
background-color: #1b1d1e00;
|
||||
border-color: #ffffff44;
|
||||
text-color: #ffffffff;
|
||||
font: "Go Mono 10";
|
||||
}
|
||||
|
||||
#window {
|
||||
anchor: south;
|
||||
location: south;
|
||||
width: 100%;
|
||||
padding: 35px 6px 0px 15px;
|
||||
children: [ horibox ];
|
||||
}
|
||||
|
||||
#horibox {
|
||||
orientation: horizontal;
|
||||
children: [ entry ];
|
||||
}
|
||||
|
||||
#entry {
|
||||
expand: false;
|
||||
width: 100%;
|
||||
}
|
||||
41
rofi/.config/rofi/list.rasi
Normal file
41
rofi/.config/rofi/list.rasi
Normal file
@ -0,0 +1,41 @@
|
||||
/* -*- mode: css; -*- */
|
||||
|
||||
/***** Rofi / RESLOVED ****************************/
|
||||
|
||||
configuration {
|
||||
window-format: "{n}";
|
||||
}
|
||||
|
||||
#window {
|
||||
anchor: north;
|
||||
location: north;
|
||||
width: 100%;
|
||||
padding: 35px 6px 0px 15px;
|
||||
children: [ horibox ];
|
||||
}
|
||||
|
||||
#horibox {
|
||||
orientation: horizontal;
|
||||
children: [ entry, listview ];
|
||||
}
|
||||
|
||||
#listview {
|
||||
layout: horizontal;
|
||||
spacing: 4px;
|
||||
lines: 100;
|
||||
}
|
||||
|
||||
#entry {
|
||||
color: rgba(0, 0, 0, 0);
|
||||
expand: false;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
#element {
|
||||
padding-right: 2px;
|
||||
color: #ffffff44;
|
||||
}
|
||||
|
||||
#element selected {
|
||||
color: #ffffffff;
|
||||
}
|
||||
21
rofi/.config/rofi/output.rasi
Normal file
21
rofi/.config/rofi/output.rasi
Normal file
@ -0,0 +1,21 @@
|
||||
/***** Rofi / RESLOVED ****************************/
|
||||
|
||||
configuration {
|
||||
window-format: "{n}";
|
||||
}
|
||||
|
||||
* {
|
||||
background-color: #1b1d1e00;
|
||||
border-color: #ffffff44;
|
||||
text-color: #ffffffff;
|
||||
font: "Go Mono 10";
|
||||
}
|
||||
|
||||
#window {
|
||||
anchor: south;
|
||||
location: south;
|
||||
width: 100%;
|
||||
padding: 14px 48px 16px 48px;
|
||||
}
|
||||
|
||||
/* -*- mode: css; -*- */
|
||||
Reference in New Issue
Block a user