new files from arch added

This commit is contained in:
2022-06-05 13:59:34 +05:30
parent c2401fb4ac
commit 1f34c0e4ee
13 changed files with 631 additions and 226 deletions

View File

@@ -1,7 +1,9 @@
# no borders for windows
default_border pixel 1
default_floating_border pixel 1
hide_edge_borders both
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
@@ -17,12 +19,16 @@ 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:monospace 8
# font pango:monospace 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
# Start XDG autostart .desktop files using dex. See also
# https://wiki.archlinux.org/index.php/XDG_Autostart
exec --no-startup-id dex --autostart --environment i3
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
# they are included here as an example. Modify as you see fit.
@@ -41,15 +47,15 @@ bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec light -A 5 # ixrandr --output eDP-1 --brightness 1ncrease screen brightness
bindsym XF86MonBrightnessDown exec light -U 5 # xrandr --output eDP-1 --brightness 0.5 decrease screen brightness
# Use xrandr to adjust screen brightness
bindsym XF86MonBrightnessUp exec xbacklight -inc 5
bindsym XF86MonBrightnessDown exec xbacklight -dec 5
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Return exec urxvt #i3-sensible-terminal
bindsym $mod+Return exec i3-sensible-terminal
# kill focused window
bindsym $mod+Shift+q kill
@@ -164,10 +170,10 @@ mode "resize" {
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows 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 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
@@ -185,60 +191,22 @@ bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
# bar {
# i3status
# status_command i3blocks -c ~/.config/i3/i3blocks.conf #i3status
# font pango:Hack Nerd Font 8
# position top
# status_command /home/dhanus/.local/bin/bumblebee-status \
# -m memory disk network_traffic cpu amixer battery date time\
# -t gruvbox-powerline\
# -p root.path=/ time.format="%H:%M:%S" date.format="%a, %b %d %Y"\
# amixer.interval=1s
#cpu.interval=5s battery.interval=30s memory.interval=5s
# -p <list of module parameters> \
# -t <theme>
# }
#
# Polybar
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
exec xinput set-prop 11 314 1
exec xinput set-prop 11 322 1
bar {
status_command i3status -c /home/dhanus/.config/i3status/i3status.conf
position top
font pango:Hack Nerd Font 7
}
# Custom bindings:
bindsym $mod+shift+x exec i3lock --color 000000
set $bg-color-foc #1c2423
set $bg-color #000000
# class border backgr. text indicator child_border
client.focused "$bg-color-foc" #1c2423 #ffffff #2e9ef4 #285577
client.focused_inactive "$bg-color-foc" #35f676a #ffffff #484e50 #5f676a
client.unfocused #333333 #222222 #888888 #292d2e #222222
client.urgent #2f343a #900000 #ffffff #900000 #900000
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
client.background #ffffff
bindsym $mod+b exec brave -incognito
bindsym $mod+shift+b exec brave
exec diodon
exec picom -b
exec xrdb -load /home/dhanus/.Xresources
# touch pad configuration
exec xinput set-prop 'Synaptics TM3096-006' 'libinput Tapping Enabled' 1
exec xinput set-prop 'Synaptics TM3096-006' 'libinput Natural Scrolling Enabled' 1
bindsym $mod+b exec brave-browser -incognito
bindsym $mod+shift+b exec brave-browser
bindsym Print exec gnome-screenshot
bindsym $mod+Print exec gnome-screenshot -a
# Wallpaper
# wallpaper
exec_always feh --bg-scale ~/Pictures/wallpaper15.jpg