latest changes for ycm at cistup made

This commit is contained in:
2023-03-15 18:24:30 +05:30
parent 0e3f91ba2b
commit 0753b024b3
6 changed files with 376 additions and 60 deletions

View File

@@ -1,13 +1,3 @@
# no borders for windows
default_border pixel 1
default_floating_border pixel 1
hide_edge_borders both
exec_always picom --config /home/dhanus/.config/picom/picom.conf -b
# notification daemon
exec_always dunst
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
@@ -15,6 +5,13 @@ exec_always dunst
# this file and re-run i3-config-wizard(1).
#
default_border pixel 1
default_floating_border pixel 1
hide_edge_borders both
exec_always picom --config /home/dhanus/.config/picom/picom.conf -b
exec_always dunst
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
@@ -23,11 +20,11 @@ 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
#font pango:DejaVu Sans Mono 8
# Start XDG autostart .desktop files using dex. See also
# https://wiki.archlinux.org/index.php/XDG_Autostart
@@ -46,26 +43,26 @@ exec --no-startup-id nm-applet
# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
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
# Use xrandr to adjust screen brightness
bindsym XF86MonBrightnessUp exec xbacklight -inc 2
bindsym XF86MonBrightnessDown exec xbacklight -dec 2
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# move tiling windows via drag & drop by left-clicking into the title bar,
# or left-clicking anywhere into the window while holding the floating modifier.
# tiling_drag modifier titlebar
# start a terminal
bindsym $mod+Return exec st # i3-sensible-terminal
bindsym $mod+Return exec alacritty
# kill focused window
bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id dmenu_run -sb '#825702'
bindsym $mod+d exec --no-startup-id dmenu_run
# A more modern dmenu replacement is rofi:
# bindcode $mod+40 exec "rofi -modi drun,run -show drun"
# There also is i3-dmenu-desktop which only displays applications shipping a
@@ -193,40 +190,26 @@ mode "resize" {
bindsym $mod+r mode "resize"
## gsimplecal must be on the top right ##
for_window [instance="gsimplecal"] move absolute position 1140 px 20 px
for_window [class="Cisco AnyConnect Secure Mobility Client"] floating enable
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
#bar {
# status_command i3status -c /home/dhanus/.config/i3status/i3status.conf
# position top
# font pango:Hack Nerd Font 8
# colors{
# background #1d1f21
# }
#}
bar {
status_command i3status -c /home/dhanus/.config/i3status/i3status.conf
position top
colors{
background #1d1f21
statusline #c5c8c6
focused_workspace #c5c8c6 #052003
}
}
## polybar ##
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
## custom bindings ##
bindsym $mod+shift+x exec i3lock -i /home/dhanus/Pictures/Wallpapers/wallpaper4.png
bindsym $mod+shift+x exec wm-lock
bindsym $mod+b exec brave-browser-beta -incognito
bindsym $mod+shift+b exec brave-browser-beta
bindsym $mod+g exec st ranger
bindsym $mod+p exec (pgrep picom && pkill picom) || picom --config /home/dhanus/.config/picom/picom.conf
bindsym $mod+c exec run
bindsym $mod+Print exec screenshot
bindsym Print exec screenshot s
# 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+p exec screenshot
bindsym Print exec screenshot s
# wallpaper
exec_always feh --bg-scale /home/dhanus/Pictures/Wallpapers/flying-whales-gojira.jpg
exec_always feh --bg-scale /home/dhanus/Pictures/Wallpapers/arch.png