Remove master +- in awesome
This commit is contained in:
parent
b18dc98966
commit
a066c28b67
3
.Xmodmap
3
.Xmodmap
|
@ -1 +1,4 @@
|
||||||
|
keycode 94 = grave asciitilde dead_grave dead_tilde grave asciitilde
|
||||||
|
keycode 49 = less greater less greater bar brokenbar bar brokenbar
|
||||||
|
keycode 49 = Shift_L
|
||||||
keycode 108 = Multi_key
|
keycode 108 = Multi_key
|
||||||
|
|
|
@ -20,7 +20,6 @@ local dpi = beautiful.xresources.apply_dpi
|
||||||
|
|
||||||
|
|
||||||
local modkey = "Mod4"
|
local modkey = "Mod4"
|
||||||
local altkey = "Shift"
|
|
||||||
|
|
||||||
-- define module table
|
-- define module table
|
||||||
local keys = {}
|
local keys = {}
|
||||||
|
@ -281,6 +280,13 @@ keys.globalkeys = gears.table.join(
|
||||||
{description = "toggle exit screen", group = "hotkeys"}
|
{description = "toggle exit screen", group = "hotkeys"}
|
||||||
),
|
),
|
||||||
|
|
||||||
|
awful.key({}, "XF86Calculator",
|
||||||
|
function()
|
||||||
|
awful.util.spawn("rofi -show calc -modi calc -no-show-match -no-sort -calc-command \"echo -n '{result}' | xsel -i\"")
|
||||||
|
end,
|
||||||
|
{description = "Launch the calculator", group = "hotkeys"}
|
||||||
|
),
|
||||||
|
|
||||||
-- =========================================
|
-- =========================================
|
||||||
-- CLIENT FOCUSING
|
-- CLIENT FOCUSING
|
||||||
-- =========================================
|
-- =========================================
|
||||||
|
@ -415,62 +421,6 @@ keys.globalkeys = gears.table.join(
|
||||||
end
|
end
|
||||||
),
|
),
|
||||||
|
|
||||||
-- =========================================
|
|
||||||
-- NUMBER OF MASTER / COLUMN CLIENTS
|
|
||||||
-- =========================================
|
|
||||||
|
|
||||||
-- Number of master clients
|
|
||||||
awful.key({modkey, altkey}, "h",
|
|
||||||
function()
|
|
||||||
awful.tag.incnmaster( 1, nil, true)
|
|
||||||
end,
|
|
||||||
{description = "increase the number of master clients", group = "layout"}
|
|
||||||
),
|
|
||||||
awful.key({ modkey, altkey }, "l",
|
|
||||||
function()
|
|
||||||
awful.tag.incnmaster(-1, nil, true)
|
|
||||||
end,
|
|
||||||
{description = "decrease the number of master clients", group = "layout"}
|
|
||||||
),
|
|
||||||
awful.key({ modkey, altkey }, "Left",
|
|
||||||
function()
|
|
||||||
awful.tag.incnmaster( 1, nil, true)
|
|
||||||
end,
|
|
||||||
{description = "increase the number of master clients", group = "layout"}
|
|
||||||
),
|
|
||||||
awful.key({ modkey, altkey }, "Right",
|
|
||||||
function()
|
|
||||||
awful.tag.incnmaster(-1, nil, true)
|
|
||||||
end,
|
|
||||||
{description = "decrease the number of master clients", group = "layout"}
|
|
||||||
),
|
|
||||||
|
|
||||||
-- Number of columns
|
|
||||||
awful.key({modkey, altkey}, "k",
|
|
||||||
function()
|
|
||||||
awful.tag.incncol(1, nil, true)
|
|
||||||
end,
|
|
||||||
{description = "increase the number of columns", group = "layout"}
|
|
||||||
),
|
|
||||||
awful.key({modkey, altkey}, "j",
|
|
||||||
function()
|
|
||||||
awful.tag.incncol(-1, nil, true)
|
|
||||||
end,
|
|
||||||
{description = "decrease the number of columns", group = "layout"}
|
|
||||||
),
|
|
||||||
awful.key({modkey, altkey}, "Up",
|
|
||||||
function()
|
|
||||||
awful.tag.incncol(1, nil, true)
|
|
||||||
end,
|
|
||||||
{description = "increase the number of columns", group = "layout"}
|
|
||||||
),
|
|
||||||
awful.key({modkey, altkey}, "Down",
|
|
||||||
function()
|
|
||||||
awful.tag.incncol(-1, nil, true)
|
|
||||||
end,
|
|
||||||
{description = "decrease the number of columns", group = "layout"}
|
|
||||||
),
|
|
||||||
|
|
||||||
-- =========================================
|
-- =========================================
|
||||||
-- GAP CONTROL
|
-- GAP CONTROL
|
||||||
-- =========================================
|
-- =========================================
|
||||||
|
@ -575,14 +525,6 @@ keys.clientkeys = gears.table.join(
|
||||||
end
|
end
|
||||||
),
|
),
|
||||||
|
|
||||||
-- toggle fullscreen
|
|
||||||
-- awful.key({modkey}, "f",
|
|
||||||
-- function(c)
|
|
||||||
-- c.fullscreen = not c.fullscreen
|
|
||||||
-- end,
|
|
||||||
-- {description = "toggle fullscreen", group = "client"}
|
|
||||||
-- ),
|
|
||||||
|
|
||||||
-- close client
|
-- close client
|
||||||
awful.key({modkey}, "q",
|
awful.key({modkey}, "q",
|
||||||
function(c)
|
function(c)
|
||||||
|
|
|
@ -6,6 +6,5 @@ if [[ -z "$1" ]]; then
|
||||||
else
|
else
|
||||||
killall rofi
|
killall rofi
|
||||||
# so rofi doesn't complain "can't launch rofi inside rofi"
|
# so rofi doesn't complain "can't launch rofi inside rofi"
|
||||||
# rofi -show calc -modi calc -no-show-match -no-sort -calc-command "echo -n '{result}' | xclip -selection clipboard"
|
rofi -show calc -modi calc -no-show-match -no-sort -calc-command "echo -n '{result}' | xsel -i"
|
||||||
rofi -show calc -modi calc -no-show-match -no-sort -calc-command "echo -n '{result}' | xclip -selection clipboard"
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue